Hi guys.
How to zoom in by giving 2 coordinates(2 Locations) ?
Is there API method for android ?
Thanks in advance.
Hi guys.
How to zoom in by giving 2 coordinates(2 Locations) ?
Is there API method for android ?
Thanks in advance.
There is no API for that. The closest is zoomToSpan()
on MapController
. You could compute the center point between your two coordinates, center the map there, and use zoomToSpan()
to attempt to zoom in/out to make your two locations visible on the map. I have not tried this method, so I do not know how well it works.