<?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: 3.2 Feature Layer Graphic Symbol Null in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427427#M11014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The symbology is defined in the service (in the mxd).&amp;nbsp; I'm not changing the symbol, just how it behaves, if that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the code I posted above.&amp;nbsp; With 3.1, g.symbol is not null, and contains the specific symbol information for each graphic.&amp;nbsp; In 3.2, g.symbol is null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 14:59:33 GMT</pubDate>
    <dc:creator>dmacq</dc:creator>
    <dc:date>2014-10-09T14:59:33Z</dc:date>
    <item>
      <title>3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427423#M11010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the Updated event of a given feature layer, I'm applying a custom control template to the symbol of each graphic.&amp;nbsp; In 3.2, the symbols of each graphic are null, which was not the case in 3.1.&amp;nbsp; I've set RendererTakesPrecedence to false, and have set the Renderer to null with no luck.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else notice this? Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 18:59:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427423#M11010</guid>
      <dc:creator>dmacq</dc:creator>
      <dc:date>2014-06-26T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427424#M11011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure what you want to do exactly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most generally the symbology is based on a renderer, in this case, for changing the symbology, you have to change the symbols used by the renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, if you want to set a particular symbol by graphic you have to set it manually then Graphic.Symbol should return this symbol.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 15:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427424#M11011</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-07-02T15:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427425#M11012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to apply a custom control template to the existing symbol of a graphic.&amp;nbsp; For instance, I have a construction area layer that is yellow with a gray border.&amp;nbsp; When a user mouses over an individual construction area, the border gets thicker and the opacity goes from .5 to 1, giving it an interactive "feeling".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've accomplished this with no issues in 3.1 by applying a control template dynamically to the symbol of this and many other features. In 3.2, when trying to access the symbol of any graphic, it is null, so I can no longer apply my control template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14128662813959515 jive_text_macro" jivemacro_uid="_14128662813959515" modifiedtitle="true"&gt;
&lt;P&gt;ControlTemplate ct = MyFeatureControlTemplate(fLayer);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;foreach (Graphic g in fLayer.Graphics)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(g.Symbol != null)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Symbol.ControlTemplate = ct;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 14:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427425#M11012</guid>
      <dc:creator>dmacq</dc:creator>
      <dc:date>2014-10-09T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427426#M11013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your symbology is defined by a renderer, you have to change the symbol of the renderer.&lt;/P&gt;&lt;P&gt;If your symbology is defined by graphic, you should be able to get the symbol from the graphic and modify it.&lt;/P&gt;&lt;P&gt;How is defined your symbology?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 14:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427426#M11013</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-09T14:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427427#M11014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The symbology is defined in the service (in the mxd).&amp;nbsp; I'm not changing the symbol, just how it behaves, if that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the code I posted above.&amp;nbsp; With 3.1, g.symbol is not null, and contains the specific symbol information for each graphic.&amp;nbsp; In 3.2, g.symbol is null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 14:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427427#M11014</guid>
      <dc:creator>dmacq</dc:creator>
      <dc:date>2014-10-09T14:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427428#M11015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I see. It was actually a bug in 3.1. In 3.1, the symbols coming from the renderer were also stored by the graphics.&lt;/P&gt;&lt;P&gt;The issue was that any change in the renderer was ignored since the symbols were froozen by graphic.&lt;/P&gt;&lt;P&gt;This has been fixed in 3.2 so graphic.Symbol is always null but it has been set explicetly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your case, the solution should be to get the renderer of your feature layer and change (or update) the symbols of the renderer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 15:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427428#M11015</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-10-09T15:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: 3.2 Feature Layer Graphic Symbol Null</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427429#M11016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the clarification, Dominique.&amp;nbsp; I'll work on the solution you suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:57:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/3-2-feature-layer-graphic-symbol-null/m-p/427429#M11016</guid>
      <dc:creator>dmacq</dc:creator>
      <dc:date>2014-10-17T12:57:03Z</dc:date>
    </item>
  </channel>
</rss>

