Android Question Mapfragment properties

ciginfo

Well-Known Member
Licensed User
Longtime User
Hello,
With MapFragment.getMap I obtain a map too much large (the entire continent).
Can we get the map zoomed by default, Is there a Mapfragment property to do this?

Thank you
 

klaus

Expert
Licensed User
Longtime User
You should use a CameraPosition.
And initialize it with CameraPosition.Initialize2(Lat As Double, Lng As Double, Zoom As Float, Bearing As Float, Tilt As Float)
And call GoogleMap.MoveCamera (NewPosition As CameraPosition)
 
Upvote 0
Top