Class: Marker
component.Marker
classdesc
Represents an abstract marker class that should be extended
by marker implementations used in the marker component.
#
HierarchyMarker
↳
CircleMarker
↳
SimpleMarker
#
Constructors#
constructor• new Marker(id
, lngLat
)
#
ParametersName | Type |
---|---|
id | string |
lngLat | LngLat |
#
Defined incomponent/marker/marker/Marker.ts:15
#
Accessors#
id• get
id(): string
Get id.
#
Returnsstring
The id of the marker.
#
Defined incomponent/marker/marker/Marker.ts:24
#
lngLat• get
lngLat(): LngLat
Get lngLat.
#
ReturnsThe geographic coordinates of the marker.