Hi,
The CIMPolygonSymbol is not rendering it's CIMSolidStroke symbol layers if also using a CIMSolidFill symbol layer with a color set by primitive override. If disabling the primitive override for a CIMSolidFill color and using a fixed color value, the CIMSolidStroke layers are rendered just fine. Also, the symbol is rendered correctly in ArcGIS Pro. Only the JS API is troubled by the problem.
Here is a sample map: https://www.arcgis.com/apps/mapviewer/index.html?webmap=92ed57d2bf34475a8f5e2bb730eeaeaf.
The webmap rendered in ArcGIS Pro:
The webmap rendered in JS API:
Any idea how to solve this?
Thanks,
Matej
Solved! Go to Solution.
Hi @MatejVrtich, this appears to be a bug - we'll take a look. Thanks for letting us know!
@MatejVrtich - We've installed a fix for this for the November release. You can view the fix using the /next version of the API. Here's a basic app that loads your webmap using the /next version: https://codepen.io/annefitz/pen/BaxeZYw
Let me know if you are still running into any issues. Thank you!
Hi @MatejVrtich, this appears to be a bug - we'll take a look. Thanks for letting us know!
@MatejVrtich - We've installed a fix for this for the November release. You can view the fix using the /next version of the API. Here's a basic app that loads your webmap using the /next version: https://codepen.io/annefitz/pen/BaxeZYw
Let me know if you are still running into any issues. Thank you!