Hello!

What is the most accurate way to calculate the distance covered by a
complex polyline?

I think it's possible to add all segment lengths in this manner but I
doubt that this is very accurate according to the number and the
proximity of the points in the polyline.

segmentLength = point1.distanceFrom(point2)

Here is an example of a bicycle ride I have tracked using a GPS. My
goal is to display stats that describe that activity. Zoom out a
little bit to view it as a whole.

http://www.activitymapper.com/Maps/Kml/3


Thank you very much!

Marc Lacoursière
RooSoft Computing inc.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to