ol.interaction. ol.interaction.DragRotateAndZoom

new DragRotateAndZoom

Stability: experimental

Allows the user to zoom and rotate the map by clicking and dragging on the map. By default, this interaction is limited to when the shift key is held down.

This interaction is not included in the default interactions.

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

Options.

Source:
  • dragrotateandzoominteraction.js, line 32