Hey Roy, Listen to the "foocreated" events... "overlaycreated" to get an event for all overlays, or just "polylinecreated" for only polylines.
google.maps.event.addListener(drawingManager, 'polylinecreated', function(polyline) { console.log(polyline.getPath()); }); google.maps.event.addListener(drawingManager, 'overlaycreated', function(e) { if (e.type == google.maps.drawing.OverlayType.POLYLINE) { console.log(e.overlay.getPath()); } }); http://code.google.com/apis/maps/documentation/javascript/reference.html#DrawingManager Events: http://code.google.com/apis/maps/documentation/javascript/overlays.html#drawing_events Cheers Chris -- http://twitter.com/broady On Thu, Nov 17, 2011 at 11:50 AM, RoyHB <roy.bar...@gmail.com> wrote: > Chris - I'd like to be able to examine the lat/lon of nodes in a > polyline that I created with drawingManager. > I've looked through the doco and I've used firebug to examine the > domain but I can't find any info related to the polyline that > drawingManager made. > > Could you give us a hint (or a pointer to the doco) that would help? > > Thanks - the drawing Manager is a great addition to the API > > RoyHB > > Chris > > -- > 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-maps-js-api-v3@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > 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 post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.