diff --git a/src/ol/mapevent.js b/src/ol/mapevent.js index 581a27f0e1..080a707a9b 100644 --- a/src/ol/mapevent.js +++ b/src/ol/mapevent.js @@ -30,11 +30,6 @@ ol.MapEvent = function(type, map, opt_frameState) { */ this.map = map; - /** - * @type {boolean} - */ - this.defaultPrevented = false; - /** * @type {?ol.FrameState} */ @@ -42,12 +37,3 @@ ol.MapEvent = function(type, map, opt_frameState) { }; goog.inherits(ol.MapEvent, goog.events.Event); - - -/** - * Prevents the default action. - */ -ol.MapEvent.prototype.preventDefault = function() { - goog.base(this, 'preventDefault'); - this.defaultPrevented = true; -};