The main problem you have is the size of the overlays. I've seen at least 2 of them 3.5 MB each. That's huge!
If you break them up into tiles, and load them as a GTileLayerOverlay it would go much faster. When you load them as one big image that then gets scaled down on display, you're sending a truckload of unnecessary bytes to the browser. Search the group, (and the Mapki), for a "tile cutter". You'd first scale them and then cut tiles for each zoom level. To give you an idea of the difference in loading time, take a look at this map: http://maps.forum.nu/gm_main.html?lat=36.949892&lon=-99.667969&z=4&mType=13 Same area of coverage, much faster loading. BTW, check your opening <html> tag. -- Marcelo - http://maps.forum.nu -- On Jan 30, 11:15 am, Seth <[email protected]> wrote: > Alright guys, I have been working on a project for the past few > months, I have learned quite a bit, but also I have made quite a list > of problems. > > Here is the site for reference (coverageviewer.info) Now, most of what > I am talking about is on the "Beta Viewer" page. Here are my > questions... > > -Is there any way to have a layer (Map) load and show a progress bar > when called up (via a Radio Button or Check Box) Currently all 7 > layers load when the page is loaded and all but one are hidden. > Basically I want to be able to toggle between the different coverage > maps and overlay the Spectrum maps. If I cant load on call, is it > possible at all to display some kind of progress bar so it doesn't > look like nothing is loading? > > -This is the big one, currently I am using semi-transparent PNG images > so that the roads layer is visible underneath. While having the > transparency adds ability to see aerials and the other maps, zooming > in causes the coverage layer to dissapear. So, a.) Is there a way to > use a GIF overlay (smaller file, faster load) and just have the "Map > Layer" from the Aerials be overlayed? I know there has been some > discussions on this before. or b.) not have the maps dissapear when > zooming in. For reference, it appears that the maps stay no matter how > far you zoom in on Safari only. I don't know if that is because of it > being Webkit. I don't know any other Webkit browsers to test that out > on. > > -The layers just don't even load in IE 7. I have spent so much time > trying to make this work in IE, I am sick of having it always work in > everything BUT IE. So thats pretty much an "if its easy or have time" > thing. I'm not going out of my way for IE. > > -Other than that anything else that would make the site work better, > load faster, be more stable and be overall easier to use. I assume > most of you have cell phones, so I think you can see the idea of the > site, basically, if you were looking for that information, what would > you expect from that site? Its not meant to be anything like a company > or anything, it was just something I threw together in my spare time > for the people over at HoFo, and it kinda became a project and > somebody gave me some server space, so, its kinda panned out. Its more > really a learning experience. :-) > > -Also, one side note. I was working on the side to try and make an > iPhone version of this. I took some of the stuff from these boards on > making a full screen deal that can be navigational easier on the > iPhone. Everything works okay, I just can't get the layers to load. If > light could be shed on that it would be ncie too. :-) I have a test > site loaded up at coverageviewer.info/iphone/ > > Thanks again! I know I have quite a bit of questions, but ANY help on > anything would be very appreciated. I would love to add other carriers > at some time, but unless I can figure out a way to add more layers > without loading them and hiding them, I can't go much further. The > page already takes forever to load as it is. > > Seth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
