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

renaming files in a directory using python or R -

html - outline-style different in chrome compared to firefox and internet explorer -

ruby on rails - Carrierwave Timeout -