That's exactly what this is for. Thanks for the info. I knew the
GDirections would get me part of the way there. I wasn't sure how to
get a distance from the start point along the path. Any examples of
this sort of thing out there? Thanks.

On Feb 3, 2:08 am, Mike Williams <[email protected]> wrote:
> You can call GDirections and tell it not to display the data on the map.
> Use {getPolyline:true} to tell it to fetch the data, because it
> otherwise doesn't fetch stuff that it doesn't intend to display.
>
> Listen for the "load" event that tells you that the data has arrived.
>
> Use .getPolyline() to get the polyline.
>
> Use EPoly.getPointAtDistance() to calculate the latlng of a point at a
> specified distance along that polyline, and plot your marker at that
> point.
>
> This sort of thing has been done for charity walks, where the "progress"
> of a large number of small walks by many individuals is charted against
> the equivalent of walking from one side of Canada to the other, but
> usually they plot either the whole polyline or plot the part of the
> polyline that has been walked.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to