Wasn't it Esa who wrote: > >There is getLength() method of GPolyline. >http://code.google.com/apis/maps/documentation/reference.html#GPolyline > >More polyline methods you get with Mike's EPoly library >http://econym.org.uk/gmap/epoly.htm
Both of those simply add the .distanceFrom() of each pair of vertices. However, I can't see anything wrong with that for measuring Marc's bicycle route. One problem to watch out for when measuring a GPS track this way is that many GPS systems will record small movements when the vehicle is stationary, so you may need to pre-process the track to detect and remove pauses for things like traffic lights. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
