• Get the Overlay with the given ID. You can optionally provide a type parameter for this method in order to get a typed return value (such as LabelOverlay, ArrowOverlay, etc), since some overlays have methods that others do not.

    Type Parameters

    • T extends Overlay<any, T>
    • E

    Parameters

    • c: Connection<E>
    • id: string

      ID of the overlay to retrieve.

    Returns T