Polygon fill color while dots intersect in Android

I am trying to draw a polygon using a hand on a google map and then filling the color with a polygon.

Usually the color is filled with a fine and works as expected, but if the polygon has a capture point, then the fill color does not work.

I use the code below to draw a polygon and fill the color with a polygon

PolygonOptions drawShapeOptions = new PolygonOptions(); drawShapeOptions.addAll(mLatLngList); drawShapeOptions.strokeColor(Color.BLACK); drawShapeOptions.strokeWidth(5); drawShapeOptions.fillColor(Color.GRAY); mDrawShape = mGoogleMap.addPolygon(drawShapeOptions); 

Result below

enter image description here

How can I fill the color in this polygon with intersecting dots?

+7
java android polygon google-maps google-maps-api-2
source share

No one has answered this question yet.

See similar questions:

fifty
How to draw a free polygon in a Google V2 map in Android?

or similar:

1207
Strange memory issue when loading image into Bitmap object
fifty
How to draw a free polygon in a Google V2 map in Android?
3
Android Google displays how to draw a complex polygon with fillColor
2
Fill polygon with icons
2
Google Maps Google Detects Polygon Intersections
one
Fill 2-color regular polygons
one
Polygon does not populate android mapview
0
The intersection of two polygons in google map
0
why remove fillcolor polygon google map v2 android in scaling
0
How to find the intersection of a circle and a polygon without a polygon point in a circle

All Articles