Implement google location search in android app like OlaCabs

前端 未结 2 896
说谎
说谎 2021-01-15 08:15

I have implemented google location search like OlaCabs app but it is not as fast in searching as OlaCabs do.Reason behind it is I need to hit a rest api (Go

相关标签:
2条回答
  • 2021-01-15 08:39
    1. You seem to be looking for Google Places Autocomplete API

    2. Most of Google APIs are free till some courtesy limit (different for each API) and paid afterwards. Courtesy limits are higher if you have given your credit card info. Still if you are beyond free limit, you should consider paying for them.

    0 讨论(0)
  • 2021-01-15 08:42

    You are in search of Google places autocomplete.

    I figured Google has the Place Autocomplete service using which I can allow the user to type in a city name which’ll fetch all the cities containing that string from Google’s servers that can be presented in an AutoCompleteTextView.

    Link :

    *http://codetheory.in/google-place-api-autocomplete-service-in-android-application/

    Hope it will* help you.

    0 讨论(0)
提交回复
热议问题