diff --git a/src/ol/event/Drag.js b/src/ol/event/Drag.js index ea7d4e6933..6b8fad4d62 100644 --- a/src/ol/event/Drag.js +++ b/src/ol/event/Drag.js @@ -53,7 +53,6 @@ ol.event.Drag.prototype.dispatchEvent = function(e) { ol.event.Drag.prototype.startDrag = function(e) { this.previousX_ = e.clientX; this.previousY_ = e.clientY; - e.type = ol.event.Drag.EventType.DRAGSTART; goog.base(this, 'startDrag', e); }; diff --git a/src/ol/event/Sequence.js b/src/ol/event/Sequence.js deleted file mode 100644 index 1cefeef5cd..0000000000 --- a/src/ol/event/Sequence.js +++ /dev/null @@ -1,40 +0,0 @@ -goog.provide('ol.event.Sequence'); - -/** - * @constructor - */ -ol.event.Sequence = function() { - - /** - @private - @type {Element} - */ - this.element_ = null; - - /** - * Event types provided by this sequence. - * @enum {string} - */ - this.eventTypes_ = {}; - - /** - * Event mappings provided by this sequence. - * @enum {Object} - */ - this.providedEvents_ = {}; - -}; - -/** - @param {Element} element - */ -ol.event.Sequence.prototype.setElement = function(element) { - this.element_ = element; -}; - -/** - @return {Object} - */ -ol.event.Sequence.prototype.getProvidedEvents = function() { - return this.providedEvents_; -}; \ No newline at end of file