3D-City Model
    Preparing search index...

    Variable STATESConst

    STATES: {} = ...

    STATES – Centralized mapping of application state names to their singleton instances.

    Each key corresponds to a specific interaction/state mode in the application, such as default navigation, measurement (polygon, line, height, length, area), informational/pedestrian/excavation/visibility, etc. This object provides quick programmatic access to all available state controllers, ensuring that each state is uniquely instantiated and easily managed via its associated button or configuration.

    Type declaration

      // Switch to polygon measurement mode:
      app.applyState(STATES.polygon);

      // Reset to default state:
      app.applyState(STATES.default);