Skip to content

Commit e48c9d5

Browse files
authored
Merge pull request #285718 from stevemunk/attribute-update-websdk-map-add-line-layer
Updated images in article: 'Add a line layer to the map' to show the new attribute and added lightbox to images.
2 parents 2930730 + 7f5dd1d commit e48c9d5

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Add a line layer to a map | Microsoft Azure Maps
33
description: Learn how to add lines to maps. See examples that use the Azure Maps Web SDK to add line layers to maps and to customize lines with symbols and color gradients.
44
author: sinnypan
55
ms.author: sipa
6-
ms.date: 06/06/2023
6+
ms.date: 08/28/2024
77
ms.topic: how-to
88
ms.service: azure-maps
99
ms.subservice: web-sdk
@@ -35,7 +35,7 @@ map.layers.add(new atlas.layer.LineLayer(dataSource, null, {
3535

3636
The following screenshot shows a sample of the above functionality.
3737

38-
:::image type="content" source="./media/map-add-line-layer/add-line-layer.png"alt-text="A screenshot showing a line layer on an Azure Maps map.":::
38+
:::image type="content" source="./media/map-add-line-layer/add-line-layer.png" lightbox="./media/map-add-line-layer/add-line-layer.png" alt-text="A screenshot showing a line layer on an Azure Maps map.":::
3939

4040
<!-----------------------------------------------------------------------
4141
> [!VIDEO //codepen.io/azuremaps/embed/qomaKv/?height=500&theme-id=0&default-tab=js,result&embed-version=2&editable=true]
@@ -123,7 +123,7 @@ function InitMap()
123123

124124
This code creates a map that appears as follows:
125125

126-
:::image type="content" source="./media/map-add-line-layer/add-symbols-along-a-line.png"alt-text="A screenshot showing a line layer on an Azure Maps map with arrow symbols along the line.":::
126+
:::image type="content" source="./media/map-add-line-layer/add-symbols-along-a-line.png" lightbox="./media/map-add-line-layer/add-symbols-along-a-line.png" alt-text="A screenshot showing a line layer on an Azure Maps map with arrow symbols along the line.":::
127127

128128
<!-----------------------------------------------------------------------
129129
> [!VIDEO //codepen.io/azuremaps/embed/drBJwX/?height=500&theme-id=0&default-tab=js,result&editable=true]
@@ -150,7 +150,7 @@ For a fully functional sample that shows how to apply a stroke gradient to a lin
150150

151151
The Line layer has several styling options. For a fully functional sample that interactively demonstrates the line options, see [Line Layer Options] in the [Azure Maps Samples]. For the source code for this sample, see [Line Layer Options source code].
152152

153-
:::image type="content" source="./media/map-add-line-layer/line-layer-options.png"alt-text="A screenshot showing the Line Layer Options sample that shows how the different options of the line layer affect rendering.":::
153+
:::image type="content" source="./media/map-add-line-layer/line-layer-options.png" lightbox="./media/map-add-line-layer/line-layer-options.png" alt-text="A screenshot showing the Line Layer Options sample that shows how the different options of the line layer affect rendering.":::
154154

155155
<!-----------------------------------------------------------------------
156156
> [!VIDEO //codepen.io/azuremaps/embed/GwLrgb/?height=700&theme-id=0&default-tab=result]
201 KB
Loading
110 KB
Loading
160 KB
Loading
-196 KB
Loading

0 commit comments

Comments
 (0)