I am using the following code to zoom to view all point on a MapView:
mMapController.zoomToSpan(myOverlay.getLatSpanE6(), myOverlay.getLonSpanE6());
It works, except a problem that it only considers points but not overlays, thus gives me the following result:
Is there anyway to deal with this? I was thinking that manually add/subtract some latitude/longitude to/from getLatSpanE6()/getLonSpanE6(), but this is going to be dirty and I don't know how much should I add/subtract. Does anyone have any ideas?
Thanks!