You can do 

yourPolyLine.getPath().getArray();



Em sábado, 17 de abril de 2010 14:12:25 UTC-3, Mark escreveu:
>
> I am using the polyline arrays tutorial at 
> http://code.google.com/apis/maps/documentation/v3/overlays.html#Polylines 
>
> 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 google-map...@googlegroups.com 
> <javascript:>. 
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com <javascript:>. 
> For more options, visit this group at 
> http://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 unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to