I have marker (to example lat: 48.363, lng: 17.044) and i need to find road from it in google maps API.
This is my marker:
I need to change position to this:
This is just example. I need to change position for every marker which isnt on road in javascript. I searched in google how to find nearby road but i didn't find answer. I can find place from my position but i need the road. Has google maps any method for this??