Merge pull request #788 from fredj/mapevent

Remove defaultPrevented attribut from ol.MapEvent
This commit is contained in:
Frédéric Junod
2013-06-17 09:24:12 -07:00

View File

@@ -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;
};