I'm trying to add a google map to my app, but the map opened empty!
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("google_maps_ui")
Button1.Visible = False
Wait For MapFragment1_Ready
gmap = Mapfragment1.GetMap
Button1.Visible = True
rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
gmap.MyLocationEnabled = True
Else
MsgboxAsync(Languages.getString("toast_permisstions"),"")
End If
End Sub