Module type for BaseObject

This commit is contained in:
Tim Schaub
2018-03-18 09:50:48 -06:00
parent 0edbfde4d3
commit 414792f707
10 changed files with 12 additions and 12 deletions

View File

@@ -39,14 +39,14 @@ import {listen, unlistenByKey} from '../events.js';
*
* The main advantage of having this as a control rather than a simple separate
* DOM element is that preventing propagation is handled for you. Controls
* will also be `ol.Object`s in a `ol.Collection`, so you can use their
* will also be `module:ol/Object~BaseObject`s in a `ol.Collection`, so you can use their
* methods.
*
* You can also extend this base for your own control class. See
* examples/custom-controls for an example of how to do this.
*
* @constructor
* @extends {ol.Object}
* @extends {module:ol/Object~BaseObject}
* @implements {oli.control.Control}
* @param {module:ol/control/Control~Options} options Control options.
* @api