Snap marker to route

Aug 9, 2010 at 9:27 PM
Hello, Is there a sample/example of how someone could snap a marker to a route ? In the sample app, you place the current marker wherever you click, but I would like it to snap to the route, if I click close to the said route. Doable ?
Aug 9, 2010 at 9:35 PM

tricky, but i think it's possible

Aug 11, 2010 at 9:10 PM
At the moment I am doing my tests with a GPX file that was recorded by my GPS, there are enough points in there to be able to able to do some Snaping alogrythms. But in the case where you would create a route "a la" Google Map way (start - destination). How can I know if the route is near my marker ? Can I have access to the points in the route ? to the segment of the lines ??? Where should I start looking ? thanks
Aug 11, 2010 at 9:16 PM

routes are now are just array of connected points, there is some forks with more advanced stuff, can't help much until i'll put them in one good working piece ;}