Renaming condition to clickOnly, and fixing docs

This commit is contained in:
ahocevar
2013-08-28 16:55:42 +02:00
parent 89bdd3bc2c
commit c47634b2ee
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ ol.interaction.Select = function(opt_options) {
* @type {ol.interaction.ConditionType}
*/
this.condition_ = goog.isDef(options.condition) ?
options.condition : ol.interaction.condition.clickEventOnly;
options.condition : ol.interaction.condition.clickOnly;
/**
* Mapping between original features and cloned features on selection layers.