<?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: Dynamic Feature Layer Symbology in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403343#M9412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that SOAP API is option, but since i'm not experienced in SOAP wonder if it is better to upgrade to ver. 10 and use FeatureLayer, selv I havn't used ver 10 and i'm not sure actually how to that with FeatureLayer...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 10:05:55 GMT</pubDate>
    <dc:creator>RadmilPopovic</dc:creator>
    <dc:date>2010-12-10T10:05:55Z</dc:date>
    <item>
      <title>Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403341#M9410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map consist of polygons where each polygon has many attributes. In ArcMap I can show attributes??? values by symbolizing layers&amp;nbsp; using Categories/Quantities/Field/Classification tools in Layer Property. Changing classifications I change the map geometry. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to achieve the same functionality in Flex application so that the user on the client side changing the&amp;nbsp; number of classes or break values can change the map. Still more,&amp;nbsp; f.e moving slider which represents&amp;nbsp; nominal values of one attribute from Xmin to X max.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I still use ArcGis 9.3.1 and as I understood, ArcGis Server&amp;nbsp; 9.3.1 couldn???t do it since REST API&amp;nbsp; is stateless and symbology from map service isn???t used. Does ArcGis Server 10 support dynamic symbology?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea/example how to make Flex appl. where user can explore/change the map by changing value of one layer???s attribute ???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 11:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403341#M9410</guid>
      <dc:creator>RadmilPopovic</dc:creator>
      <dc:date>2010-12-08T11:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403342#M9411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to get the symbology in a dynamic way in 9.3.1, you can use the SOAP API inside Flex (using the Webservice class). You need to investigate if all the changes you made into your layer (i.e. Classification) is applied and returned from the SOAP API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 11:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403342#M9411</guid>
      <dc:creator>WallaceBezerra</dc:creator>
      <dc:date>2010-12-09T11:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403343#M9412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that SOAP API is option, but since i'm not experienced in SOAP wonder if it is better to upgrade to ver. 10 and use FeatureLayer, selv I havn't used ver 10 and i'm not sure actually how to that with FeatureLayer...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 10:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403343#M9412</guid>
      <dc:creator>RadmilPopovic</dc:creator>
      <dc:date>2010-12-10T10:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403344#M9413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the FeatureLayer with ArcGIS Server 9.3. It won't get its renderer from the server so you'll need to configure that in your app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's one sample showing a renderer set on a GraphicsLayer which you can switch for a FeatureLayer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Renderer"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Renderer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's another sample showing a FeatureLayer using a 9.3 service and a renderer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayer_InfoWindow"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayer_InfoWindow&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can modify the renderer at runtime and then have the FeatureLayer redraw by resetting its renderer property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 15:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403344#M9413</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-12-10T15:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403345#M9414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to use renderers like in the examples provided by dpaddock but using Actionscript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403345#M9414</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-28T09:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403346#M9415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yo_Haha&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, anything written in mxml can also be written in ActionScript. Take a look at the API Reference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/concepts/index.html#//017p00000028000000"&gt;http://resources.arcgis.com/en/help/flex-api/concepts/index.html#//017p00000028000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403346#M9415</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-28T09:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403347#M9416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question. I have a feature layer that I'd like to display using a SimpleMarkerSymbol. So I'm using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var psi:FeatureLayer = new FeatureLayer("url");
psi.definitionExpression = "ID_PDI IN " + listePDI; // listePDI is a string like this : "(12, 76, 45)"&amp;nbsp;&amp;nbsp;&amp;nbsp; 
var symbol:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 0x00FF00);
psi.renderer = new SimpleRenderer(symbol);
Main(this.parentApplication).mainMap.addLayer(psi); // because the feature layer is declared inside a &amp;lt;fx:component&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I get a black screen when I execute that code. When I comment the line : &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;psi.renderer = new SimpleRenderer(symbol);&lt;/PRE&gt;&lt;SPAN&gt; I don't have a black screen but I don't get the symbol I want either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any hint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:23:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403347#M9416</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2021-12-11T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403348#M9417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it because you are missing your marker size when you create your simple marker symbol:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var symbol:SimpleMarkerSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CIRCLE, 0x00FF00);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the function definition is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SimpleMarkerSymbol(style:String, size:Number = 15, color:Number = 0x000000, alpha:Number = 1, xoffset:Number = 0, yoffset:Number = 0, angle:Number = 0, outline:SimpleLineSymbol = null)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403348#M9417</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-28T13:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403349#M9418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thought all parameters of the function, except style, were optional since they have by default values. Well, that's not the case!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I added all other parameters and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Anthony &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:33:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403349#M9418</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-28T13:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403350#M9419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please don't forget to mark the post as answered,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 14:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403350#M9419</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-28T14:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403351#M9420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not the author so... &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 15:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403351#M9420</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-28T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Feature Layer Symbology</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403352#M9421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes sorry, it's also a discussion thread not a question and answer thread, so I'm wrong on so any levels,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 16:36:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-feature-layer-symbology/m-p/403352#M9421</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-28T16:36:30Z</dc:date>
    </item>
  </channel>
</rss>

