<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [Bug] symbolUtils, renderPreviewHTML and simple-fill in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-symbolutils-renderpreviewhtml-and-simple-fill/m-p/1214181#M78759</link>
    <description>&lt;P&gt;For simple fills, for anything other than `solid` types, the preview doesn't render anything, and in the console, the arcgis internal "previewSymbol2D.js" throws an error against ".toCss is not a function".&lt;/P&gt;&lt;P&gt;Relevant Codepen, testing on the `/next/` version (also tested against 4.24):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/Tickthokk/pen/oNdwoEv" target="_blank" rel="noopener"&gt;https://codepen.io/Tickthokk/pen/oNdwoEv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;It'd be great to render polygons that are not solid!&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 13:44:21 GMT</pubDate>
    <dc:creator>NicholasWright</dc:creator>
    <dc:date>2022-09-20T13:44:21Z</dc:date>
    <item>
      <title>[Bug] symbolUtils, renderPreviewHTML and simple-fill</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-symbolutils-renderpreviewhtml-and-simple-fill/m-p/1214181#M78759</link>
      <description>&lt;P&gt;For simple fills, for anything other than `solid` types, the preview doesn't render anything, and in the console, the arcgis internal "previewSymbol2D.js" throws an error against ".toCss is not a function".&lt;/P&gt;&lt;P&gt;Relevant Codepen, testing on the `/next/` version (also tested against 4.24):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/Tickthokk/pen/oNdwoEv" target="_blank" rel="noopener"&gt;https://codepen.io/Tickthokk/pen/oNdwoEv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;It'd be great to render polygons that are not solid!&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 13:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-symbolutils-renderpreviewhtml-and-simple-fill/m-p/1214181#M78759</guid>
      <dc:creator>NicholasWright</dc:creator>
      <dc:date>2022-09-20T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: [Bug] symbolUtils, renderPreviewHTML and simple-fill</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-symbolutils-renderpreviewhtml-and-simple-fill/m-p/1214193#M78760</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/619910"&gt;@NicholasWright&lt;/a&gt;&amp;nbsp;- this works as expected if you use the SimpleFillSymbol constructor instead of autocasting. Here's an updated version of your example:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/yLjXvgO" target="_blank"&gt;https://codepen.io/annefitz/pen/yLjXvgO&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 14:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-symbolutils-renderpreviewhtml-and-simple-fill/m-p/1214193#M78760</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-09-20T14:31:44Z</dc:date>
    </item>
  </channel>
</rss>

