<?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: Why is Silverlight Ignoring my Feature Symbol in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563112#M14511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;Is there a difference between setting where clause on featurelayer vs running a querytask...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Globally' one can say that a FeatureLayer is a GraphicsLayer running for you the query task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you look at the details, a featurelayer is much more than that. It adds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- default symbology&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- time extent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- editing capabilities with save option&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- querymode (ondemand, selectiononly)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- attribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp; &lt;BR /&gt;Now, my client would like me to NOT show (all) features, just the query results (using the default msd renderer)...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, to display a query result with the default symbology, you might use a feature layer in selectinonly mode ant put the graphics coming from your query in this layer in order to take advantage of the automatic symbology (in short, replace your graphicslayer with pushpin symbology by a featurelayer in selectionlonly mode)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Aug 2011 08:30:11 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-08-31T08:30:11Z</dc:date>
    <item>
      <title>Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563108#M14507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My application worked perfectly a few months ago.&amp;nbsp; Since then the client has upgraded to the latest version of ArcGIS Server (10.something, I believe).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, all of a sudden, the map ignores my Feature Symbols and uses instead the symbology associated with the map in Arc, presumably as specified by the REST service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That would be fine, except I have some cool mouse-over animations that are now being ignored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone else encounter this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 16:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563108#M14507</guid>
      <dc:creator>AaronEdwards1</dc:creator>
      <dc:date>2011-04-13T16:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563109#M14508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are right. From ArcGIS server 10, the feature layer rest end point provides symbology informations and this info is used as default renderer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are 2 possible workarounds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- on event featurelayer_initialized, you reset the renderer to null so your featuresymbol will be used,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- instead of setting a feature symbol, you can set a 'SimpleRenderer' using that feature symbol. This simple renderer won't be overwritten by the default renderer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 06:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563109#M14508</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-04-14T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563110#M14509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, thank you Dominique.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used a renderer with the same symbol, and it worked perfectly.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are Symbols specified in Feature Layers depricated now?&amp;nbsp; The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/index.html#/Adding_MapTips/01660000001z000000/"&gt;documentation&lt;/A&gt;&lt;SPAN&gt; still lists it this way, by the way.&amp;nbsp; &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;Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 16:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563110#M14509</guid>
      <dc:creator>AaronEdwards1</dc:creator>
      <dc:date>2011-05-06T16:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563111#M14510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dominique...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a difference between setting where clause on featurelayer vs running a&amp;nbsp; querytask...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I am a bit stumped. My current querytask returns results that I build in MyGraphicsLayer as RedPushPins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a ArcGISDynamicMapLayer for the layers in this map, plus N feature layers for my OnDemand MapTips; So when user queries, I set visibility of these two items to true, and draw the push pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, my client would like me to NOT show (all) features, just the query results (using the default msd renderer)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what is the right way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 20:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563111#M14510</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2011-08-30T20:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563112#M14511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;Is there a difference between setting where clause on featurelayer vs running a querytask...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Globally' one can say that a FeatureLayer is a GraphicsLayer running for you the query task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you look at the details, a featurelayer is much more than that. It adds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- default symbology&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- time extent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- editing capabilities with save option&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- querymode (ondemand, selectiononly)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- attribution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp; &lt;BR /&gt;Now, my client would like me to NOT show (all) features, just the query results (using the default msd renderer)...&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, to display a query result with the default symbology, you might use a feature layer in selectinonly mode ant put the graphics coming from your query in this layer in order to take advantage of the automatic symbology (in short, replace your graphicslayer with pushpin symbology by a featurelayer in selectionlonly mode)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 08:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563112#M14511</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-08-31T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Silverlight Ignoring my Feature Symbol</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563113#M14512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You for this feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have solved this problem of wanting to display pushpin and default symbology on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query results as well as preserving the ability to check/uncheck layer visibility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on a layer that may have query results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/38544-Complex-Queries-Client-wants-PushPin-Symbology-and-MSD-symbology-on-RESULTS?p=130405#post130405"&gt;http://forums.arcgis.com/threads/38544-Complex-Queries-Client-wants-PushPin-Symbology-and-MSD-symbology-on-RESULTS?p=130405#post130405&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 15:08:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/why-is-silverlight-ignoring-my-feature-symbol/m-p/563113#M14512</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2011-08-31T15:08:24Z</dc:date>
    </item>
  </channel>
</rss>

