new DragRotate
Stability: experimental
Allows the user to rotate the map by clicking and dragging on the map, 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.
Parameters:
| Name | Type | Argument | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
options |
olx.interaction.DragRotateOptions |
<optional> |
Options. Properties
|
- Source:
- dragrotateinteraction.js, line 25
Extends
- ol.interaction.Pointer
OpenLayers 3