Doc improvements
Thanks @tschaub for suggesting these.
This commit is contained in:
@@ -313,10 +313,12 @@
|
|||||||
* @typedef {Object} ol.interaction.SelectOptions
|
* @typedef {Object} ol.interaction.SelectOptions
|
||||||
* @property {ol.interaction.ConditionType|undefined} addCondition A conditional
|
* @property {ol.interaction.ConditionType|undefined} addCondition A conditional
|
||||||
* modifier (e.g. shift key) that determines if the selection is added to
|
* 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
|
* @property {ol.interaction.ConditionType|undefined} condition A conditional
|
||||||
* modifier (e.g. shift key) that determines if the interaction is active
|
* 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
|
* @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter
|
||||||
* function to restrict selection to a subset of layers.
|
* function to restrict selection to a subset of layers.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user