Class: DragRotate

ol/interaction/DragRotate~DragRotate


import DragRotate from 'ol/interaction/DragRotate';

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

This interaction is only supported for mouse devices.