On Apr 24, 12:41 am, michaelknoll <[email protected]> wrote: > > For a current project, I should be able to "mark" distances on a track > on a google maps map. Let's say, I have city A and a track to city B > and I would like to show a mark that marks a distance of 25km from A > to B. Is there any possibility to solve this problem without using > poly lines and "calculating" the whole track by myself?
Well you have to provide a line somehow (even if you don't actually draw it on the map) in order that you can measure 25km along it. GDirections is the obvious way of getting a route from A to B. You can then use Mike's EPoly extension to find the point at a certain distance. http://www.econym.org.uk/gmap/epoly.htm Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
