<?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: Clustering, time-aware,  queries in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502908#M12893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, Refresh()&amp;nbsp; worked for me too.&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, 17 Nov 2010 12:42:43 GMT</pubDate>
    <dc:creator>DeminHu</dc:creator>
    <dc:date>2010-11-17T12:42:43Z</dc:date>
    <item>
      <title>Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502904#M12889</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;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on two issures, any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1. Clustering on the map does not change when value changes on timeslider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#2. When&amp;nbsp; query a feature layers, if the returned records is 0, the clustering not change, still display on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:53:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502904#M12889</guid>
      <dc:creator>DeminHu</dc:creator>
      <dc:date>2010-11-16T16:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502905#M12890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Demin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have encountered the same behavior of time-aware GraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Clusters don't change when the value of the time slider changes: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To resolve this problem, I am manually removing/adding the graphics from/to the GraphicsLayer that are not within the Curent Slider Value TimeExtent. To accomplish this I am performing a loop during the ValueChanged event handler of the TimeSlider. Be aware, the OldValue and NewValue of the TimeSlider.ValueChangedEventArgs are reversed. Kind of cumbursome, but it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is the option to use LINQ to SQL to filter the Graphics by the TimeExtent, and assign the result to the Graphics of the GraphicsLayer, but I didn't like the jumping of the graphics on the screen when the new GraphicCollection is assigned. It defeats the purpose of using a time slider to smoothly remove/add graphics. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When the count of the graphics is 0, the clusters don't clear:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Same behavior on the GraphicsLayer, and I found out that graphicsLayer.Refresh() fixes the problem. So, you might try to call Refresh during the featureLayer_UpdateCompleted if the count of the graphics is 0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you decide to go the way of manually removing/adding graphics, let me know, and I will post the code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope, this will be resolved soon. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 20:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502905#M12890</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-11-16T20:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502906#M12891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1,&amp;nbsp; I did the same thing as you suggested, it wroked as you described, but I do hope there is a more smoothly way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#2, I tried us refresh(), it didn't work for me, so I just set the cluster to null, when the result records is 0, if it is not 0, I reset the cluster to the one I declared in the code. so I moved the flarecluster from .xaml to the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you could kindly post your code here, certainly will help&amp;nbsp; many people they may need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:07:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502906#M12891</guid>
      <dc:creator>DeminHu</dc:creator>
      <dc:date>2010-11-16T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502907#M12892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for reporting this. We will try to get this fixed in future releases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 23:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502907#M12892</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-16T23:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502908#M12893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Darina&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, Refresh()&amp;nbsp; worked for me too.&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, 17 Nov 2010 12:42:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502908#M12893</guid>
      <dc:creator>DeminHu</dc:creator>
      <dc:date>2010-11-17T12:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clustering, time-aware,  queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502909#M12894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just want to thank too!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 17:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/clustering-time-aware-nbsp-queries/m-p/502909#M12894</guid>
      <dc:creator>LuisCÃ_spedes</dc:creator>
      <dc:date>2011-04-04T17:18:08Z</dc:date>
    </item>
  </channel>
</rss>

