3D-City Model
    Preparing search index...

    DefaultState – Represents the standard (“idle” or “navigation”) mode for the Cesium/3D viewer UI.

    Configures camera controls for normal user navigation: zoom, pan, rotate, and tilt. Subclasses State, forming the base/fallback when no measurement or edit mode is active. Designed for clean and quick re-application of default camera/interaction behaviors.

    app.setState(new DefaultState());
    

    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

    • Applies the default camera interaction and event handler bindings to the app/viewer.

      Parameters

      • app: any

        The application containing the Cesium viewer.

      Returns void

    • Placeholder for cleanup logic when removing default event handlers.

      Returns void

    • Sets up zoom, rotation, and tilt with standard Cesium controls for navigation.

      • Zoom: middle-drag, mouse wheel, two-finger pinch.
      • Rotate: left-drag.
      • Tilt: right-drag, pinch, or drag with CTRL modifier.

      Parameters

      • app: any

        The application instance.

      Returns void