new DragPan(opt_options)
interaction/DragPan.js, line 26
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
||||||||||
Fires:
-
change(module:ol/events/Event~Event) - Generic change event. Triggered when the revision counter is increased. -
change:active(module:ol/Object.ObjectEvent) -
propertychange(module:ol/Object.ObjectEvent) - Triggered when a property is changed.
Extends
Observable Properties
| Name | Type | Settable | ol/Object.ObjectEvent type | Description |
|---|---|---|---|---|
active |
boolean | yes | change:active |
|
Methods
-
Handles the
map browser eventand may call into other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are detected.
OpenLayers