<?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: Get features symbol in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296355#M7033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get the symbols defined for the layer on the server using the DetailsTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/tasks/DetailsTask.html"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/tasks/DetailsTask.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerDetails.html#drawingInfo"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerDetails.html#drawingInfo&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 03:27:30 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2013-10-24T03:27:30Z</dc:date>
    <item>
      <title>Get features symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296353#M7031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After querying feature layer I receive FeatureSet. I can get each graphic in FeatureSet. The problem is I can not get symbol of the graphics. It seems to be null. The piece of code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private function queryS():void {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTaskMain.execute(queryMain, new AsyncResponder(onResult, onFault));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function onResult(featureSet:FeatureSet, token:Object = null):void {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each(var graphic : Graphic in featureSet.features) {

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbs.push(graphic.symbol);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I receive nulls in Array. Is this a correct way to get feature's symbols?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296353#M7031</guid>
      <dc:creator>AndrzejMilosz</dc:creator>
      <dc:date>2013-10-22T15:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get features symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296354#M7032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have not defined the symbol, the symbol property will be null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your going to have to set it first to your desired symbol (depending on the geometry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;more information on the types of symbols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/symbols/package-detail.html"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/symbols/package-detail.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296354#M7032</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2013-10-23T17:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get features symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296355#M7033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get the symbols defined for the layer on the server using the DetailsTask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/tasks/DetailsTask.html"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/tasks/DetailsTask.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerDetails.html#drawingInfo"&gt;https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/supportClasses/LayerDetails.html#drawingInfo&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 03:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/get-features-symbol/m-p/296355#M7033</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2013-10-24T03:27:30Z</dc:date>
    </item>
  </channel>
</rss>

