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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -