Documentation
    Preparing search index...

    AssetPanoramicsSdkFacade provides a facade for interacting with panoramic features in the asset renderer.

    interface Facade {
        addEventListener<K extends keyof PanoramicAPI.Events>(
            event: K,
            listener: (eventData: PanoramicAPI.Events[K]) => void,
        ): { remove: () => void };
        animateToPanoramicFeature(featureId?: string | number): Promise<void>;
        getCurrentlyActivePanoFeature(): null | PanoramicFeature;
        getPanoramicFeatureList(): PanoramicFeature[];
        isPanoramicModeActive(): boolean;
        isPanoramicModeAvailable(): boolean;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods

    • Animate camera/state to a panoramic feature. If panoramic mode is not active, it will start panoramic mode.

      Parameters

      • OptionalfeatureId: string | number

        Optional feature ID to animate to. If omitted, it will start panoramic mode at the closest feature to the camera.

      Returns Promise<void>