get Lat Lang from a place_id returned by autocomplete place api

前端 未结 12 1446
情深已故
情深已故 2021-02-02 05:58

I am searching the place in my apps using the google autocomplete place api and now I want to get latitude and longitude of the place that i have searched. How to get latitude a

12条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-02 06:27

    Ref :- https://developers.google.com/places/android/place-details#get-place The above link gives a place object which will have lat and long . The place object is deirved from placeid that one gets from place autocomplete.

提交回复
热议问题