Class MarkerCollection<T>
Constructors
constructor
Type Parameters
Parameters
Properties
Readonly kind
kind: string
Protected Readonly owner2Markers
owner2
Markers
: Map<string, Readonly<Marker<T>>[]> = ...Methods
Protected createMarker
- createMarker(owner: string, data: T): Readonly<Marker<T>>
Parameters
Returns Readonly<Marker<T>>
getMarkers
- getMarkers(owner: string): Readonly<Marker<T>>[]
Parameters
Returns Readonly<Marker<T>>[]
setMarkers
- setMarkers(owner: string, markerData: T[]): Marker<T>[]
Parameters
owner: string
markerData: T[]
Returns Marker<T>[]