Skip to content

Commit 7cd7513

Browse files
authored
Merge pull request #285842 from stevemunk/attribute-update-clustering-point-data-web-sdk
Update images in article 'Clustering point data in the Web SDK' to show new style and attribute.
2 parents 859763b + 11a72a6 commit 7cd7513

9 files changed

+7
-7
lines changed

articles/azure-maps/clustering-point-data-web-sdk.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Clustering point data in the Web SDK | Microsoft Azure Maps
33
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.
44
author: sinnypan
55
ms.author: sipa
6-
ms.date: 07/29/2019
6+
ms.date: 08/29/2024
77
ms.topic: how-to
88
ms.service: azure-maps
99
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
5555

5656
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].
5757

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.":::
5959

6060
<!----------------------------------------------------------------------
6161
<br/>
@@ -71,7 +71,7 @@ Use clustering to show the data points density while keeping a clean user interf
7171

7272
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].
7373

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.":::
7575

7676
<!----------------------------------------------------------------------
7777
<br/>
@@ -85,7 +85,7 @@ Heat maps are a great way to display the density of data on the map. This visual
8585

8686
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].
8787

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.":::
8989

9090
<!----------------------------------------------------------------------
9191
<br/>
@@ -141,7 +141,7 @@ function clusterClicked(e) {
141141
}
142142
```
143143

144-
:::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.":::
145145

146146
<!----------------------------------------------------------------------
147147
<br/>
@@ -155,7 +155,7 @@ The point data that a cluster represents is spread over an area. In this sample
155155

156156
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].
157157

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.":::
159159

160160
<!----------------------------------------------------------------------
161161
<br/>
@@ -169,7 +169,7 @@ Often clusters are represented using a symbol with the number of points that are
169169

170170
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].
171171

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.":::
173173

174174
<!----------------------------------------------------------------------
175175
> [!VIDEO //codepen.io/azuremaps/embed/jgYyRL/?height=500&theme-id=0&default-tab=js,result&editable=true]
242 KB
Loading
244 KB
Loading
183 KB
Loading
168 KB
Loading
201 KB
Loading
208 KB
Loading
148 KB
Loading
114 KB
Loading

0 commit comments

Comments
 (0)