Home > @magiclane/maps-sdk > OverlayMutableCollection > remove
OverlayMutableCollection.remove() method
Remove an overlay from the collection
Signature:
remove(overlayId: number): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
overlayId |
number |
The overlay ID to remove |
Returns:
GemError
GemError indicating success or failure
Exceptions
An exception if it fails