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/map-add-custom-html.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Add an HTML Marker to map | Microsoft Azure Maps
3
3
description: Learn how to add HTML markers to maps. See how to use the Azure Maps Web SDK to customize markers and add popups and mouse events to a marker.
For a complete working sample of how to add an HTML marker, see [Simple HTML Marker] in the [Azure Maps Samples]. For the source code for this sample, see [Simple HTML Marker source code].
49
49
50
-
:::image type="content" source="./media/map-add-custom-html/simple-html-marker.png" alt-text="Screenshot showing a map of the world with a simple HtmlMarker.":::
50
+
:::image type="content" source="./media/map-add-custom-html/simple-html-marker.png" lightbox="./media/map-add-custom-html/simple-html-marker.png" alt-text="Screenshot showing a map of the world with a simple HtmlMarker.":::
@@ -59,7 +59,7 @@ The default `htmlContent` of an Html marker is an SVG template with place folder
59
59
60
60
For a complete working sample of how to create a custom SVG template and use it with the HtmlMarker class, see [HTML Marker with Custom SVG Template] in the [Azure Maps Samples]. When running this sample, select the button in the upper left hand side of the window labeled **Update Marker Options** to change the `color` and `text` options from the SVG template used in the HtmlMarker. For the source code for this sample, see [HTML Marker with Custom SVG Template source code].
61
61
62
-
:::image type="content" source="./media/map-add-custom-html/html-marker-with-custom-svg-template.png" alt-text="Screenshot showing a map of the world with a custom SVG template used with the HtmlMarker class. It includes a button labeled update marker options, that when selected changes the color and text options from the SVG template used in the HtmlMarker. ":::
62
+
:::image type="content" source="./media/map-add-custom-html/html-marker-with-custom-svg-template.png" lightbox="./media/map-add-custom-html/html-marker-with-custom-svg-template.png" alt-text="Screenshot showing a map of the world with a custom SVG template used with the HtmlMarker class. It includes a button labeled update marker options, that when selected changes the color and text options from the SVG template used in the HtmlMarker. ":::
For a complete working sample of how to use CSS and HTML to create amarker on the map, see [CSS Styled HTML Marker] in the [Azure Maps Samples]. For the sourcecode for this sample, see [CSS Styled HTML Marker source code].
185
185
186
-
:::image type="content" source="./media/map-add-custom-html/css-styled-html-marker.gif" alt-text="Screenshot showing a CSS styled HTMLmarker. ":::
@@ -195,7 +195,7 @@ This sample shows how to make an HTML marker draggable. HTML markers support `dr
195
195
196
196
For a complete working sample of how to use CSS and HTML to create amarker on the map, see [Draggable HTML Marker] in the [Azure Maps Samples]. For the sourcecode for this sample, see [Draggable HTML Marker source code].
197
197
198
-
:::image type="content" source="./media/map-add-custom-html/draggable-html-marker.gif" alt-text="Screenshot showing amap of the United States with a yellow thumb tack being dragged to demonstrate a draggable HTMLmarker. ":::
198
+
:::image type="content" source="./media/map-add-custom-html/draggable-html-marker.gif" lightbox="./media/map-add-custom-html/draggable-html-marker.gif" alt-text="Screenshot showing amap of the United States with a yellow thumb tack being dragged to demonstrate a draggable HTMLmarker. ":::
@@ -205,7 +205,7 @@ For a complete working sample of how to use CSS and HTML to create a marker on t
205
205
206
206
For a complete working sample of how to add mouse and drag events to an HTMLmarker, see [HTML Marker events] in the [Azure Maps Samples]. For the sourcecode for this sample, see [HTML Marker events source code].
207
207
208
-
:::image type="content" source="./media/map-add-custom-html/html-marker-events.gif" alt-text="Screenshot showing amap of the world with an HtmlMarker and a list of HtmlMarker events that become highlighted in green when that event fires.":::
208
+
:::image type="content" source="./media/map-add-custom-html/html-marker-events.gif" lightbox="./media/map-add-custom-html/html-marker-events.gif" alt-text="Screenshot showing amap of the world with an HtmlMarker and a list of HtmlMarker events that become highlighted in green when that event fires.":::
0 commit comments