Geocoder doesn't always return a value

前端 未结 5 2013
感动是毒
感动是毒 2020-12-09 23:34

I am able to successfully get lat/long and pass it to the geocoder to get an Address. However, I don\'t always get an address back. Seems like it takes a couple of attempts?

5条回答
  •  一整个雨季
    2020-12-10 00:26

    In my experience, Googles Geocoder doesn't always work, I have a couple of fixed points on the map, when I click on the overlay it pops a toast with the address for that lat/long, these points do not change, sometimes I click on a same point 10 times, but I only get an address 7 of them.

    It's weird, but thats the way it is, I just modified my app to work around the problem.

提交回复
热议问题