Doc improvements

Thanks @tschaub for suggesting these.
This commit is contained in:
ahocevar
2013-09-27 12:11:41 +02:00
parent f8e891ff15
commit 6c6f9a3ef5

View File

@@ -313,10 +313,12 @@
* @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. Default is when holding the shift key only.
* the current selection. By default, a shift-click adds to the current
* selection.
* @property {ol.interaction.ConditionType|undefined} condition A conditional
* modifier (e.g. shift key) that determines if the interaction is active
* (i.e. selection occurs) or not. Default is on mouse click only.
* (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.
*/