Merge pull request #1065 from ahocevar/skip-hidden

Select interaction does not work with shape symbolizers and canvas renderer
This commit is contained in:
ahocevar
2013-09-27 05:45:50 -07:00
3 changed files with 19 additions and 3 deletions

View File

@@ -311,9 +311,14 @@
/**
* @typedef {Object} ol.interaction.SelectOptions
* @property {ol.interaction.ConditionType|undefined} addCondition A conditional
* modifier (e.g. shift key) that determines if the selection is added to
* the current selection. By default, a shift-click adds to the current
* selection.
* @property {ol.interaction.ConditionType|undefined} condition A conditional
* modifier (i.e. Shift key) that determines if the interaction is active
* or not, default is on mouse click only.
* modifier (e.g. shift key) that determines if the interaction is active
* (i.e. selection occurs) or not. By default, a click with no modifier keys
* toggles the selection.
* @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter
* function to restrict selection to a subset of layers.
*/