Home > @magiclane/maps-sdk > OverlayItem > isOfType
OverlayItem.isOfType() method
Check if the overlay is of the given type
Signature:
isOfType(overlayId: CommonOverlayId): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
overlayId |
The overlay type to check against |
Returns:
boolean
True if the overlay is of the given type, false otherwise