BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface OverlayHandle

    interface OverlayHandle {
        id: string;
        resolved: boolean;
        stale: boolean;
        isLayerVisible(layerId: string): boolean;
        remove(): void;
        setLayerVisible(layerId: string, visible: boolean): void;
        update(item: OverlayItem): boolean;
        viewFit(layerId?: string): boolean;
    }
    Index

    Properties

    id: string
    resolved: boolean

    The bound model (or a stand-in version) is loaded and the overlay is drawn

    stale: boolean

    Methods

    • Parameters

      • layerId: string

      Returns boolean

    • Returns void

    • Parameters

      • layerId: string
      • visible: boolean

      Returns void

    • Replaces the item with the same id; false when there is none

      Parameters

      Returns boolean

    • Fits the camera to the overlay or one layer; false while it is not placed

      Parameters

      • OptionallayerId: string

      Returns boolean