<?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 style does not work in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316095#M29081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry.&amp;nbsp; Test the following on the Esri sample (&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/get-started-graphics/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/get-started-graphics/live/index.html"&gt;Get started with graphics - 4.0&lt;/A&gt; ) and it works:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14658966176281623 jive_text_macro" data-renderedposition="34_8_1315_16" jivemacro_uid="_14658966176281623"&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;polygonGraphic.symbol.style = "diagonal-cross"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 09:30:35 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2016-06-14T09:30:35Z</dc:date>
    <item>
      <title>SimpleFillSymbol style does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316092#M29078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&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;/P&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>Sat, 11 Jun 2016 11:07:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316092#M29078</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-06-11T11:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol style does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316093#M29079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you setting the style of the graphic?&amp;nbsp; See &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/simplefillsymbol-amd.html#setstyle" title="https://developers.arcgis.com/javascript/3/jsapi/simplefillsymbol-amd.html#setstyle" rel="nofollow noopener noreferrer" target="_blank"&gt;SimpleFillSymbol | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So for example, this works:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var graphic = map.graphics.graphics[0];&amp;nbsp; // first graphic of map graphics list (assuming it is a polygon)
graphic.symbol.setStyle(esri.symbol.SimpleFillSymbol.STYLE_HORIZONTAL);
&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;map.graphics.&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;redraw();&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316093#M29079</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2021-12-11T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol style does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316094#M29080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using JSAPI 4.0 and developing in Typescript. We tried setting the value in the constructor, afterwards, with and without specifying color - the result is the same. Nothing is rendered unless the style is 'solid'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316094#M29080</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-06-14T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol style does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316095#M29081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry.&amp;nbsp; Test the following on the Esri sample (&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/get-started-graphics/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/get-started-graphics/live/index.html"&gt;Get started with graphics - 4.0&lt;/A&gt; ) and it works:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14658966176281623 jive_text_macro" data-renderedposition="34_8_1315_16" jivemacro_uid="_14658966176281623"&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;polygonGraphic.symbol.style = "diagonal-cross"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316095#M29081</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-06-14T09:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol style does not work</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316096#M29082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The description says thath the property is not supported for 3D SceneViews: &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-style-does-not-work/m-p/316096#M29082</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-06-14T09:37:25Z</dc:date>
    </item>
  </channel>
</rss>

