Does anyone have suggestions or code to calculate ideal camera (lat, lng, zoom) for a specific bounding box (BBOX)? I know i can force fit using the number of degrees Lat and lng (from the BBOX), but it seems there should be a more elegant method.
Hi I would appreciate some help with google maps zooming. I attached a little graphic that should show what I am wanting to do. I have a track on a google map. Now I want to zoom into the map, so that I only see the track with a bit of margin around the box that includes the track. I know all...
I am struggling to understand the use of AnimateToBounds and AnimateCamera when using GoogleMapsExtra. As you can see from the code I want to position the map to show the collection of waypoints added, also position the camera centrally in this described area. My (failed) code looks something...
www.b4x.com
Google automatically calculates:
Center
Ideal zoom
Perfect screen fit