Marker
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
IMarker
\<T
>
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
Source
tools/layers/marker/model/internal/marker/Marker.ts:42
getOptions()
getOptions():
any
It returns the marker options.
Returns
any
Implementation of
Source
tools/layers/marker/model/internal/marker/Marker.ts:26
setIcon()
setIcon(
icon
):this
It sets the marker icon.
Parameters
• icon: T
Returns
this