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