Home > @magiclane/maps-sdk > MarkerCollection > create
MarkerCollection.create() method
Create a new marker collection.
Signature:
static create(markerType: MarkerType, name: string): MarkerCollection;Parameters
Parameter | Type | Description |
|---|---|---|
markerType | The type of markers this collection will hold | |
name | string | The name of the collection |
Returns: