flutter-geocoding
flutter-geocoding copied to clipboard
Include location "diameter" or other metric so we can use it for map "zoom"
🚀 Feature Requests
Right now if we want to use this plugin with a map, we can't zoom the map in the right way because we don't know the result location diameter/size. So if we searched for the city it will pinpoint its center. But we don't have a metric to set the zoom in the right way.
Hi @moshe5745, thank you for filing this feature request!
It seems that we can implement this for Android using the Android geocoding API. We can read geometry.viewports
or geometry.bounds
(https://developers.google.com/maps/documentation/geocoding/requests-geocoding#results).
For iOS, I could not find an API that offers this functionality.