Class Navigation

Manages the active navigation and the controllers.

Accessors

Constructors

Methods

  • Derives movement from controller input and applies it using an easing function. If input changes, a new easing will be created to adjust the movement over the easing duration until the target input movement is reached. If a previous easing exists, the target will be updated and eased to for the rest of the easing duration. If no or zero input is applied, the movement is gradually reduced over the easing duration.

    Parameters

    Returns void

  • Allows to override the default navigation behaviour for a map by providing a custom NavigationImpl Provided callback is called, when the custom NavigationImpl is forcefully removed. Returns a function, which you can call to remove the custom navigation.

    Type Parameters

    Parameters

    Returns (() => void)

      • (): void
      • Returns void

Properties

currentNavigationChanged: VcsEvent<undefined | NavigationImpl<VcsMap<VisualisationType>>> = ...
easingDuration: number = 1000