Home > @magiclane/maps-sdk > OverlayInfo > getCategory
OverlayInfo.getCategory() method
Get the overlay category by ID
Signature:
getCategory(categId: number): OverlayCategory | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
categId |
number |
The category ID |
Returns:
OverlayCategory | null
The category if found, null otherwise
Exceptions
An exception if it fails