kalai
kalai

Reputation: 56

How to get auto complete search location results as GMSPlaces instead of GMSAutocompletePrediction with Google place API in iOS?

Actually, I get the corresponding response as in the form of GMSAutoCompletepredictions for my auto completion location search request with Google API. With the prediction results, we didn't get more detail info like coordinates, formatted detail address, etc of location.

If we need more detail info for location, we need to to give one more request to Google plcaes API with place ID value avail in prediction results. This method may increase the API usage and affect the app performance.

Please help me to overcome this problem. Thank You :)

Upvotes: 1

Views: 248

Answers (1)

krosh
krosh

Reputation: 218

There is no other way for now. To get more info from prediction results you have to request the place by placeId.

Upvotes: 2

Related Questions