<esri:FeatureLayer ID="Well" Url="http://bkgis02/ArcGIS/rest/services/Global/Well-FeatureLayer/MapServer/0" Mode="OnDemand" OnDemandCacheSize="75000" OutFields="WELL_NME,WELL_API_NBR"> <esri:FeatureLayer.MapTip> ...
void Map_ExtentChanged(Object sender, ExtentEventArgs e) { FeatureLayer featureLayer = ((FeatureLayer)Map.Layers[7]); if (Map.Resolution > 2) { if (featureLayer.Clusterer == null) featureLayer.Clusterer = flareClusterer; } else featureLayer.Clusterer = null; }
void Map_ExtentChanged(object sender, ExtentEventArgs e) { if (Map.Resolution > 3) Clusterer.Radius = ClusterRadius; else Clusterer.Radius = 1; //Radius 0 doesn't work }
we did this through server-side clustering solutions, please check out the link:
i have 60 lac points how can i display cluster
if (MyMap.Scale >= 6000000)
{
.......
}
else if (MyMap.Scale <= 6000000 && MyMap.Scale >= 500000)
{
.........
}
else if (MyMap.Scale < 500000)
{
....................
}