Polygon with donut rendering abnormally.

460
4
11-29-2022 01:10 PM
KevinMorrow
New Contributor

I have multi ring polygons which may or may not have donuts. In 3.x the polygons all render correctly at all zoom levels. In 4.23 the inner ring (donut hole) renders correctly until I zoom in past a certain level. 

If I use a 3D map the rendering is inverse what I expect. 

If I import a shapefile with the geometry at a zoom level that renders existing feature incorrectly the the initial rendering is correct until I change zoom level.

Any ideas???

0 Kudos
4 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

Would be you able to share the json polygon geometry so that we can repro the behavior and debug? 

 

Thanks,

-Undral

0 Kudos
KevinMorrow
New Contributor

Hi Undral,

I attached the shapefile I used. I have variations of this with different numbers of polygon but this is the simplest. In the San Diego area.

Regards,

Kevin.

0 Kudos
UndralBatsukh
Esri Regular Contributor

Thank you so much for the shapefile. I will test it as soon as I can and will let you know what we find out. 

0 Kudos
UndralBatsukh
Esri Regular Contributor

So I uploaded the shameful to ArcGIS online and added the layer to the JS API test app. I tested both in SceneView and MapView and I do not see the behaviors you describe. Here is a codepen: https://codepen.io/U_B_U/pen/LYrJXXb?editors=100

 

0 Kudos