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

@@ -3,9 +3,9 @@ goog.provide('ol.interaction.Select');
goog.require('goog.array');
goog.require('goog.object');
goog.require('ol.Feature');
goog.require('ol.interaction.ConditionType');
goog.require('ol.events.ConditionType');
goog.require('ol.events.condition');
goog.require('ol.interaction.Interaction');
goog.require('ol.interaction.condition');
goog.require('ol.layer.Vector');
goog.require('ol.layer.VectorLayerRenderIntent');
goog.require('ol.source.Vector');
@@ -24,17 +24,17 @@ ol.interaction.Select = function(opt_options) {
/**
* @private
* @type {ol.interaction.ConditionType}
* @type {ol.events.ConditionType}
*/
this.condition_ = goog.isDef(options.condition) ?
options.condition : ol.interaction.condition.clickOnly;
options.condition : ol.events.condition.clickOnly;
/**
* @private
* @type {ol.interaction.ConditionType}
* @type {ol.events.ConditionType}
*/
this.addCondition_ = goog.isDef(options.addCondition) ?
options.addCondition : ol.interaction.condition.shiftKeyOnly;
options.addCondition : ol.events.condition.shiftKeyOnly;
/**
* Mapping between original features and cloned features on selection layers.