Hi all,
I dinamically add/remove several markers on the map.
Each marker then can moves and follow a path.
I would like that each marker draw a line while it moves but each line must be of course indipendent.
I've already played with polylines but just for one marker
So everytime the Lat/Lon changes, a new point is added and the line is drawn.
What now for creating an array of polylines and manage each one indipentently ?
Hope the question is clear.
I dinamically add/remove several markers on the map.
Each marker then can moves and follow a path.
I would like that each marker draw a line while it moves but each line must be of course indipendent.
I've already played with polylines but just for one marker
B4X:
Dim l1 As LatLng
l1.Initialize(lat,lon)
Points.Add(l1)
If Pline.IsInitialized=False Then Pline=GoogleMap1.AddPolyline
Pline.Points=Points
Pline.Color=Colors.blue
So everytime the Lat/Lon changes, a new point is added and the line is drawn.
What now for creating an array of polylines and manage each one indipentently ?
Hope the question is clear.