You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/MAUI/Maui.Samples/Samples/Layers/DisplayClusters/DisplayClusters.xaml.cs
+37-8
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,22 @@
9
9
10
10
usingEsri.ArcGISRuntime.Data;
11
11
usingEsri.ArcGISRuntime.Mapping;
12
+
usingEsri.ArcGISRuntime.Mapping.Popups;
12
13
usingEsri.ArcGISRuntime.Portal;
14
+
usingEsri.ArcGISRuntime.Reduction;
13
15
14
16
namespaceArcGIS.Samples.DisplayClusters
15
17
{
16
18
[ArcGIS.Samples.Shared.Attributes.Sample(
17
19
name:"Display clusters",
18
20
category:"Layers",
19
21
description:"Display a web map with a point feature layer that has feature reduction enabled to aggregate points into clusters.",
20
-
instructions:"Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is on, you can tap on a clustered geoelement to view aggregated information and summary statistics for that cluster. When clustering is toggled off and you tap on the original feature you get access to information about individual power plant features.",
22
+
instructions:"Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is on, you can click on a clustered geoelement to view aggregated information and summary statistics for that cluster as well as a list geo elements in the identified cluster. When clustering is toggled off and you click on the original feature you get access to information about individual power plant features.",
Copy file name to clipboardexpand all lines: src/MAUI/Maui.Samples/Samples/Layers/DisplayClusters/readme.md
+4
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ Pan and zoom the map to view how clustering is dynamically updated. Toggle clust
33
33
34
34
This sample uses a [web map](https://www.arcgis.com/home/item.html?id=8916d50c44c746c1aafae001552bad23) that displays the Esri [Global Power Plants](https://www.arcgis.com/home/item.html?id=eb54b44c65b846cca12914b87b315169) feature layer with feature reduction enabled. When enabled, the aggregate features symbology shows the color of the most common power plant type, and a size relative to the average plant capacity of the cluster.
35
35
36
+
## Additional information
37
+
38
+
Graphics in a graphics overlay can also be aggregated into clusters. To do this, set the `FeatureReduction` property on the `GraphicsOverlay` to a new `ClusteringFeatureReduction`.
description:"Display a web map with a point feature layer that has feature reduction enabled to aggregate points into clusters.",
25
-
instructions:"Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is on, you can click on a clustered geoelement to view aggregated information and summary statistics for that cluster. When clustering is toggled off and you click on the original feature you get access to information about individual power plant features.",
28
+
instructions:"Pan and zoom the map to view how clustering is dynamically updated. Toggle clustering off to view the original point features that make up the clustered elements. When clustering is on, you can click on a clustered geoelement to view aggregated information and summary statistics for that cluster as well as a list geo elements in the identified cluster. When clustering is toggled off and you click on the original feature you get access to information about individual power plant features.",
Copy file name to clipboardexpand all lines: src/WPF/WPF.Viewer/Samples/Layers/DisplayClusters/readme.md
+4
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ Pan and zoom the map to view how clustering is dynamically updated. Toggle clust
33
33
34
34
This sample uses a [web map](https://www.arcgis.com/home/item.html?id=8916d50c44c746c1aafae001552bad23) that displays the Esri [Global Power Plants](https://www.arcgis.com/home/item.html?id=eb54b44c65b846cca12914b87b315169) feature layer with feature reduction enabled. When enabled, the aggregate features symbology shows the color of the most common power plant type, and a size relative to the average plant capacity of the cluster.
35
35
36
+
## Additional information
37
+
38
+
Graphics in a graphics overlay can also be aggregated into clusters. To do this, set the `FeatureReduction` property on the `GraphicsOverlay` to a new `ClusteringFeatureReduction`.
0 commit comments