Google Maps API - searching for places

Hello,

Say for example, I'd like to retrieve all museums in London, how would I structure my request?

I could do something like this, but it wouldn't cover London in it's entirety, because there is no radius setting that covers London as a whole.

https://maps.googleapis.com/maps/api/place/radarsearch/json?location=51.503186,-0.126446&radius=5000&types=museum&key=apikeyhere


Many Thanks,

Tom
TP_geeksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sajayj2009Commented:
Hope the following url help!

It provides radius parameter for a place.
https://developers.google.com/places/web-service/search
0
TP_geeksAuthor Commented:
Hello,

I'm aware of the radius parameter.

But I would want to return all museums in London - how would you do that?!

Radius wont work in this instance, as there is no radius settings to cover the whole of London, without including other places outside.
0
sajayj2009Commented:
In the same above URL, there is type specified.

types — Restricts the results to places matching at least one of the specified types. Types should be separated with a pipe symbol (type1|type2|etc). See the list of supported types.
0
TP_geeksAuthor Commented:
Hello,

The problem isn't with the type, the problem is with the location.

I want to search the whole of London. There is no radius parameter that will search the whole of London....!
0
sajayj2009Commented:
Using Nearby location search, you can search maximum of 50,000 KM radius. That is only way...
Or using radar search you can specify a place, but will list only 200 results at a time...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Google Apps

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.