Android Question GoogleMaps autozoom function?

Csaba Balogh

Member
Licensed User
hi there,

I have followed Erel's great tutorial on Google Maps API whith MapFragment and it is really awsome. Now I'd like to have an autozoom function if there is anything like that. Anyway I couldn't find a property like that so some help would be nice and appreciated. I would like to get the zoom of the map to let's say a 500 feet range on initialization.

Cheers,
 

Csaba Balogh

Member
Licensed User

Should have looked arround more carefully. It is in the cameraposition:


B4X:
   If cp.IsInitialized=False Then
        cp.Initialize(curLatitude, curLongitude, 15)
        gmap.AnimateCamera(cp)
    End If
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…