Use a ol.interaction.condition in ol.interaction.Select

This commit is contained in:
Frederic Junod
2013-08-28 15:33:15 +02:00
committed by ahocevar
parent bb93a86528
commit 89bdd3bc2c
3 changed files with 23 additions and 5 deletions

View File

@@ -244,7 +244,7 @@
/**
* @typedef {Object} ol.interaction.DragPanOptions
* @property {ol.Kinetic|undefined} kinetic Kinetic.
* @property {ol.interaction.ConditionType|undefined} condition Conditon.
* @property {ol.interaction.ConditionType|undefined} condition Condition.
*/
/**
@@ -297,6 +297,7 @@
/**
* @typedef {Object} ol.interaction.SelectOptions
* @property {ol.interaction.ConditionType|undefined} condition Condition.
* @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter
* function to restrict selection to a subset of layers.
*/