Skip to content

Commit cd8a21c

Browse files
authored
Merge pull request #103218 from rbrundritt/master
Minor updates
2 parents 1d23e44 + d802c0a commit cd8a21c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

articles/azure-maps/map-add-heat-map-layer.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ map.sources.add(datasource);
4444
//Load a dataset of points, in this case earthquake data from the USGS.
4545
datasource.importDataFromUrl('https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.geojson');
4646

47-
//Create a heatmap and add it to the map.
47+
//Create a heat map and add it to the map.
4848
map.layers.add(new atlas.layer.HeatMapLayer(datasource, null, {
4949
radius: 10,
5050
opacity: 0.8
@@ -104,14 +104,12 @@ Scaling the radius so that it doubles with each zoom level creates a heat map th
104104

105105
> [!TIP]
106106
> When you enable clustering on the data source, points that are close to one another are grouped together as a clustered point. You can use the point count of each cluster as the weight expression for the heat map. This can significantly reduce the number of points to be rendered. The point count of a cluster is stored in a `point_count` property of the point feature:
107-
108107
> ```JavaScript
109108
> var layer = new atlas.layer.HeatMapLayer(datasource, null, {
110109
> weight: ['get', 'point_count']
111110
> });
112111
> ```
113-
114-
> If the clustering radius is only a few pixels, there's would be a small visual difference in the rendering. A larger radius groups more points into each cluster, and improves the performance of the heatmap.
112+
> If the clustering radius is only a few pixels, there would be a small visual difference in the rendering. A larger radius groups more points into each cluster, and improves the performance of the heatmap.
115113
116114
## Next steps
117115

articles/azure-maps/map-extruded-polygon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Connect the [polygon extrusion layer](https://docs.microsoft.com/javascript/api/
2828
See the Pen <a href='https://codepen.io/azuremaps/pen/wvvBpvE'>Extruded polygon</a> by Azure Maps (<a href='https://codepen.io/azuremaps'>@azuremaps</a>) on <a href='https://codepen.io'>CodePen</a>.</iframe>
2929

3030

31-
## Add data driven multipolygons
31+
## Add data driven polygons
3232

3333
A choropleth map can be rendered using the polygon extrusion layer. Set the `height` and `fillColor` properties of the extrusion layer to the measurement of the statistical variable in the `Polygon` and `MultiPolygon` feature geometries. The following code sample shows an extruded choropleth Map of the U.S based on the measurement of the population density by state.
3434

0 commit comments

Comments
 (0)