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???
Hi Undral,
I am still getting this issue in 4.31. Just wondering if the ring order could have anything to do with the issue. The geometry is coming from an OGC format WKT, which has reverse order of the rings, and converted to Esri json. COuld it be that 3.x understands this and 4.x not? I have other rendering issues with 4.x where the editor in 2d mode will not properly render geometries with z coordinates. 3.x happily renders geometry with z coordinates as if it ignores the z values.
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
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.
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.
Hi there, Would be you able to share the json polygon geometry so that we can repro the behavior and debug?
Thanks,
-Undral
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.