Hi every body
I need to show on google map a truck icon for my position right on the blue dot and follow it.
I try that
B4X:
Public Sub LocationChanged(Location1 As Location)
gmap.AddMarker3(gmap.MyLocation.Latitude, gmap.MyLocation.Longitude,"", LoadBitmap( File.DirAssets, "truck.png"))
End Sub
You are adding a new marker on each locationchange. What do you expect?
Create one marker and change the position of this marker in the location changed event
You are adding a new marker on each locationchange. What do you expect?
Create one marker and change the position of this marker in the location changed event