Google Maps API v3 show local businesses/points of interest
I know at some point I'd come across a Google service built into their API that would provide local information as markers on the viewport (schools, hospitals, etc.)-- I believe this was a simple control that could be added just like the normal map controls, to all开发者_如何学JAVAow users to turn it on or off with a checkbox or button.
I can't seem to find this feature documented anywhere in the v3.0 API docs. Can anyone provide some information on this, or let me know if it was deprecated?
Thanks
I believe Google Places API is what you are looking for.
Google Places API
Here is a snapshot of the partial JSON output:
{
"name": "Biaggio",
"vicinity": "Pirrama Rd, Pyrmont",
"types": [ "cafe", "food", "establishment" ],
"geometry": {
"location": {
"lat": -33.8666470,
"lng": 151.1956500
}
},
精彩评论