Select to view content in your preferred language

Problem with Flare clusterer

514
2
02-25-2011 11:13 AM
PhilDegler
Emerging Contributor
I have a feature layer setup to use flare clusters if there are 10 or less features to display together.  Using filtering criteria on my silverlight form, I change the "where" clause behind the layer to apply the filtering.  The flare clusterer seems to work fine.  Let's say that for a specific date range on my feature layer I'll end up with something like 5 individual feature graphics and 3 flare cluster graphics.

A weird thing then happens when I update the "where" clause on the layer to something that would not return any features.  For example, I pick a date range where there just doesn't happen to be any feature data to display.  When I update the feature layer with this where clause, the individual feature graphics will disappear as I would expect, but the flare clusters will remain as if the previous query was still in place.  It took me a while to figure this out as I thought that I was somehow screwing up the filtering query.  It just seems that the flare clusters are not cleared along with the other feature graphics.  If the new filtering query would return data, then the clusters work as they should.

Has anyone else run into this?
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
This is related thread: http://forums.arcgis.com/threads/17438-Clustering-time-aware-queries.

This bug will be addressed in v2.2 beta.
0 Kudos
PhilDegler
Emerging Contributor
Thanks Jennifer,

I decided to apply or remove the clusterer in code-behind as was suggested in the thread you mentioned.  That seemed to do the trick in a roundabout way.

Phil
0 Kudos