If you want to break it by GStep, observe that each GStep has a .getPolylineIndex()
So: obtain the polyline var poly=dirn.getPolyline(); and read the Vertex corresponding to the start of this GStep var point = poly.getVertex(step.getPolylineIndex()); If you want to break it into sections of equal length, then grab a copy of EPoly and use poly.GetPointAtDistance() http://econym.org.uk/gmap/epoly.htm -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
