Mike, Just on this. I'm not sure if this is the case. I am at work now which has a 100mb connection. I have ran the map on the hospital server, which is not externally live yet, which is why i hosted in on tymonrovers.com just so you guys could view it.
So I have the locations.xml and map.html running on www.stjames.ie server and i have the overlay.jpg on tymon rovers still. It still takes the same time to load. I then took away the overlay altogether and the page itself still takes a long period to load even the original pink google version of the hospital. Down the bottom it says tranferring data from mt2.google.com. Could it be that we just have to wait for the google site to transfer everything over? One final query on this.... If you just load the overlay, then you will see that it loads immediately, without delay http://www.tymonrovers.com/attachments/Patrick/IMap/overlay.jpg Wouldn't that suggest that it is not the jpg image which is the problem. i agree that it is probably a bit big at 169KB, but in original design, I was using a compuserve gif, saved straight from photoshop, but the delay was still there. My most important thing I want to achieve in this issue, is that I do not want to see the orange / pink background at all. Then secondly, I would like the map to load as quick as possible. Again, it seems to be a lot slower in IE rather than firefox. Cheers Mike. On Feb 13, 7:11 am, Mike Williams <[email protected]> wrote: > Wasn't it Patrick who wrote: > > >2). The map overall seems to load very slow. Sometimes it can be about > >40-50 seconds loading the map page. I seem to notice it is faster with > >firefox but still, i would like it to load immediate or as close as. I > >noticed on other sites with google maps, that this is happening also to > >others. The image used in overlay is <- 200kb so it seems to be > >delayed from google servers maybe? I see the egg timer appear > >sometimes also while waiting and screen freezes while waiting on map to > >load until it eventually loads. > > >3). When map loads, I always get the original google maps version of > >the hospital and a few seconds later, my overlay map will kick in and > >replace the google version. Is there a way, that when I load the map > >page, that googles horrible orangey / pink colour version of the > >hospital map, will not load for people to see. > > One problem is that your overlay.jpg image is quite large. A 169kb file > is going to take a while to download (in my tests it took 1.565 seconds > to download over a 1.5 Megabit/sec ADSL connection). > > JPG format achieves good compression for things like photos, but is > pretty poor at compressing illustrations like this. GIF format would be > good for compressing large areas of plain colour. If you've got an > original copy of the image in a lossless format, try outputting it as a > GIF file and see how small that is. [If you take your existing JPG image > and export that as a GIF file, then unfortunately the file size > increases, because the GIF file preserves the tiny variations in colour > that were created by saving the image in JPG format.] > > Some browsers also take a performance hit when an image file fails to > load. In this case your body_bg.png file throws a 404 error: > http://www.tymonrovers.com/images/body_bg.png > > I wasn't able to reproduce the 30-40 seconds loading time (I didn't try > using a dialup connection). > > If you have the capability to create an alias for your subdomain, then > you can get an improvement in MSIE by moving overlay.jpg there. What > happens is that MSIE will only open two connections to any one > (sub)domain, and this page happens to end up with a bottleneck on those > connections, and you sometimes get a gridlock situation between the two > large files overlay.jpg and locations.xml. Due to security restrictions, > you can't move locations.xml but if you can create an alias, you could > move overlay.jpg to, say, > http://data.tymonrovers.com/attachments/Patrick/IMap/overlay.jpg > and MSIE would open a separate connection to that subdomain. > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
