Android Question gmap.MyLocation.Latitude

Emerito

Active Member
Licensed User
Longtime User
How to know when MyLocation has a value to avoid the error "error evaluating expression"
Este error se produce a veces en el código siguiente:
B4X:
                If gmap.IsInitialized=True Then
                    camaraGoogle.Initialize2(gmap.MyLocation.Latitude, gmap.MyLocation.Longitude, gmap.CameraPosition.Zoom, 0, 0)
                    gmap.moveCamera(camaraGoogle)
                End If

Can you help me?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…