Select to view content in your preferred language

FeatureLayer cluster, break at a scale level

918
2
10-23-2012 02:32 PM
Jitendrudulacaraju
Emerging Contributor
<esri:FeatureLayer.Clusterer>
                    <esri:FlareClusterer FlareBackground="Red" FlareForeground="Black" MaximumFlareCount="4" />
  </esri:FeatureLayer.Clusterer>

I have a situation, in the cluster of feature layers, if there are 2 or more points at the same location, the cluster, say, shows a 2 flarecluster. How much ever zoomed in the cluster does break out into individual points. Is there a way where I can simply break the cluster at a certain preset zoom level to break it so I can have individual points rendered rather than the flare?
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Is there a way where I can simply break the cluster at a certain preset zoom level to break it so I can have individual points rendered rather than the flare?


You could break the cluster in an handler wired up to Map.ExtentChanged event (set or reset the clsuter depending on map scale).
That being said, if you have 2 points at the same location you will see both symbols overlapping so not sure it's better.
0 Kudos
Jitendrudulacaraju
Emerging Contributor
You could break the cluster in an handler wired up to Map.ExtentChanged event (set or reset the clsuter depending on map scale).
That being said, if you have 2 points at the same location you will see both symbols overlapping so not sure it's better.


I did exactly the same thing, cluster break when a certain scale is reached. But the second part of overlapping symbols is something I am working on, just for a work around I gave a check box to cluster / uncluster to help user flare out and choose a point of interest.
Thanks for your suggestions.
0 Kudos