I want to adjust the zoom value according to a specified circle radius so that on the phone screen the circle covers the entire screen width, as the attached screenshot shows.
Here is where I'm stuck:
Sample project attached.
TIA
Here is where I'm stuck:
B4X:
'zoom in
Dim zoom As Float=13 'how to calculate this value
'so that the circle width is same or almost the same as screen width?
Dim cp As CameraPosition
cp.Initialize( latitude, longitude, zoom)
gmap.AnimateCamera(cp)
Sample project attached.
TIA
Attachments
Last edited: