flutter-geocoding icon indicating copy to clipboard operation
flutter-geocoding copied to clipboard

Include location "diameter" or other metric so we can use it for map "zoom"

Open moshe5745 opened this issue 1 year ago • 1 comments

🚀 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.

moshe5745 avatar Mar 10 '23 02:03 moshe5745

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.

JeroenWeener avatar Jul 11 '23 13:07 JeroenWeener