Hello Mark,

i found a response here :

http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/fa1347fc6e15b234/aa5feb1665e30d48?lnk=gst&q=polyline+getPath#aa5feb1665e30d48

  var coordinates = [];
  poly.getPath().forEach(function(latLng) {
    coordinates.push(latLng);
  });

...

On 17 avr, 19:12, Mark <[email protected]> wrote:
> I am using thepolylinearrays tutorial 
> athttp://code.google.com/apis/maps/documentation/v3/overlays.html#Polyl...
>
> I can not seem to get all of the coordinates into a form - at the
> moment just the latest click show -
> document.getElementById('textarea').value =path.getAt(pathCoordinates.length, 
> event.latLng);
>
> How can I return all of the coordinates like "(54,0), (53,0)" etc?
>
> --
> 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 
> 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 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.

Reply via email to