Module type for Control

This commit is contained in:
Tim Schaub
2018-03-18 09:53:35 -06:00
parent 414792f707
commit 2e0fd1c12d
10 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ import {visibleAtResolution} from '../layer/Layer.js';
* be changed by using a css selector for `.ol-attribution`.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Attribution~Options=} opt_options Attribution options.
* @api
*/

View File

@@ -33,7 +33,7 @@ import {listen, unlistenByKey} from '../events.js';
* This is the base class for controls. You can use it for simple custom
* controls by creating the element with listeners, creating an instance:
* ```js
* var myControl = new ol.control.Control({element: myElement});
* var myControl = new module:ol/control/Control~Control({element: myElement});
* ```
* and then adding this to the map.
*

View File

@@ -66,7 +66,7 @@ const getChangeType = (function() {
*
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/FullScreen~Options=} opt_options Options.
* @api
*/

View File

@@ -43,7 +43,7 @@ const COORDINATE_FORMAT = 'coordinateFormat';
* can be changed by using the css selector `.ol-mouse-position`.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/MousePosition~Options=} opt_options Mouse position
* options.
* @api

View File

@@ -62,7 +62,7 @@ const MIN_RATIO = 0.1;
* Create a new control with a map acting as an overview map for an other
* defined map.
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/OverviewMap~Options=} opt_options OverviewMap options.
* @api
*/

View File

@@ -34,7 +34,7 @@ import {inherits} from '../index.js';
* selector is added to the button when the rotation is 0.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Rotate~Options=} opt_options Rotate options.
* @api
*/

View File

@@ -48,7 +48,7 @@ const LEADING_DIGITS = [1, 2, 5];
* but this can be changed by using the css selector `.ol-scale-line`.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ScaleLine~Options=} opt_options Scale line options.
* @api
*/

View File

@@ -32,7 +32,7 @@ import {easeOut} from '../easing.js';
* use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Zoom~Options=} opt_options Zoom options.
* @api
*/

View File

@@ -45,7 +45,7 @@ const Direction = {
* map.addControl(new ol.control.ZoomSlider());
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ZoomSlider~Options=} opt_options Zoom slider options.
* @api
*/

View File

@@ -27,7 +27,7 @@ import {CLASS_CONTROL, CLASS_UNSELECTABLE} from '../css.js';
* extent. To style this control use the css selector `.ol-zoom-extent`.
*
* @constructor
* @extends {ol.control.Control}
* @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ZoomToExtent~Options=} opt_options Options.
* @api
*/