Mappedin JS - v6.14.0
    Preparing search index...

    Type Alias TEvents

    Defines the structure and types of events emitted in the context of the map.

    type TEvents = {
        "camera-bounds-change": CameraBounds;
        "camera-change": CameraTransform;
        click: TClickPayload;
        "facades-in-view-change": { facades: Facade[] };
        "floor-change": TFloorChangePayload;
        "floor-change-start": TFloorChangePayload;
        hover: THoverPayload;
        "navigation-active-path-change": { directions: Directions; path: Path };
        "navigation-connection-click": {
            fromFloor?: Floor;
            instruction: TDirectionInstruction;
            toFloor: Floor;
        };
        "outdoor-style-loaded": undefined;
        "outdoor-view-loaded": undefined;
        "post-render": undefined;
        "pre-render": undefined;
        resize: undefined;
        "user-interaction-end": undefined;
        "user-interaction-start": undefined;
    }
    Index

    Properties

    "camera-bounds-change": CameraBounds

    Emitted when the pan bounds of the camera changes.

    "camera-change": CameraTransform

    Emitted when the camera's view changes.

    Emitted when the map is clicked or tapped on a touch screen.

    "facades-in-view-change": { facades: Facade[] }

    Emitted when a different facade recieves focus due to the camera moving. This always occurs when the active floor changes to a different floor stack, but may also occur when the camera moves without the active floor changing.

    "floor-change": TFloorChangePayload

    Emitted after the floor change is complete.

    "floor-change-start": TFloorChangePayload

    Emitted when a floor change starts.

    Emitted when the map is hovered over with a mouse.

    "navigation-active-path-change": { directions: Directions; path: Path }

    Emitted when the active path changes.

    "navigation-connection-click": {
        fromFloor?: Floor;
        instruction: TDirectionInstruction;
        toFloor: Floor;
    }

    Emitted when a navigation connection is clicked.

    "outdoor-style-loaded": undefined

    Emitted when the outdoor style is loaded or changed.

    "outdoor-view-loaded": undefined

    Emitted when the outdoor view is fully loaded and displayed.

    post-render

    "post-render": undefined

    Emitted after the scene is drawn to the screen.

    "pre-render": undefined

    Emitted before the scene is drawn to the screen.

    resize: undefined

    Emitted when resize happened.

    "user-interaction-end": undefined

    Emitted when a user interaction with the map ends.

    "user-interaction-start": undefined

    Emitted when a user interaction with the map starts (e.g., dragging the map).