Home > @magiclane/maps-sdk > OverlayMutableCollection > add

OverlayMutableCollection.add() method

Add an overlay to the collection

Signature:

add(overlayId: number): void;

Parameters

Parameter

Type

Description

overlayId

number

The overlay ID to add

Returns:

void

Exceptions

An exception if it fails