A andyp Member Licensed User Longtime User Dec 24, 2017 #1 Hi. I have 3 sets of lat/long coordinates (latA/longA, latB/longB, latC/longC) I have used these to draw 3 polylines on my map. Now I would like to shade in the enclosed area - is there any function to do this? Thank you Andrew
Hi. I have 3 sets of lat/long coordinates (latA/longA, latB/longB, latC/longC) I have used these to draw 3 polylines on my map. Now I would like to shade in the enclosed area - is there any function to do this? Thank you Andrew
eurojam Well-Known Member Licensed User Longtime User Dec 24, 2017 #2 No I don't think, that there is a function to do that. I would draw an additional polygon with the same coordinates and make a black fill color with a high transparancy, something like this code: Code: Copy Dim polygonoptions1 As PolygonOptions polygonoptions1.Initialize polygonoptions1.FillColor=Colors.ARGB(50,0,0,0) polygonoptions1.AddPoints(sameListAsthePolyline) PolygonDigit = GoogleMapsExtras1.AddPolygon(gmap, polygonoptions1) Upvote 0
No I don't think, that there is a function to do that. I would draw an additional polygon with the same coordinates and make a black fill color with a high transparancy, something like this code: Code: Copy Dim polygonoptions1 As PolygonOptions polygonoptions1.Initialize polygonoptions1.FillColor=Colors.ARGB(50,0,0,0) polygonoptions1.AddPoints(sameListAsthePolyline) PolygonDigit = GoogleMapsExtras1.AddPolygon(gmap, polygonoptions1)