Skip to content Skip to sidebar Skip to footer

Maps Api - Marker On The Street

In Maps API, is there a way to snap markers to the street? Normally, if you want to set a marker by address (not latlng), the marker is set somewhere inside the building. In my cas

Solution 1:

Use the directions service. Request directions to/from the same location, should be on the road closest to the location.

See related question: Google maps api - snap marker to nearest road

Post a Comment for "Maps Api - Marker On The Street"