new DragRotate(opt_options)
interaction/DragRotate.js, line 31
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||||||||
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.
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||||||||