Topic: How to get result of location in FindLocationExample class.

In FindLocationExample, if I search by place name(restaurant), in OnFindLocationComplete(string result) how to get place_id, place name, place type, place rating etc?

Re: How to get result of location in FindLocationExample class.

Hello.

Google Geocoding API, that is used in this example, converts addresses into geographic coordinates and vice versa.

If you want to find restaurants, use Google Places API.
Example:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

3 (edited by neelg 2017-05-03 12:07:09)

Re: How to get result of location in FindLocationExample class.

If I search restaurant name with pin code, then FindPlacesExample.cs does not work.
I think it only takes longitude, lattitude, Radius & place name. Can we pass pin code or area name in FindPlacesExample.cs?

Re: How to get result of location in FindLocationExample class.

What is «pin code»?

Google Places API, this is a very powerful service that has so many features.
https://developers.google.com/places/web-service/search
It is possible for your purposes you need to use text search.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: How to get result of location in FindLocationExample class.

«pin code» means area postal code