Where do you get the routes? I've seen cross-country routes with 50k vertices or more which can be simplified down to 5k vertices without noticeable effect.
If you use the directions renderer in v3, the server will simplify and pre-index the routes for fast rendering. If you have your own route data and pass it down as JSON, the v3 Polyline class will simplify and index the route for fast rendering, but that simplification takes time. If you want to render your own routes as fast as possible, you might want to perform polyline simplification in your server so that the browser has fewer vertices to consider. I believe there are libraries you can use for this. Cheers Ben On 3 Apr 2010 17:31, "The Net Duck" <[email protected]> wrote: Wow Ben thanks for the help, Well I have observed this one my local machine. I am doing road routes by converting them from GeoRuby objects to json then creating polyline objects out of them. I have some routes that go from St. Louis to california so that is a lot of different coordinates that has to get passed so I'm trying to thin it down before it gets drawn. Are you saying that this automatically happens? Or is this something I need to implement. - The Net Duck On Apr 2, 7:31 pm, Ben Appleton <[email protected]> wrote: > You can simplify polylines using the... > On 3 Apr 2010 10:07, "The Net Duck" <[email protected]> wrote: > > HI > I would like to be able... > [email protected]<google-maps-js-api-v3%[email protected]><google-maps-js-api-v3%2B [email protected]> > . > For more options, visit this group athttp:// groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript AP... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
