Merge pull request #1273 from tschaub/select-layers

Rename layerFilter option to layers and accept array for select interaction.
This commit is contained in:
Tim Schaub
2013-11-13 06:35:17 -08:00
5 changed files with 24 additions and 17 deletions

View File

@@ -395,8 +395,8 @@
* 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.
* @property {undefined|Array.<ol.layer.Layer>|function(ol.layer.Layer):boolean} layers
* Layers or filter function to restrict selection to a subset of layers.
* @todo stability experimental
*/