Class: DragRotate

Mapspace.interaction. DragRotate

Allows the user to rotate the viewer by clicking and dragging on it, normally combined with an ol.events.condition that limits it to when the alt and shift keys are held down.

This interaction is only supported for mouse devices.


new DragRotate( [opt_options])

Parameters:
Name Type Argument Description
opt_options olx.interaction.DragRotateOptions <optional>

Options.

Source:
mapspace/interaction/dragrotate.js

Extends

  • ol.interaction.DragRotate