use separate pointer event handler for document when dragging

This commit is contained in:
tsauerwein
2014-02-19 16:10:07 +01:00
parent 2e4badb7f3
commit b52f79340d
6 changed files with 47 additions and 197 deletions

View File

@@ -41,21 +41,3 @@ ol.pointer.EventSource.prototype.getMapping = goog.abstractMethod;
ol.pointer.EventSource.prototype.getHandlerForEvent = function(eventType) {
return this.getMapping()[eventType];
};
/**
* Setup source listeners for the given pointer event type on the `document`
* element. See also `PointerEventHandler.listenOnDocument()`.
* @param {string} type Pointer event type.
*/
ol.pointer.EventSource.prototype.listenOnDocument = function(type) {
};
/**
* Remove source listeners for the given pointer event type from the `document`
* element. See also `PointerEventHandler.unlistenOnDocument()`.
* @param {string} type Pointer event type.
*/
ol.pointer.EventSource.prototype.unlistenOnDocument = function(type) {
};