A while ago Keith Golden posted on the maps api blog a way to allow users to create a polyline.
http://googlemapsapi.blogspot.com/2008/05/love-my-maps-use-its-line-and-shape.html Direct link to example: http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html This method also produced a distance. It appears however that the distance only shows up if the line is closed or after an open loop has been created, a segment is changed. This happens in both Firefox 3 and IE 8. Can anyone point out why it doesn't give the distance if you just create a straight line (not a closed segment) on the first try? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
