swift - How can we pass type, page_token,sorting etc… in google place IOS API? -
with web api can pass type like
"&type=restaurant|cafe|bar”&pagetoken=“mynextpagetoken”
but mobile api(gmsplacesclient class) don’t find way this, have gone place api framework. , find places people says mobile api has more limitations web apis
can suggest how mobile api? right i’m using mobile api add place , fetch places i’m using web-api.
to mimic behaviour described in question there's separate class in ios api: gmsplacepicker
documentation can found here.
edit
looking through documentation mobile api, there's no indication such functionality exists. clicking on 'search' in docs redirects web api search docs. you'll have use web api fetching places.
Comments
Post a Comment