OpenLayers. Control. DragPan

The DragPan control pans the map with a drag of the mouse.

Inherits from

Summary
OpenLayers. Control. DragPanThe DragPan control pans the map with a drag of the mouse.
Properties
documentDrag{Boolean} If set to true, mouse dragging will continue even if the mouse cursor leaves the map viewport.

Properties

documentDrag

{Boolean} If set to true, mouse dragging will continue even if the mouse cursor leaves the map viewport.  Default is false.

Controls affect the display or behavior of the map.
Close