ios - Is it possible to limits google places to one or two places like restaurants or coffeeshops? -


i'm building app in swift can filter places 1 or 2 types of locations e.g restaurants or coffeeshops possible , how done ?

the app fetch data these places.

yes can search via types in google places in example

https://maps.googleapis.com/maps/api/place/textsearch/json?query=mexican+restaurant&sensor=true&location=40.846,-73.938&radius=20&key=yourkeyhere

explanation:

this give result in radius of 20km types of restaurants in mexico. can check documentation lot of different variation.

https://developers.google.com/places/?csw=1#placesearchresults


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -