| Issue 6255: | Bug: Fill polygon that has complex edges that cross | |
| 39 people starred this issue and may be notified of changes. | Back to list |
1. Create a PolygonOptions with 4 LatLngs in the order of taking four corners from a square and start drawing the polygon from top-left to bottom-right to bottom-left to top-right and then back to top-left you will get a hour glass shape polygon that has edges that cross. 2. Set fill color to something not transparent. 3. Add to GoogleMap. Expected output: Polygon should have inner area filled instead of just stroke lines. iOS version of GMSPolygon seems to handle this fine. See: http://stackoverflow.com/questions/21190811/how-to-calculate-outline-of-complex-polygon-in-android-maps-v2 ********************************************************* For developers viewing this issue: please click the 'star' icon to be notified of future changes, and to let us know how many of you are interested in seeing it resolved. *********************************************************
Apr 14, 2014
i reported a similar bug earlier #5602
Sep 21, 2014
(No comment was entered for this change.)
Status:
Acknowledged
Labels: -Type-Defect Type-Enhancement Internal-17597713
Sep 29, 2014
Issue 5602 has been merged into this issue.
Feb 9, 2016
This bug(or should I say unimplemented feature) is still present. Are you planning on doing this or are you waiting for someone to come up with a solution? :)
May 11, 2016
+1. It's an annoying bug when working with some complex polygons. |
|
| ► Sign in to add a comment |
380 KB View Download