DragPan control.
| OpenLayers. Control. DragPan | DragPan control. |
| Properties | |
| type | {OpenLayers.Control.TYPES} |
| panned | {Boolean} The map moved. |
| interval | {Integer} The number of milliseconds that should ellapse before panning the map again. |
| Functions | |
| draw | Creates a Drag handler, using panMap and panMapDone as callbacks. |
| panMap | |
| panMapDone | Finish the panning operation. |
draw: function()
Creates a Drag handler, using panMap and panMapDone as callbacks.
panMapDone: function( xy )
Finish the panning operation. Only call setCenter (through panMap) if the map has actually been moved.
| xy | {OpenLayers.Pixel} Pixel of the mouse position |
Creates a Drag handler, using panMap and panMapDone as callbacks.
draw: function()
panMap: function( xy )
Finish the panning operation.
panMapDone: function( xy )