The DragPan control pans the map with a drag of the mouse.
OpenLayers. Control. DragPan | The 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. |