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