@vcmap/core
    Preparing search index...

    Function startRotation

    • Starts the rotation of the map.

      Parameters

      • app: VcsApp

        The VCS application instance.

      • Optionalviewpoint: Viewpoint

        The optional viewpoint to start the rotation from, if no viewpoint is provided the current Viewpoint is used.

      • OptionaltimePerRotation: number = 60

        The duration of a single full rotation in seconds.

      Returns Promise<(() => void) | null>

      A function to stop the rotation or null, if the rotation could not be started due to missing position.