Issues with Places API

69 views
Skip to first unread message

startled hippo

unread,
Jun 18, 2011, 4:36:47 PM6/18/11
to google-map...@googlegroups.com
Hi,

My application displays point of interest based on several categories near a user's location. I'm using places API but it seems like either my code is broken or the Google Places API's POI database is not in sync with Google Map's database (LocalSearch?).
My location is Sandton, Johannesburg, South Africa. 
When I search for "stores" using this as a starting location in Google Maps, I get a whole lot of results. However, when I search for the same type using the Places API, I get a NO_RESULTS. I always get status message irrespective of what I search, while the Local Search API returns the correct results. 
I thought of using the Local Search API, but Google's documentation says its "Deprecated". Not sure what is going on here. Or Am I using the wrong service to look for POIs?

@neavilag (Norman)

unread,
Jun 19, 2011, 11:45:19 PM6/19/11
to google-map...@googlegroups.com

Chris Broadfoot

unread,
Jun 20, 2011, 2:24:20 AM6/20/11
to google-map...@googlegroups.com
Please direct your query to the web services group:
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/tmSG9VgO3voJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

startled hippo

unread,
Jun 20, 2011, 10:25:48 AM6/20/11
to google-map...@googlegroups.com
Thank you for your respose.
I tried with a type code and it seems to be working. Seems like a bug in the documentation then? Where can I find the codes for categories? Or a I missing something again?

I read http://code.google.com/apis/maps/documentation/places/#PlaceSearchRequests , which doesn't use any codes for places types and supported places types http://code.google.com/apis/maps/documentation/places/supported_types.html

Even the example in the above place documentation page uses a type called 'food'.

Can you please guide me to the right documentation?

Reply all
Reply to author
Forward
0 new messages