Home > @magiclane/maps-sdk > MarkerCollection > load
MarkerCollection.load() method
Deserialize from buffer.
Signature:
static load(buffer: Uint8Array): MarkerCollection | null;Parameters
Parameter | Type | Description |
|---|---|---|
buffer | Uint8Array | The buffer to deserialize from |
Returns:
MarkerCollection | null
Deserialized MarkerCollection object on success, null otherwise