Android Question Google Maps zone limits

GiovanniPolese

Well-Known Member
Licensed User
Longtime User
Hi to all.
I would like to display only a relatively small zone, using MapFragment and GoogleMaps.
I have the LatLon coordinates of the zone corners.
Any hint?
Thanks in advance.
 
Look into the "CameraPosition" object (CP).

When you initialize the CP, you can set the lat/long and zoom (which can control how much of the map is shown)
 
Upvote 0
I was suspecting something like that, despite it is not exactly what I want. My question had the aim to confirm that doesn't exist a function to select a part of the map by the coordinates of a square. Thanks a lot.
 
Upvote 0
Just to add a comment to my question. Today I found what seems to be the answer to my question. Strangely I didn't see this before. There is a function in GoogleMapsExtras that seems to do what I ask:


I report this for completeness.
 
Upvote 0
Back
Top