Selvaraj M A
Selvaraj M A

Reputation: 3136

How to find the type of a place using google api

I have both address and latitude and longitude of a location. Can I find whether which type of place it is? Whether it is a restaurant, hospital, etc.

Upvotes: 2

Views: 268

Answers (1)

alex
alex

Reputation: 5002

You can use the place search method of the google places api which takes location(latitude/longitude) and radius and gives you types like

"types" : [ "restaurant", "food", "establishment" ],

in the result.

Upvotes: 4

Related Questions