Google Maps API
has any way to get the street coordinates of an location?
Is simple: I just want to get the nearest street coordinate. To got this i need, for example, all coordinates that compose a street.
Are there something like this?
Open the Google Maps website and enter the address details in the search box. The map should center on the address you entered. Right-click on the location. Using your mouse right-click on the address pin marker.
The Maps JavaScript API provides a Street View service for obtaining and manipulating the imagery used in Google Maps Street View. This Street View service is supported natively within the browser.
You may use the directionService.
Pass the given address(or location) as origin and destination to directionsService.route()
and use the travelMode DRIVING
. The response should contain the nearest street.
Demo: http://jsfiddle.net/doktormolle/W3VGN/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With