google maps - How to find out what is at a location? -


is there way google maps api or alternative find out @ given location?

example: businesses @ latitude x , longitude y?

you can places api nearby search

https://developers.google.com/places/web-service/search

for example, if wonder nearest cafe coordinate 37.441541,-122.146082, can execute following request

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.441541%2c-122.146082&rankby=distance&type=cafe&key=your_api_key

the first result 'casa cowper - not business' (place id chijj6q3zd27j4arnljll4hpbp0)

you can see in geocoder tool:

https://google-developers.appspot.com/maps/documentation/utils/geocoder/#place_id%3dchijj6q3zd27j4arnljll4hpbp0


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -