android - Calculating zoomToSpan() degrees based on min/max lat/lng to be in the mapView -


I have a cluster of objects on an overlay in the map view.
I know that there are top / bottom / left / most things.
I want to use the zoomtospan () method to zoom the area.

What is the correct method for calculating latitude / LNG for this method?

I found someone here to post a good solution to this problem:

Good luck!


Comments