Skip to content

Commit d984b57

Browse files
Merge pull request #285925 from stevemunk/attribute-update-how-to-use-image-templates-web-sdk
Updated images in article 'How to use image templates' to show the new attribute and added lightbox to images.
2 parents a7f5ac1 + 6861820 commit d984b57

6 files changed

+6
-6
lines changed

articles/azure-maps/how-to-use-image-templates-web-sdk.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Image templates in the Azure Maps Web SDK | Microsoft Azure Maps
33
description: Learn how to add image icons and pattern-filled polygons to maps by using the Azure Maps Web SDK. View available image and fill pattern templates.
44
author: sinnypan
55
ms.author: sipa
6-
ms.date: 8/6/2019
6+
ms.date: 08/30/2024
77
ms.topic: how-to
88
ms.service: azure-maps
99
ms.subservice: web-sdk
@@ -49,7 +49,7 @@ Once an image template is loaded into the map image sprite, it can be rendered a
4949

5050
The [Symbol layer with built-in icon template] sample demonstrates how to do this by rendering a symbol layer using the `marker-flat` image template with a teal primary color and a white secondary color, as shown in the following screenshot.
5151

52-
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/symbol-layer-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a symbol layer using the marker-flat image template with a teal primary color and a white secondary color.":::
52+
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/symbol-layer-with-built-in-icon-template.png" lightbox="./media/how-to-use-image-templates-web-sdk/symbol-layer-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a symbol layer using the marker-flat image template with a teal primary color and a white secondary color.":::
5353

5454
For the source code for this sample, see [Symbol layer with built-in icon template sample code].
5555

@@ -64,7 +64,7 @@ Once an image template is loaded into the map image sprite, it can be rendered a
6464

6565
The [Line layer with built-in icon template] demonstrates how to do this. As show in the following screenshot, it renders a red line on the map and uses a symbol layer using the `car` image template with a dodger blue primary color and a white secondary color. For the source code for this sample, see [Line layer with built-in icon template sample code].
6666

67-
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/line-layer-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a line layer marking the route with car icons along the route.":::
67+
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/line-layer-with-built-in-icon-template.png" lightbox="./media/how-to-use-image-templates-web-sdk/line-layer-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a line layer marking the route with car icons along the route.":::
6868

6969
<!-----------------------------------------------------
7070
<br/>
@@ -81,7 +81,7 @@ Once an image template is loaded into the map image sprite, it can be rendered a
8181

8282
The [Fill polygon with built-in icon template] sample demonstrates how to render a polygon layer using the `dot` image template with a red primary color and a transparent secondary color, as shown in the following screenshot. For the source code for this sample, see [Fill polygon with built-in icon template sample code].
8383

84-
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/fill-polygon-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a polygon layer using the dot image template with a red primary color and a transparent secondary color.":::
84+
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/fill-polygon-with-built-in-icon-template.png" lightbox="./media/how-to-use-image-templates-web-sdk/line-layer-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying a polygon layer using the dot image template with a red primary color and a transparent secondary color.":::
8585

8686
<!-----------------------------------------------------
8787
<br/>
@@ -98,7 +98,7 @@ An image template can be retrieved using the `altas.getImageTemplate` function a
9898

9999
The [HTML Marker with built-in icon template] sample demonstrates this using the `marker-arrow` template with a red primary color, a pink secondary color, and a text value of "00", as shown in the following screenshot. For the source code for this sample, see [HTML Marker with built-in icon template sample code].
100100

101-
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/html-marker-with-built-in-icon-template.png" alt-text="Screenshot showing a map displaying the marker-arrow template with a red primary color, a pink secondary color, and a text value of 00 inside the red arrow.":::
101+
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/html-marker-with-built-in-icon-template.png" lightbox="./media/how-to-use-image-templates-web-sdk/html-marker-with-built-in-icon-template.png" alt-text="Screenshot of map displaying the marker-arrow template with red primary and pink secondary colors, and 00 inside the red arrow.":::
102102

103103
<!-----------------------------------------------------
104104
<br/>
@@ -138,7 +138,7 @@ SVG image templates support the following placeholder values:
138138
139139
The [Add custom icon template to atlas namespace] sample demonstrates how to take an SVG template, and add it to the Azure Maps web SDK as a reusable icon template, as shown in the following screenshot. For the source code for this sample, see [Add custom icon template to atlas namespace sample code].
140140
141-
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/add-custom-icon-template-to-atlas-namespace.png" alt-text="Screenshot showing a map displaying a polygon layer in the shape of a big green triangle with multiple images of blue anchors inside.":::
141+
:::image type="content" source="./media/how-to-use-image-templates-web-sdk/add-custom-icon-template-to-atlas-namespace.png" lightbox="./media/how-to-use-image-templates-web-sdk/add-custom-icon-template-to-atlas-namespace.png" alt-text="Screenshot showing a map displaying a polygon layer in the shape of a big green triangle with multiple images of blue anchors inside.":::
142142
143143
<!-----------------------------------------------------
144144
<br/>
6.91 KB
Loading
15.7 KB
Loading
15.9 KB
Loading
-120 KB
Loading
14.7 KB
Loading

0 commit comments

Comments
 (0)