Rename ol.interaction.condition to ol.events.condition

This commit is contained in:
Frederic Junod
2013-10-18 08:45:00 +02:00
parent 5b9bcbac1c
commit a9159ecac3
14 changed files with 67 additions and 67 deletions

View File

@@ -7,10 +7,10 @@ goog.require('goog.asserts');
goog.require('ol.Size');
goog.require('ol.View2D');
goog.require('ol.control.DragBox');
goog.require('ol.events.ConditionType');
goog.require('ol.events.condition');
goog.require('ol.extent');
goog.require('ol.interaction.ConditionType');
goog.require('ol.interaction.Drag');
goog.require('ol.interaction.condition');
/**
@@ -30,7 +30,7 @@ ol.SHIFT_DRAG_ZOOM_HYSTERESIS_PIXELS_SQUARED =
/**
* Allows the user to zoom the map by clicking and dragging on the map,
* normally combined with an {@link ol.interaction.condition} that limits
* normally combined with an {@link ol.events.condition} that limits
* it to when the shift key is held down.
* @constructor
* @extends {ol.interaction.Drag}
@@ -45,10 +45,10 @@ ol.interaction.DragZoom = function(opt_options) {
/**
* @private
* @type {ol.interaction.ConditionType}
* @type {ol.events.ConditionType}
*/
this.condition_ = goog.isDef(options.condition) ?
options.condition : ol.interaction.condition.shiftKeyOnly;
options.condition : ol.events.condition.shiftKeyOnly;
/**
* @type {ol.control.DragBox}