Class TwoFingersTouchHandlerAbstract

The TwoFingersTouchHandlers allows the user to zoom, pitch and rotate the map using two fingers

Hierarchy (view full)

Implements

Methods

  • Disables the "drag to pitch" interaction.

    Returns void

    Example

    map.touchPitch.disable();
    
  • Enables the "drag to pitch" interaction.

    Parameters

    Returns void

    Example

    map.touchPitch.enable();
    
  • 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.