reza_khalafi
reza_khalafi

Reputation: 6552

Why when try to using Place Autocomplete for iOS in Google API just get 5 results not more?

I am following this sample code from google api:

https://developers.google.com/places/ios-api/autocomplete

but get just 5 result.
How to increase my results?

Upvotes: 0

Views: 254

Answers (1)

Dinesh undefined
Dinesh undefined

Reputation: 5546

Information from https://developers.google.com/places/web-service/autocomplete#place_autocomplete_responses

A JSON response contains two root elements:

status contains metadata on the request. See Status Codes below. predictions contains an array of places, with information about the place. See Place Autocomplete Results for information about these results. The Google Places API Web Service returns up to 5 results

Google Places API returns up to 5 results only

Upvotes: 1

Related Questions