Wasn't it uncleshigga who wrote:
>
>Hi,
>
>i have a map on my website (http://asia.ap2k.de) and I want to display
>the overall distance or lenght of the polyline on the map. Can any of
>you guys support me with some help?

var poly = new GPolyline(pts,colour,width);
var kilometers = poly.getLength()/1000;
map.addOverlay(poly);

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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