<?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 Read Symbology From REST in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/read-symbology-from-rest/m-p/653591#M14589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I bring feature layers into a map I can specify symbology by adding tags like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;esri:symbol&amp;gt;
&amp;nbsp; &amp;lt;esri:SimpleMarkerSymbol color="0xFFCC00" alpha="1" size="12" style="circle"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:outline&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleLineSymbol color="0x000000" style="solid" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:outline&amp;gt;
&amp;lt;/esri:SimpleMarkerSymbol&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm interested in doing it reading it from the REST service and not having to specify the symbol like I have in the code above.&amp;nbsp; Is there a way to get these same properties - color, outline, symbol, etc. from a feature layer.&amp;nbsp; I looked through the properties in debug mode, but didn't know if I should use the graphic provider or graphics collection.&amp;nbsp; It would really help to see how it's called in code.&amp;nbsp; I'm working on my own version of a legend and I'd really like to get information for the symbols to help me build the legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 19:12:10 GMT</pubDate>
    <dc:creator>chuckfrank</dc:creator>
    <dc:date>2013-02-08T19:12:10Z</dc:date>
    <item>
      <title>Read Symbology From REST</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/read-symbology-from-rest/m-p/653591#M14589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I bring feature layers into a map I can specify symbology by adding tags like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;esri:symbol&amp;gt;
&amp;nbsp; &amp;lt;esri:SimpleMarkerSymbol color="0xFFCC00" alpha="1" size="12" style="circle"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:outline&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleLineSymbol color="0x000000" style="solid" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:outline&amp;gt;
&amp;lt;/esri:SimpleMarkerSymbol&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm interested in doing it reading it from the REST service and not having to specify the symbol like I have in the code above.&amp;nbsp; Is there a way to get these same properties - color, outline, symbol, etc. from a feature layer.&amp;nbsp; I looked through the properties in debug mode, but didn't know if I should use the graphic provider or graphics collection.&amp;nbsp; It would really help to see how it's called in code.&amp;nbsp; I'm working on my own version of a legend and I'd really like to get information for the symbols to help me build the legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 19:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/read-symbology-from-rest/m-p/653591#M14589</guid>
      <dc:creator>chuckfrank</dc:creator>
      <dc:date>2013-02-08T19:12:10Z</dc:date>
    </item>
  </channel>
</rss>

