0

I noticed that there exists the GMSGeocoder for reverse geocoding for iOS, but not found the similarity in Google play service.

Of course, I can use the Geocoder in the Android Location api, or, there also a way for reverse geocoding using http request for this. but with the applied API key, I did find the corresponding XXGeocoder in GMS for Android in Google play service.

Did I miss it?

mianlaoshu
  • 1,550
  • 3
  • 17
  • 37

2 Answers2

0

Seems the android Geocoder could do the work good enough.

From this ariticle:

The Android Geocoder API is also only available on GMS devices with location services although it does not depend on the GoogleApiClient like Geofencing and Activity Recognition. The Geocoder class offers both geocoding and reverse geocoding meaning it will return a lat / long based on an address and vice-versa. In my experience the API provides very accurate results and it has clear benefits to package delivery use cases.

mianlaoshu
  • 1,550
  • 3
  • 17
  • 37
0

This might fulfill your question Android: Reverse geocoding - getFromLocation

I've used it, and you have to specify how many matching address you want. The first address be accurate most of the times, but at times it can be a bit off the current address, just so you know

Juan Mendez
  • 2,242
  • 1
  • 22
  • 20