Converting control to an interaction
To dispatch events, the interaction base class now inherits from goog.events.EventTarget.
This commit is contained in:
@@ -201,16 +201,6 @@
|
||||
* Default is '' (empty string).
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.control.SelectOptions
|
||||
* @property {string|undefined} className CSS class name. Default is 'ol-select'.
|
||||
* @property {Element|undefined} element Element.
|
||||
* @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter
|
||||
* function to restrict selection to a subset of layers.
|
||||
* @property {ol.Map|undefined} map Map.
|
||||
* @property {Element|undefined} target Target.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.control.ScaleLineOptions
|
||||
* @property {string|undefined} className CSS Class name. Default is 'ol-scale-line'.
|
||||
@@ -305,6 +295,12 @@
|
||||
* @property {number|undefined} delta Delta.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.interaction.SelectOptions
|
||||
* @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter
|
||||
* function to restrict selection to a subset of layers.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.interaction.TouchPanOptions
|
||||
* @property {ol.Kinetic|undefined} kinetic Kinetic.
|
||||
|
||||
Reference in New Issue
Block a user