Skip to main content

IMarker

geovisto-mapReadme | API


geovisto-map / IMarker

Interface: IMarker\<T>

This intreface extends Leaflet Marker in order to work with generic icon type.

Author

Jiri Hynek

Extends

  • unknown

Type parameters

T extends IMarkerIcon\<IMarkerIconOptions>

Methods

getIcon()

getIcon(): T

It returns the marker icon.

Returns

T

Source

tools/layers/marker/model/types/marker/IMarker.ts:32


getOptions()

getOptions(): any

It returns the marker options.

Returns

any

Source

tools/layers/marker/model/types/marker/IMarker.ts:20


setIcon()

setIcon(icon): this

It sets the marker icon.

Parameters

icon: T

Returns

this

Source

tools/layers/marker/model/types/marker/IMarker.ts:27