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
+1 -1
View File
@@ -43,7 +43,7 @@ import {visibleAtResolution} from '../layer/Layer.js';
* be changed by using a css selector for `.ol-attribution`. * be changed by using a css selector for `.ol-attribution`.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Attribution~Options=} opt_options Attribution options. * @param {module:ol/control/Attribution~Options=} opt_options Attribution options.
* @api * @api
*/ */
+1 -1
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 * This is the base class for controls. You can use it for simple custom
* controls by creating the element with listeners, creating an instance: * controls by creating the element with listeners, creating an instance:
* ```js * ```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. * and then adding this to the map.
* *
+1 -1
View File
@@ -66,7 +66,7 @@ const getChangeType = (function() {
* *
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/FullScreen~Options=} opt_options Options. * @param {module:ol/control/FullScreen~Options=} opt_options Options.
* @api * @api
*/ */
+1 -1
View File
@@ -43,7 +43,7 @@ const COORDINATE_FORMAT = 'coordinateFormat';
* can be changed by using the css selector `.ol-mouse-position`. * can be changed by using the css selector `.ol-mouse-position`.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/MousePosition~Options=} opt_options Mouse position * @param {module:ol/control/MousePosition~Options=} opt_options Mouse position
* options. * options.
* @api * @api
+1 -1
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 * Create a new control with a map acting as an overview map for an other
* defined map. * defined map.
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/OverviewMap~Options=} opt_options OverviewMap options. * @param {module:ol/control/OverviewMap~Options=} opt_options OverviewMap options.
* @api * @api
*/ */
+1 -1
View File
@@ -34,7 +34,7 @@ import {inherits} from '../index.js';
* selector is added to the button when the rotation is 0. * selector is added to the button when the rotation is 0.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Rotate~Options=} opt_options Rotate options. * @param {module:ol/control/Rotate~Options=} opt_options Rotate options.
* @api * @api
*/ */
+1 -1
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`. * but this can be changed by using the css selector `.ol-scale-line`.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ScaleLine~Options=} opt_options Scale line options. * @param {module:ol/control/ScaleLine~Options=} opt_options Scale line options.
* @api * @api
*/ */
+1 -1
View File
@@ -32,7 +32,7 @@ import {easeOut} from '../easing.js';
* use css selectors `.ol-zoom-in` and `.ol-zoom-out`. * use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/Zoom~Options=} opt_options Zoom options. * @param {module:ol/control/Zoom~Options=} opt_options Zoom options.
* @api * @api
*/ */
+1 -1
View File
@@ -45,7 +45,7 @@ const Direction = {
* map.addControl(new ol.control.ZoomSlider()); * map.addControl(new ol.control.ZoomSlider());
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ZoomSlider~Options=} opt_options Zoom slider options. * @param {module:ol/control/ZoomSlider~Options=} opt_options Zoom slider options.
* @api * @api
*/ */
+1 -1
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`. * extent. To style this control use the css selector `.ol-zoom-extent`.
* *
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {module:ol/control/Control~Control}
* @param {module:ol/control/ZoomToExtent~Options=} opt_options Options. * @param {module:ol/control/ZoomToExtent~Options=} opt_options Options.
* @api * @api
*/ */