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?
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → 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?
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
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?
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.
«pin code» means area postal code
Infinity Code Forum → Online Maps Help → How to get result of location in FindLocationExample class.
Powered by PunBB, supported by Informer Technologies, Inc.