Hello,
I am trying to add a circle and then remove it. The Adding part is easy, but I get a non initialized circle error when trying to remove it. Why ?
Also, Is it possible to fill the circle with semi-transparent color, instead of fully transparent or fully opace ?
Thanks
I am trying to add a circle and then remove it. The Adding part is easy, but I get a non initialized circle error when trying to remove it. Why ?
B4X:
Sub ShowRanges(Show as boolean)
Dim Cnt As LatLng
Cnt.Initialize(IniOwnLat, IniOwnLon)
Dim OwnCnt As MapCircle
If Show=True Then
OwnCnt=gmap.AddCircle(Cnt,1000,2,fx.Colors.Red,fx.Colors.Magenta,1)
Else
gmap.RemoveCircle(OwnCnt)
End If
End Sub
Also, Is it possible to fill the circle with semi-transparent color, instead of fully transparent or fully opace ?
Thanks