Public Sub LocationChanged(Location1 AsLocation)Dim cp AsCameraPosition
cp.Initialize(Location1.Latitude, Location1.Longitude,14)
gmap.AnimateCamera(cp)
gmap.MyLocationEnabled=True
End Sub
I find the position on the map. But I can not go if I want to go somewhere else on the map. I'm back to the position again.
How can I navigate freely after finding my position?
Thnks..
if you dont want to get the event anymore. yes. If you just want to prevent google map changing the position to the gps position then you just need to prevent calling
Public Sub LocationChanged(Location1 AsLocation)Dim cp AsCameraPosition
cp.Initialize(Location1.Latitude, Location1.Longitude,14)
gmap.AnimateCamera(cp)
gmap.MyLocationEnabled=True
if gmap.CameraPosition.Zoom=14 then
Dim cp1 As CameraPosition
cp1.Initialize(Location1.Latitude, Location1.Longitude,gmap.CameraPosition.Zoom)
gmap.AnimateCamera(cp1)
End Sub