I'm evaluating upgrading an existing application from 4.15 to 4.16, and we discovered a bug in the symbolUtils.renderPreviewHTML when the symbol is a fill symbol, and the fill style is not "solid" - the image URL for the preview is "https://symbols/patterns/{style}.png", which fails to resolve and logs errors to the console.
here is a simple HTML page that will demonstrate this error:
Hi Boris,
Thanks for your feedback! This bug will be fixed in the 4.17 release. If you want to test it out before then, you can use the /next
version of our API - this is our development branch that is updated weekly.
<link rel="stylesheet" href="https://js.arcgis.com/next/esri/css/main.css">
<script src="https://js.arcgis.com/next/"></script>
Thanks,
Anne
It looks like the same issue is also happening in the Legend widget, but I'm assuming that's using the same preview method, and would be resolved at the same time.