3D-City Model
    Preparing search index...

    InformationState – App state for enabling interactive information lookup or selection mode in a Cesium/3D viewer.

    Ensures singleton pattern: only one InformationState active at a time. Configures the application to allow users to select, inspect, or query objects for more information. Sets or clears the selectionActive flag in the main handler to control interaction flow.

    instance - Singleton instance.

    // To activate info/selection mode:
    const infoState = new InformationState();
    app.applyState(infoState);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    dependentStates: string[]

    Required/precondition states.

    exclusiveStates: string[]

    States that are deactivated when this state activates.

    name: string

    Name/identifier for the state.

    restoreStates: string[]

    States that should be restored when this state ends.

    Methods

    • Activates the information selection mode by setting appropriate handlers and enabling selection.

      Parameters

      • app: any

        The main application instance.

      Returns void

    • Deactivates information mode, clearing handler states and UI, and disabling selection.

      Parameters

      • app: any

      Returns boolean

      Always true.