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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -