I am trying to draw a polygon using hand on google map and then filling the color to the polygon.
Normally the color is filling fine and working as expected but if the polygon has intercepting point then the fill color is not working.
I am using below code to draw polygon and fill the color to the polygon
PolygonOptions drawShapeOptions = new PolygonOptions();
drawShapeOptions.addAll(mLatLngList);
drawShapeOptions.strokeColor(Color.BLACK);
drawShapeOptions.strokeWidth(5);
drawShapeOptions.fillColor(Color.GRAY);
mDrawShape = mGoogleMap.addPolygon(drawShapeOptions);
The Result is as below
How can i fill color in this polygon with intersecting points?