ol.interaction. ol.interaction.PinchZoom

new PinchZoom

Stability: experimental

Allows the user to zoom the map by pinching with two fingers on a touch screen.

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

Options.

Properties
Name Type Description
duration number | undefined

Animation duration in milliseconds. Default is 400.

Source:
  • pinchzoominteraction.js, line 22

Extends

  • ol.interaction.Pointer