How to zoom in by giving 2 coordinates(2 Locations) ?
Is there API method for android ?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no API for that. The closest is
zoomToSpan()onMapController. You could compute the center point between your two coordinates, center the map there, and usezoomToSpan()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.