OpenLayers JavaScript Mapping Library |
OpenLayers. Handler.DragThe drag handler is used to deal with sequences of browser events related to dragging. The handler is used by controls that want to know when a drag sequence begins, when a drag is happening, and when it has finished. Controls that use the drag handler typically construct it with callbacks for ‘down’, ‘move’, and ‘done’. Callbacks for these keys are called when the drag begins, with each move, and when the drag is done. In addition, controls can have callbacks keyed to ‘up’ and ‘out’ if they care to differentiate between the types of events that correspond with the end of a drag sequence. Create a new drag handler with the OpenLayers.Handler.Drag constructor. Inherits fromSummary
OpenLayers. Handler.DragReturns OpenLayers.Handler.Drag Parameters
|