Remove move dead code
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
goog.provide('ol.events.MapEvent');
|
||||
goog.provide('ol.events.MapEventType');
|
||||
|
||||
goog.require('goog.events.Event');
|
||||
|
||||
|
||||
/**
|
||||
* @enum {string}
|
||||
*/
|
||||
ol.events.MapEventType = {
|
||||
// drag handler
|
||||
DRAGSTART: 'dragstart',
|
||||
DRAG: 'drag',
|
||||
DRAGEND: 'dragend',
|
||||
|
||||
// mousewheel handler
|
||||
MOUSEWHEEL: 'mousewheel',
|
||||
|
||||
// click handler
|
||||
CLICK: 'click'
|
||||
};
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {goog.events.Event}
|
||||
* @param {string} type Event type.
|
||||
* @param {goog.events.Event=} opt_evt The underlying event.
|
||||
*/
|
||||
ol.events.MapEvent = function(type, opt_evt) {
|
||||
goog.base(this, type);
|
||||
|
||||
/**
|
||||
* X displacement relative to the previous drag event, if any.
|
||||
*
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
this.deltaX = undefined;
|
||||
|
||||
/**
|
||||
* Y displacement relative to the previous drag event, if any.
|
||||
*
|
||||
* @type {number|undefined}
|
||||
*/
|
||||
this.deltaY = undefined;
|
||||
|
||||
/**
|
||||
* The underlying event.
|
||||
*
|
||||
* @type {goog.events.Event}
|
||||
*/
|
||||
this.originalEvent = goog.isDef(opt_evt) ? opt_evt : null;
|
||||
};
|
||||
goog.inherits(ol.events.MapEvent, goog.events.Event);
|
||||
Reference in New Issue
Block a user