On this page

Class TwoFingersTouchPitchHandler

The TwoFingersTouchPitchHandler allows the user to pitch the map by dragging up and down with two fingers.

Hierarchy (View Summary)

Index

Constructors

Methods

  • Disables the "drag to pitch" interaction.

    Returns void

    map.touchPitch.disable();
    
  • Parameters

    Returns boolean | undefined

  • Returns a Boolean indicating whether the "drag to pitch" interaction is active, i.e. currently being used.

    Returns boolean

    true if the "drag to pitch" interaction is active.

  • Returns a Boolean indicating whether the "drag to pitch" interaction is enabled.

    Returns boolean

    true if the "drag to pitch" interaction is enabled.

  • reset can be called by the manager at any time and must reset everything to it's original state

    Returns void

Was this helpful?
SDK JS
Reference
TwoFingersTouchPitchHandler