Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 17 by stef.jung: hole within a polygon is not drawn correct
(donut polygon)
http://code.google.com/p/gmaps-utility-library-flash/issues/detail?id=17
It's not possible to draw a hole within a polygon (donut polygon). The hole
also gets drawn as separate polygon. The problem appeared in on of our
projects where we combine Google Maps and the ArcGIS Server REST API.
To reproduce it we created a simple donut polygon (see PDF) with ArcMap.
This polygon is available through the ArcGIS Server REST API. With some
basic code (see PDF) we can display the polygon as graphic-overlay. But it
is not drawn correct. There might be a problem in interpreting the rings.
The vertices of the first ring is clockwise and the vertices of the second
(inner) ring is anti-clockwise.
It is very important for us that we can display the holes within a polygon
correctly.
Regards,
Stefan
*********************************************************
What version of the API are you using?
- Flex 3.2
- map_flex_1_16.swc
- GoogleMapsAPIUtilityLibrary.swc
- IMap.getImplementationVersion(): 16
What operating system and browser are you using?
- Always reproducible, does not depend on the browser or operating system.
- Windows XP/Vista, Google Chrome, Firefox, IE7/8
*********************************************************
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.
*********************************************************
Attachments:
Flash-API_Donut_Polygon.pdf 123 KB
Flash-API_SampleCode.pdf 23.6 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings