snap marker to nearest road

22 views
Skip to first unread message

dan pudwell

unread,
Nov 9, 2017, 5:53:17 AM11/9/17
to Leaflet
Hello
Currently when I click on a map it places a marker at the point that is clicked,  How can I snap the marker to the nearest road?  I saw an example for google api using the directions service but wasn't sure how to do it in leaflet?  Any help much appreciated.
Thanks 

Michelle Steele

unread,
Nov 13, 2017, 5:54:10 AM11/13/17
to Leaflet
Reply all
Reply to author
Forward
0 new messages