Module type for BaseObject
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -270,7 +270,7 @@ OverviewMap.prototype.setMap = function(map) {
|
||||
|
||||
/**
|
||||
* Handle map property changes. This only deals with changes to the map's view.
|
||||
* @param {ol.Object.Event} event The propertychange event.
|
||||
* @param {module:ol/Object~BaseObject.Event} event The propertychange event.
|
||||
* @private
|
||||
*/
|
||||
OverviewMap.prototype.handleMapPropertyChange_ = function(event) {
|
||||
|
||||
@@ -21,7 +21,7 @@ import {create as createTransform, compose as composeTransform} from '../transfo
|
||||
*
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.Object}
|
||||
* @extends {module:ol/Object~BaseObject}
|
||||
* @api
|
||||
*/
|
||||
const Geometry = function() {
|
||||
|
||||
@@ -12,12 +12,12 @@ import {assign} from '../obj.js';
|
||||
* Abstract base class; normally only used for creating subclasses and not
|
||||
* instantiated in apps.
|
||||
* Note that with `ol.layer.Base` and all its subclasses, any property set in
|
||||
* the options is set as a {@link ol.Object} property on the layer object, so
|
||||
* the options is set as a {@link module:ol/Object~BaseObject} property on the layer object, so
|
||||
* is observable, and has get/set accessors.
|
||||
*
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.Object}
|
||||
* @extends {module:ol/Object~BaseObject}
|
||||
* @param {olx.layer.BaseOptions} options Layer options.
|
||||
* @api
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ const DEFAULT_GRADIENT = ['#00f', '#0ff', '#0f0', '#ff0', '#f00'];
|
||||
/**
|
||||
* @classdesc
|
||||
* Layer for rendering vector data as a heatmap.
|
||||
* Note that any property set in the options is set as a {@link ol.Object}
|
||||
* Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
|
||||
* property on the layer object; for example, setting `title: 'My Title'` in the
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
|
||||
@@ -9,7 +9,7 @@ import Layer from '../layer/Layer.js';
|
||||
* @classdesc
|
||||
* Server-rendered images that are available for arbitrary extents and
|
||||
* resolutions.
|
||||
* Note that any property set in the options is set as a {@link ol.Object}
|
||||
* Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
|
||||
* property on the layer object; for example, setting `title: 'My Title'` in the
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
|
||||
@@ -11,7 +11,7 @@ import {assign} from '../obj.js';
|
||||
* @classdesc
|
||||
* For layer sources that provide pre-rendered, tiled images in grids that are
|
||||
* organized by zoom levels for specific resolutions.
|
||||
* Note that any property set in the options is set as a {@link ol.Object}
|
||||
* Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
|
||||
* property on the layer object; for example, setting `title: 'My Title'` in the
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
|
||||
@@ -21,7 +21,7 @@ const Property = {
|
||||
/**
|
||||
* @classdesc
|
||||
* Vector data that is rendered client-side.
|
||||
* Note that any property set in the options is set as a {@link ol.Object}
|
||||
* Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
|
||||
* property on the layer object; for example, setting `title: 'My Title'` in the
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
|
||||
@@ -12,7 +12,7 @@ import {assign} from '../obj.js';
|
||||
/**
|
||||
* @classdesc
|
||||
* Layer for vector tile data that is rendered client-side.
|
||||
* Note that any property set in the options is set as a {@link ol.Object}
|
||||
* Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
|
||||
* property on the layer object; for example, setting `title: 'My Title'` in the
|
||||
* options means that `title` is observable, and has get/set accessors.
|
||||
*
|
||||
|
||||
@@ -18,7 +18,7 @@ import SourceState from '../source/State.js';
|
||||
*
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.Object}
|
||||
* @extends {module:ol/Object~BaseObject}
|
||||
* @param {ol.SourceSourceOptions} options Source options.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user