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

Posted by Itsik on Stack Overflow See other posts from Stack Overflow or by Itsik
Published on 2010-05-15T11:46:23Z Indexed on 2010/05/15 11:54 UTC
Read the original article Hit count: 835

Filed under:
|
|
|

I have a cluster of items on an overlay in a mapView.
I know where the top/bottom/left/right most objects are.
I want to use the zoomToSpan() method to zoom onto that area.

What is the proper way to calculate the lat/lng degrees for this method ?

© Stack Overflow or respective owner

Related posts about android

Related posts about mapview