java - Filling Color in polygon while points intersecting in Android -
java - Filling Color in polygon while points intersecting in Android -
i trying draw polygon using hand on google map , filling color polygon.
normally color filling fine , working expected if polygon has intercepting point fill color not working.
i using below code draw polygon , fill color 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 below
how can fill color in polygon intersecting points?
java android google-maps polygon google-maps-api-2
Comments
Post a Comment