Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HtmlMarker class
- Package:
- azure-maps-control
This class wraps an HTML element that can be displayed on the map.
- Extends
Constructors
| HtmlMarker(HtmlMarkerOptions) | Constructs a new HtmlMarker. |
Methods
| getElement() | Returns the underlying |
| getOptions() | Gets the HTML marker options. |
| setOptions(HtmlMarkerOptions) | Sets the options of the marker. |
| togglePopup() | Toggles the popup attached to the marker. |
Constructor Details
HtmlMarker(HtmlMarkerOptions)
Constructs a new HtmlMarker.
new HtmlMarker(options?: HtmlMarkerOptions)
Parameters
- options
- HtmlMarkerOptions
The options for the HtmlMarker.
Method Details
getElement()
Returns the underlying Marker's HTML element.
function getElement(): HTMLElement
Returns
HTMLElement
getOptions()
setOptions(HtmlMarkerOptions)
Sets the options of the marker.
function setOptions(options: HtmlMarkerOptions)
Parameters
- options
- HtmlMarkerOptions
The options for the marker.
togglePopup()
Toggles the popup attached to the marker.
function togglePopup()
