<?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 Get values used to define a renderer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663255#M61898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please show me some code that allows me to get the values of a layer's renderer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I mean is this: If I define a classification in my service where a shape is symbolised differently based on a value (e.g. 'A' = blue, 'B' = red 'C' = green), then this automatically comes through in the editing template picker for the user to pick the type of feature they want to draw.&amp;nbsp; I don't want to use the template picker however, I just want to be able to programmatically get the values which define the symbology for this layer, 'A', 'B' and 'C' so that I can do other things with the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have had a look through the reference material, but to be honest I'm not sure of the best place to start, and if anyone has done this already it could save an awful lot of time, so any help would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 14:46:59 GMT</pubDate>
    <dc:creator>MarkSmith</dc:creator>
    <dc:date>2011-08-26T14:46:59Z</dc:date>
    <item>
      <title>Get values used to define a renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663255#M61898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please show me some code that allows me to get the values of a layer's renderer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I mean is this: If I define a classification in my service where a shape is symbolised differently based on a value (e.g. 'A' = blue, 'B' = red 'C' = green), then this automatically comes through in the editing template picker for the user to pick the type of feature they want to draw.&amp;nbsp; I don't want to use the template picker however, I just want to be able to programmatically get the values which define the symbology for this layer, 'A', 'B' and 'C' so that I can do other things with the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have had a look through the reference material, but to be honest I'm not sure of the best place to start, and if anyone has done this already it could save an awful lot of time, so any help would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 14:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663255#M61898</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-08-26T14:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get values used to define a renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663256#M61899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get this info from the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/index.html"&gt;REST API&lt;/A&gt;&lt;SPAN&gt;. Each layer has an endpoint you can hit:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/2?f=pjson"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer/2?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer's drawingInfo object contains a renderer that tells you how each value or range of values is symbolized.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 16:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663256#M61899</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-08-29T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get values used to define a renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663257#M61900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah yes, of course.&amp;nbsp; I can work with that, thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great if future developments of the API could see some properties of a layer exposed through JavaScript, such as the information I needed here, but also a layer's geometry type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 08:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-values-used-to-define-a-renderer/m-p/663257#M61900</guid>
      <dc:creator>MarkSmith</dc:creator>
      <dc:date>2011-08-30T08:20:52Z</dc:date>
    </item>
  </channel>
</rss>

