How to get PlaceID from name, or lat, long in Android?

后端 未结 4 1525
日久生厌
日久生厌 2020-12-30 09:27

This my code:

Geocoder geocoder = new Geocoder(this, Locale.getDefault());
    List
addresses = geocoder.getFromLocationName(text, 10); te
4条回答
  •  不知归路
    2020-12-30 09:53

    Both of the proposed ways cost money and I think peoples should mention it. We have the -$200 from the Google, but its all depends from how much users you have and how frequent you need to use the geocode. 60k requests per month to the geocoder - easy $300 only for to use the geocode https API :

    Nov 1 – 30, 2018 Geocoding API Geocoding: 6073 Counts - $30.38

    Dont filter what you need in the responses, like we have in the requests from other posts? Expect way more:

    Nov 1 – 30, 2018 Places API Places Details: 2389 Counts $40.61

    Nov 1 – 30, 2018 Places API Contact Data: 2385 Counts $7.17

    Nov 1 – 30, 2018 Places API Atmosphere Data: 2385 Counts $11.95

提交回复
热议问题