Share via


HtmlMarker class

Questa classe esegue il wrapping di un elemento HTML che può essere visualizzato sulla mappa.

Extends

Costruttori

HtmlMarker(HtmlMarkerOptions)

Costruisce un nuovo HtmlMarker.

Metodi

getElement()

Restituisce l'elemento HTML sottostante Marker.

getOptions()

Ottiene le opzioni di marcatore HTML.

setOptions(HtmlMarkerOptions)

Imposta le opzioni del marcatore.

togglePopup()

Attiva l'interruttore del popup collegato al marcatore.

Dettagli costruttore

HtmlMarker(HtmlMarkerOptions)

Costruisce un nuovo HtmlMarker.

new HtmlMarker(options?: HtmlMarkerOptions)

Parametri

options
HtmlMarkerOptions

Opzioni per HtmlMarker.

Dettagli metodo

getElement()

Restituisce l'elemento HTML sottostante Marker.

function getElement(): HTMLElement

Restituisce

HTMLElement

getOptions()

Ottiene le opzioni di marcatore HTML.

function getOptions(): HtmlMarkerOptions

Restituisce

setOptions(HtmlMarkerOptions)

Imposta le opzioni del marcatore.

function setOptions(options: HtmlMarkerOptions)

Parametri

options
HtmlMarkerOptions

Opzioni per il marcatore.

togglePopup()

Attiva l'interruttore del popup collegato al marcatore.

function togglePopup()