HtmlMarker class

This class wraps an HTML element that can be displayed on the map.

Extends

Constructors

HtmlMarker(HtmlMarkerOptions)

Constructs a new HtmlMarker.

Methods

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

getOptions()

Gets the HTML marker options.

function getOptions()

Returns

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()