<?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 alpha value producing different color across multiple polygons in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665515#M62159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No duplicates, just double checked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 19:27:32 GMT</pubDate>
    <dc:creator>AndrewRousseau</dc:creator>
    <dc:date>2017-01-12T19:27:32Z</dc:date>
    <item>
      <title>SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665512#M62156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of the polygons below are produced with the same color settings with 125 as the alpha value,&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/300465_Screen Shot 2017-01-12 at 10.14.36 AM.png" style="width: 620px; height: 137px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you can see the result is different in each polygon.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/300466_Screen Shot 2017-01-12 at 10.14.00 AM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to get a consistent color with the same opacity in each? &amp;nbsp;I did double check and I'm pretty sure&amp;nbsp;none of the polygons overlap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 18:38:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665512#M62156</guid>
      <dc:creator>AndrewRousseau</dc:creator>
      <dc:date>2017-01-12T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665513#M62157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are any of the polygons duplicated in the json?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 18:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665513#M62157</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-12T18:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665514#M62158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which API version are you using?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:00:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665514#M62158</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2017-01-12T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665515#M62159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No duplicates, just double checked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665515#M62159</guid>
      <dc:creator>AndrewRousseau</dc:creator>
      <dc:date>2017-01-12T19:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665516#M62160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://js.arcgis.com/3.18/&amp;quot;" title="https://js.arcgis.com/3.18/&amp;quot;"&gt;https://js.arcgis.com/3.18/"&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665516#M62160</guid>
      <dc:creator>AndrewRousseau</dc:creator>
      <dc:date>2017-01-12T19:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665517#M62161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not able to independently verify this in a simple test app. I would need to see a sample with more of your code in context. Are you able to share this in jsbin or some other way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665517#M62161</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2017-01-12T19:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665518#M62162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The range for alpha should be a value from 0 to 1. &amp;nbsp;Maybe that is creating your inconsistency?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665518#M62162</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2017-01-12T19:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665519#M62163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When loading a symbol from JSON the range is 0-255.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Symbol_Objects/02r3000000n5000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Symbol_Objects/02r3000000n5000000/"&gt;ArcGIS REST API&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665519#M62163</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2017-01-12T19:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleFillSymbol alpha value producing different color across multiple polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665520#M62164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. &amp;nbsp;I was looping through the array of shapes from my database and conditionally only showing some of them based on filters on the page. &amp;nbsp;However, I neglected to include the "map.graphics.add(new Graphic(poly, sym));" call inside the condition so it was adding empty Graphic entries which for some reason was causing the color inconsistencies.&amp;nbsp; Thanks to @Kristian Ekenes as I discovered this in trying to create a sample of the code to post for debugging. &amp;nbsp;Thanks to everyone for your input, hopefully this post will help someone else debug this issue in the future if they make the same mistake!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplefillsymbol-alpha-value-producing-different/m-p/665520#M62164</guid>
      <dc:creator>AndrewRousseau</dc:creator>
      <dc:date>2017-01-12T20:43:55Z</dc:date>
    </item>
  </channel>
</rss>

