<?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: SimpleFillSymbol does not work in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279982#M25861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this symbol will give you something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" height="304" src="https://community.esri.com/legacyfs/online/207680_Capture.PNG" style="width: 410px; height: 304.855px;" width="410" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 08:35:25 GMT</pubDate>
    <dc:creator>PanagiotisPapadopoulos</dc:creator>
    <dc:date>2016-06-14T08:35:25Z</dc:date>
    <item>
      <title>SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279980#M25859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Whenever I try to set a style other than 'solid' on a SimpleFillSymbol, the geometry gets rendered empty, with only the outline being drawn. Is this a known issue? I couldn't find any similar posts on this forum. &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279980#M25859</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-06-14T07:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279981#M25860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt; symbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_NONE, new SimpleLineSymbol(SimpleLineSymbol.STYLE_DASHDOT, new Color([255,0,0]), 2), new Color([255,255,0,0.25]));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279981#M25860</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-06-14T08:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279982#M25861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this symbol will give you something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" height="304" src="https://community.esri.com/legacyfs/online/207680_Capture.PNG" style="width: 410px; height: 304.855px;" width="410" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279982#M25861</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-06-14T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279983#M25862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to be working correctly with the Simple Fill sample. In the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=visualization-vv-color" rel="nofollow noopener noreferrer" target="_blank"&gt;sandbox&lt;/A&gt;, if you make this change to the code, the polygons are symbolized with a diagonal cross hatching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var defaultSym = new SimpleFillSymbol({
&amp;nbsp;&amp;nbsp;&amp;nbsp; outline: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: "red",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 0.5
&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp; style: "diagonal-cross"
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279983#M25862</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T13:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279984#M25863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you attempting this in a SceneView? If so, then you will see the behavior you're describing. Notice the note for known limitations in the documentation for the style property in SimpleFillSymbol - &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html#style"&gt;SimpleFillSymbol | API Reference | ArcGIS API for JavaScript 4.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If working in a SceneView, then I recommend you use a FillSymbol3DLayer inside a PolygonSymbol3D although it still doesn't yet support styles other than a solid fill.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The working cross style in MapView - &lt;A href="https://jsbin.com/rahayecore/edit?html,output" title="https://jsbin.com/rahayecore/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you do the same in a SceneView - &lt;A href="https://jsbin.com/xeniduleta/edit?html,output" title="https://jsbin.com/xeniduleta/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging &lt;/A&gt;​ Then it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279984#M25863</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-06-14T18:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279985#M25864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using a MapView. I was also able to create a correct SimpleFillSymbol in a purely&amp;nbsp; JS environment. We are, however, working on an Angular2 application, where the ESRI JS API is loaded as a bower dependency. I am not sure if this plays a role or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279985#M25864</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-06-14T19:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279986#M25865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Clarifying, David. Could you share a code snippet or live sample of your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-does-not-work/m-p/279986#M25865</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-06-14T20:23:03Z</dc:date>
    </item>
  </channel>
</rss>

