nizam.sp
nizam.sp

Reputation: 4062

Google Places API vs Google Maps results

I see some results on Google Maps but its not coming through Google Places API.

https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=my_api_key&sensor=false&radius=50000&location=40.338254%2C-74.585292&keyword=storybook+land

whereas google maps shows

Storybook Land, Black Horse Pike, Egg Harbor Township, NJ, United States

Why this discrepancy? Is it not that Google Places API will show the exact results of Google Maps?

I observed these kind of discrepancies in few other results also.

Can somebody throw some light?

Upvotes: 5

Views: 1799

Answers (1)

Dr.Molle
Dr.Molle

Reputation: 117334

I think you must ask google about the way they get their results, but I don't think that maps.google.com is a simple implementation of the Maps-API/Services.

However, textSearch will give you the result: https://maps.googleapis.com/maps/api/place/textsearch/json?key=yourKey&sensor=false&radius=50000&location=40.338254%2C-74.585292&query=storybook+land

Upvotes: 0

Related Questions