Hello
In the programm :
MapPanel.Initialize("")
Activity.AddView(MapPanel, 0, 0, 100%x, 100%y)
If mFragment.IsGooglePlayServicesAvailable = False Then
ToastMessageShow("Google Play services not available.", True)
Else
ToastMessageShow("Google Play services available.", True)
mFragment.Initialize("Map", MapPanel)
End If
I see the message "Google Play service Available" and I see the map
but I never see the message "Map Ready" in the sub :
Sub Map_Ready
Log("map ready")
gmap = mFragment.GetMap
If gmap.IsInitialized = False Then
ToastMessageShow("Error initializing map.", True)
Else
gmap.AddMarker(45.82, 4.98, "Hello!!!")
ToastMessageShow("AddMarker", True)
Dim cp As CameraPosition
cp.Initialize(45.82, 4.98, gmap.CameraPosition.Zoom)
gmap.AnimateCamera(cp)
End If
End Sub
Thank you for your aid