Hmm. Yes, I could certainly shorten the line coordinates for fewer decimals, but I'm guessing that's not the heart of my problem here.
And, unfortunately, being a novice, I don't know (even after looking at the two examples) what is meant precisely by 'encoding the polylines'. Could someone explain a bit more, if and how this is really likely to speed up load time in IE? On Apr 16, 1:11 pm, "[email protected]" <[email protected]> wrote: > On Apr 16, 10:53 am, Brett <[email protected]> wrote: > > > > > Hello. Just wanted to say thanks ahead of time to everyone that posts > > answers on these threads (esp Mike Williams). I've learned a TON > > recently. > > > Anyhow, I'm very new to websites and coding (social scientist by > > trade), so I could be missing something basic.. I've created several > > google maps reading from xml files now, and they all seem to work > > pretty well on IE7 (and even better on Firefox). > > > However, my latest is causing a major headache. The page is: > > >http://www.terevaka.net/dc/databases/rosendahl_1994/Lapakahi.html > > > My problems are: > > 1) Load time: Load time in Firefox is about 3-10 seconds on my > > machine. Load time in IE7 or IE8 is about 60 seconds! Other maps of > > mine have had differences but nothing as drastic as this. One other > > source has told me that load time for his machine on the same page in > > IE7/8 is much better than on mine, but still doesnt compete with > > Firefox. > > 2) Sometimes in Firefox I have to refresh a few times before I get a > > 'clean' load. By that i mean other times the map and data loads, but > > the browser continues to process indefinitely (making the map > > unusable). > > 3) In IE8 clicking on lines produces no infowindow pop-ups. > > > --I've tried to read as much as possible before posting. I don't think > > it has to do with IE loading images for markers, because the custom > > marker images are the first thing to load, and if i strip the xml file > > down to just points (as opposed to points and lines), it's a pretty > > quick load in FF or IE. > > > --I don't think it has to do with each line storing mouseover and > > mouseout functions because i tried commenting those out, and the IE > > load time is still around 50-60 seconds. > > > So, it must have something to do with the lines i'm loading...? Too > > much for IE? > > 1. try encoding the polylines > Compare these 2 > polylines:http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline.xmlhttp://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline_e... > > 2. you could speed up the loading of the xml file by making it smaller > (you don't need 11 decimals of accuracy for the latitude and > longitude). > > -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
