On Feb 9, 3:37 pm, Max Bittman <[email protected]> wrote: > Hello all, > I've read a few posts about maps optimizations, and I'm reading > through a few of the answers that the gurus have handed out, but I was > hoping to get some personal advice regarding the site that I've built. > The page is > at:http://www-scf.usc.edu/~bittman/GrandCanyonPreliminaries/20409allwork... > > On my computer (XP laptop ~4 yrs old) and with my internet connection > (my friends wireless dsl i believe) in Firefox the map loads within 5 > seconds or so, the routes all load within about 10-20 seconds later > and then the site reads feeds for the next 30sec to a minute while > still being somewhat manipulable (I'm not using any sort of real > timer, these are best guess approximations). In IE the page takes > forever to load and often freezes the browser. > I was hoping to get responses from the group as to how long it takes > on their systems, and if they think that it would be acceptable (from > a performance and function--not style--point of view) on a commercial > website. > I know that one of the ways that I could speed up performance would be > to generate the polylines in a manner other than GDirections. I've > been reading about encoded polylines, but the problem is that my > collection of points is more like a collection of waypoints and I > would like the lines to be smooth and along the roads as they are now. > Is there some way that I could generate a list of points that > correlate well enough to these routes that if i were to create a > polyline from them they would appear as they do now? > I don't really need the other stuff from GDirections (the list of turns, etc) > so I > think i should avoid using it if i can.
You can capture the polyline output by GDirections (as long as you are going to display it on a map). I use this page: http://www.geocodezip.com/example_geo2.asp It will generate the xml I use for both unencoded and encoded polylines (click the "get polyline xml" button). That is how I created these polylines following I5 in California: http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline.xml http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline_encoded.xml -- Larry > Another problem is the load time for all of the hotel markers. I > imagine that a clusterer would help here? > Any suggestions at all really would be great. > > Thanks, > Max --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
