My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Acknowledged
Owner:  ----


Sign in to add a comment
 
Reported by [email protected], Jan 17, 2014
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.
*********************************************************

Screenshot_2014-01-17-11-28-32.png
391 KB   View   Download
Jan 17, 2014
#1 [email protected]
iOS screenshot with expected output:
photo (3).PNG
380 KB   View   Download
Apr 14, 2014
#2 [email protected]
i reported a similar bug earlier #5602
Sep 21, 2014
Project Member #3 [email protected]
(No comment was entered for this change.)
Status: Acknowledged
Labels: -Type-Defect Type-Enhancement Internal-17597713
Sep 29, 2014
Project Member #4 [email protected]
 Issue 5602  has been merged into this issue.
Feb 9, 2016
#5 [email protected]
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
#6 [email protected]
+1. It's an annoying bug when working with some complex polygons.
Sign in to add a comment

Powered by Google Project Hosting