<?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: ArcGISDynamicMapServiceLayer - Shaging Polygons in JavaScript Based on Ranges in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgisdynamicmapservicelayer-shaging-polygons-in/m-p/639843#M59736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know, you can't do this with a Dynamic layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead, you could add your polygons as a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm"&gt;Feature layer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A feature layer can have a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/renderer.htm"&gt;renderer&lt;/A&gt;&lt;SPAN&gt;, which would allow you to specify your desired class breaks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2011 03:10:53 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-09-05T03:10:53Z</dc:date>
    <item>
      <title>ArcGISDynamicMapServiceLayer - Shaging Polygons in JavaScript Based on Ranges</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgisdynamicmapservicelayer-shaging-polygons-in/m-p/639842#M59735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to the API, I have successfully added a ArcGISDynamicMapServiceLayer of postcode boundaries to my map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if there is a way of changing the color of these polygons in the JavaScript based on a range of data that is stored in the service? For example: all polygons with a feature attribute "income" and a&amp;nbsp; value of "1" are shaded red.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this is probably possible at the service level, however I would prefer not to have to create a new service for each range of values that I need to shade the polygons for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that possible at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 02:31:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgisdynamicmapservicelayer-shaging-polygons-in/m-p/639842#M59735</guid>
      <dc:creator>MattBrunsdon</dc:creator>
      <dc:date>2011-09-05T02:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISDynamicMapServiceLayer - Shaging Polygons in JavaScript Based on Ranges</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgisdynamicmapservicelayer-shaging-polygons-in/m-p/639843#M59736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I know, you can't do this with a Dynamic layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead, you could add your polygons as a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm"&gt;Feature layer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A feature layer can have a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/renderer.htm"&gt;renderer&lt;/A&gt;&lt;SPAN&gt;, which would allow you to specify your desired class breaks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 03:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgisdynamicmapservicelayer-shaging-polygons-in/m-p/639843#M59736</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-09-05T03:10:53Z</dc:date>
    </item>
  </channel>
</rss>

