<?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 Re: symbolPreview not working with fill symbols in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598176#M55962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try commenting out the following line: "style: solid" from the fill symbol. I was receiving the same display issue, but without the 404 error until I removed the style property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 17:59:21 GMT</pubDate>
    <dc:creator>JoseBanuelos</dc:creator>
    <dc:date>2018-04-06T17:59:21Z</dc:date>
    <item>
      <title>symbolPreview not working with fill symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598175#M55961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some issues using the symbolPreview for any fill symbols. it works fine for simple-marker, but if I use a simple-fill symbol, nothing renders and I get a 404 error for&amp;nbsp;&lt;A class="link-titled" href="https://js.arcgis.com/4.6/esri/symbols/patterns/solid.png" title="https://js.arcgis.com/4.6/esri/symbols/patterns/solid.png"&gt;https://js.arcgis.com/4.6/esri/symbols/patterns/solid.png&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV style="color: #d4d4d4;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;var s = new Symbol({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; type: 'simple-marker',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; color: 'red',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; size: 12&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;}); //this works.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;var s2 = new Symbol({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; type: 'simple-fill',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; style: 'solid',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;&amp;nbsp; color: 'red'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;}); //this doesn't work.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #9cdcfe;"&gt;symbolPreview&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;renderPreviewHTML&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;, {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;node:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;element.getElementById("preview")&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;size:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;size&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;?&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;s&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;size&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;12&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #d4d4d4;"&gt;&lt;SPAN style="color: #d4d4d4;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 16:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598175#M55961</guid>
      <dc:creator>BorisLutskovsky</dc:creator>
      <dc:date>2018-04-06T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: symbolPreview not working with fill symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598176#M55962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try commenting out the following line: "style: solid" from the fill symbol. I was receiving the same display issue, but without the 404 error until I removed the style property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:59:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598176#M55962</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2018-04-06T17:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: symbolPreview not working with fill symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598177#M55963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. that worked for me as well. But I can't understand why it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and obviously deleting a property of the object after creating it is not optimal.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/symbolpreview-not-working-with-fill-symbols/m-p/598177#M55963</guid>
      <dc:creator>BorisLutskovsky</dc:creator>
      <dc:date>2018-04-06T19:05:10Z</dc:date>
    </item>
  </channel>
</rss>

