If you click on a marker then buttons appear on the Google Map (bottom right). Clicking on this button opens the Native GoogleMaps app to navigate to the Location.
If you click on a marker then buttons appear on the Google Map (bottom right). Clicking on this button opens the Native GoogleMaps app to navigate to the Location.
Sub MapFragment1_Click (Point As LatLng)
Dim in As Intent
in.Initialize(in.ACTION_VIEW, $"google.navigation:q=${Point.Latitude},${Point.Longitude}"$)
in.SetPackage("com.google.android.apps.maps") 'this method is only available in v8.8+. Example of calling it with JavaObject: https://www.b4x.com/android/forum/threads/inline-java-question.97866/#post-616946
StartActivity(in)
End Sub