Skip to main content

Marker

geovisto-mapReadme | API


geovisto-map / Marker

Class: Marker\<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>

Implements

Constructors

new Marker()

new Marker\<T>(latlng, options?): Marker\<T>

Parameters

latlng: LatLngExpression

options?: any

Returns

Marker\<T>

Overrides

LMarker.constructor

Source

tools/layers/marker/model/internal/marker/Marker.ts:19

Methods

getIcon()

getIcon(): T

It returns the marker icon.

Returns

T

Implementation of

IMarker.getIcon

Source

tools/layers/marker/model/internal/marker/Marker.ts:42


getOptions()

getOptions(): any

It returns the marker options.

Returns

any

Implementation of

IMarker.getOptions

Source

tools/layers/marker/model/internal/marker/Marker.ts:26


setIcon()

setIcon(icon): this

It sets the marker icon.

Parameters

icon: T

Returns

this

Implementation of

IMarker.setIcon

Source

tools/layers/marker/model/internal/marker/Marker.ts:35