Is there a way to get all neighborhoods per city from google maps.
For example the following API call tells me that Little Italy is a neighborhood in Manhattan, New York.
http://maps.google.com/maps/api/geocode/json?address=Little+Italy
Is there of a way of listing all such neighborhood items that belong in New York, or any other US city.
2) Make another web-service call to https://maps.googleapis.com/maps/api/place/details/json?key=API_KEY&placeid=place_id_retrieved_in_step_1. This will return a JSON which contains address_components . Looping through the types to find locality and postal_code can give you the city name and postal code.
There is no such data available through Google Maps API - as yet. You may have seen the pink boundary for cities in Maps search results (as in above screenshot) which leads to many believe that it may be available through API but in fact it is not.
Open Google Maps. In the bottom right, click Pegman . Then, drag Pegman to the area you want to explore. Unclick to drop Pegman on a blue line, blue dot, or orange dot on the map.
Short answer: Though Google Maps displays such data, the GMaps API does not allow you to "play" with neighborhoods.
You would have to use a third party API to get that kind of information.
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