Android Question How to draw a Path with GoogleMaps Library?

Status
Not open for further replies.
in this code i draw a simple line on the map, but i want draw a Path, how can i do?
[CODE lang="b4x" title="Implentation of Google Maps"]' Aggiunta di un marker sulla mappa
Dim lat As Double = DR_VISITE.GetString("Latitudine")
Dim lng As Double = DR_VISITE.GetString("Longitudine")
Dim RAGSOCCLI As String = DR_VISITE.GetString("RAGSOCCLI").Trim
GoogleMaps.AddMarker(lat, lng, RAGSOCCLI)

Log("lat: " & lat & " lng: " & lng)

point.Initialize(lat,lng)

listPoint.Add(point)
Log("ListPoint Size: " & listPoint.Size)

line.Geodesic = True
line.Color = Colors.Blue
line.Visible = True
line.Width = 10
line.Points = listPoint
Log("line Size: " & line.Points.Size)
[/CODE]
 
Not sure that I understand
Duplicate of this thread

 
Upvote 0
Status
Not open for further replies.
Back
Top