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: articles/azure-maps/clustering-point-data-web-sdk.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Clustering point data in the Web SDK | Microsoft Azure Maps
3
3
description: Learn how to cluster point data on maps. See how to use the Azure Maps Web SDK to cluster data, react to cluster mouse events, and display cluster aggregates.
4
4
author: sinnypan
5
5
ms.author: sipa
6
-
ms.date: 07/29/2019
6
+
ms.date: 08/29/2024
7
7
ms.topic: how-to
8
8
ms.service: azure-maps
9
9
ms.subservice: web-sdk
@@ -55,7 +55,7 @@ To display the size of the cluster on top of the bubble, use a symbol layer with
55
55
56
56
For a complete working sample of how to implement displaying clusters using a bubble layer, see [Point Clusters in Bubble Layer] in the [Azure Maps Samples]. For the source code for this sample, see [Point Clusters in Bubble Layer source code].
57
57
58
-
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" alt-text="Screenshot showing a map displaying clusters using a bubble layer.":::
58
+
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" lightbox="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" alt-text="Screenshot showing a map displaying clusters using a bubble layer.":::
@@ -71,7 +71,7 @@ Use clustering to show the data points density while keeping a clean user interf
71
71
72
72
For a complete working sample of how to implement displaying clusters using a symbol layer, see [Display clusters with a Symbol Layer] in the [Azure Maps Samples]. For the source code for this sample, see [Display clusters with a Symbol Layer source code].
73
73
74
-
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-symbol-layer.png" alt-text="Screenshot showing a map displaying clusters with a symbol layer.":::
74
+
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-symbol-layer.png" lightbox="./media/cluster-point-data-web-sdk/display-clusters-using-symbol-layer.png" alt-text="Screenshot showing a map displaying clusters with a symbol layer.":::
@@ -85,7 +85,7 @@ Heat maps are a great way to display the density of data on the map. This visual
85
85
86
86
For a complete working sample that demonstrates how to create a heat map that uses clustering on the data source, see [Cluster weighted Heat Map] in the [Azure Maps Samples]. For the source code for this sample, see [Cluster weighted Heat Map source code].
87
87
88
-
:::image type="content" source="./media/cluster-point-data-web-sdk/cluster-weighted-heat-map.png" alt-text="Screenshot showing a heat map that uses clustering on the data source.":::
88
+
:::image type="content" source="./media/cluster-point-data-web-sdk/cluster-weighted-heat-map.png" lightbox="./media/cluster-point-data-web-sdk/cluster-weighted-heat-map.png" alt-text="Screenshot showing a heat map that uses clustering on the data source.":::
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" alt-text="Screenshot showing a map displaying clusters using a bubble layer.":::
144
+
:::image type="content" source="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" lightbox="./media/cluster-point-data-web-sdk/display-clusters-using-bubble-layer.png" alt-text="Screenshot showing a map displaying clusters using a bubble layer.":::
@@ -155,7 +155,7 @@ The point data that a cluster represents is spread over an area. In this sample
155
155
156
156
For a complete working sample that demonstrates how to do this, see [Display cluster area with Convex Hull] in the [Azure Maps Samples]. For the source code for this sample, see [Display cluster area with Convex Hull source code].
157
157
158
-
:::image type="content" source="./media/cluster-point-data-web-sdk/display-cluster-area.png" alt-text="Screenshot showing a map that displays cluster areas represented by drop pins that show Convex Hull marking the cluster area when selected.":::
158
+
:::image type="content" source="./media/cluster-point-data-web-sdk/display-cluster-area.png" lightbox="./media/cluster-point-data-web-sdk/display-cluster-area.png" alt-text="Screenshot showing a map that displays cluster areas represented by drop pins that show Convex Hull marking the cluster area when selected.":::
@@ -169,7 +169,7 @@ Often clusters are represented using a symbol with the number of points that are
169
169
170
170
The [Cluster aggregates] sample uses an aggregate expression. The code calculates a count based on the entity type property of each data point in a cluster. When a user selects a cluster, a popup shows with additional information about the cluster. For the source code for this sample, see [Cluster aggregates source code].
171
171
172
-
:::image type="content" source="./media/cluster-point-data-web-sdk/cluster-aggregates.png" alt-text="Screenshot showing a map that uses clustering defined using data-driven style expression calculation. These calculations aggregate values across all points contained within the cluster.":::
172
+
:::image type="content" source="./media/cluster-point-data-web-sdk/cluster-aggregates.png" lightbox="./media/cluster-point-data-web-sdk/cluster-aggregates.png" alt-text="Screenshot showing a map that uses clustering defined using data-driven style expression calculation. These calculations aggregate values across all points contained within the cluster.":::
0 commit comments