The DragPan control pans the map with a drag of the mouse.
OpenLayers.
|
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. |
enableKinetic | {Boolean} Set this option to enable “kinetic dragging”. |
kineticInterval | {Integer} Interval in milliseconds between 2 steps in the “kinetic scrolling”. |
{Boolean} Set this option to enable “kinetic dragging”. Can be set to true or to an object. If set to an object this object will be passed to the {OpenLayers.Kinetic} constructor. Defaults to true. To get kinetic dragging, ensure that OpenLayers/Kinetic.js is included in your build config.