Emerito Active Member Licensed User Longtime User May 29, 2019 #1 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: Code: Copy 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?
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: Code: Copy 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?
Erel B4X founder Staff member Licensed User Longtime User May 30, 2019 #2 Code: Copy If gmap.MyLocation.IsInitialized Then ... Upvote 0