ol.interaction. ol.interaction.PinchRotate

new PinchRotate

Stability: experimental

Allows the user to rotate the map by twisting with two fingers on a touch screen.

Parameters:
Name Type Argument Description
options olx.interaction.PinchRotateOptions <optional>

Options.

Properties
Name Type Description
threshold number | undefined

Minimal angle in radians to start a rotation. Default is 0.3.

Source:
  • pinchrotateinteraction.js, line 23

Extends

  • ol.interaction.Pointer