You can get the waypoints either by storing them when you requested the
directions or by taking the first vertex of the GDirections.getPolyline
and scanning through the GRoutes.getEndLatLng elements.
You can get the points where the driving instructions change by scanning
through the gStep.getLatLng elements.
You can get all the points where the path changes from a straight line
by scanning through the vertices of the GDirections.getPolyline.
--
Mike Williams
--
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.