Fix typedef name in jsdoc
This commit is contained in:
@@ -18,7 +18,7 @@ import {toString} from './color.js';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {module:ol/color~Color|module:ol/colorlike~ColorLike} color Color.
|
* @param {module:ol/color~Color|module:ol/colorlike~ColorLike} color Color.
|
||||||
* @return {module:ol/color~ColorLike} The color as an {@link ol/color~ColorLike}.
|
* @return {module:ol/colorlike~ColorLike} The color as an {@link ol/colorlike~ColorLike}.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
export function asColorLike(color) {
|
export function asColorLike(color) {
|
||||||
@@ -31,8 +31,8 @@ export function asColorLike(color) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {?} color The value that is potentially an {@link ol/color~ColorLike}.
|
* @param {?} color The value that is potentially an {@link ol/colorlike~ColorLike}.
|
||||||
* @return {boolean} The color is an {@link ol/color~ColorLike}.
|
* @return {boolean} The color is an {@link ol/colorlike~ColorLike}.
|
||||||
*/
|
*/
|
||||||
export function isColorLike(color) {
|
export function isColorLike(color) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -11,14 +11,14 @@ import Zoom from './control/Zoom.js';
|
|||||||
* @typedef {Object} DefaultsOptions
|
* @typedef {Object} DefaultsOptions
|
||||||
* @property {boolean} [attribution=true] Include
|
* @property {boolean} [attribution=true] Include
|
||||||
* {@link module:ol/control/Attribution~Attribution}.
|
* {@link module:ol/control/Attribution~Attribution}.
|
||||||
* @property {module:ol/control/Attribution~AttributionOptions} [attributionOptions]
|
* @property {module:ol/control/Attribution~Options} [attributionOptions]
|
||||||
* Options for {@link module:ol/control/Attribution~Attribution}.
|
* Options for {@link module:ol/control/Attribution~Attribution}.
|
||||||
* @property {boolean} [rotate=true] Include
|
* @property {boolean} [rotate=true] Include
|
||||||
* {@link module:ol/control/Rotate~Rotate}.
|
* {@link module:ol/control/Rotate~Rotate}.
|
||||||
* @property {module:ol/control/Rotate~RotateOptions} [rotateOptions] Options
|
* @property {module:ol/control/Rotate~Options} [rotateOptions] Options
|
||||||
* for {@link module:ol/control/Rotate~Rotate}.
|
* for {@link module:ol/control/Rotate~Rotate}.
|
||||||
* @property {boolean} [zoom] Include {@link module:ol/control/Zoom~Zoom}.
|
* @property {boolean} [zoom] Include {@link module:ol/control/Zoom~Zoom}.
|
||||||
* @property {module:ol/control/Zoom~ZoomOptions} [zoomOptions] Options for
|
* @property {module:ol/control/Zoom~Options} [zoomOptions] Options for
|
||||||
* {@link module:ol/control/Zoom~Zoom}.
|
* {@link module:ol/control/Zoom~Zoom}.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ OverviewMap.prototype.setMap = function(map) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle map property changes. This only deals with changes to the map's view.
|
* Handle map property changes. This only deals with changes to the map's view.
|
||||||
* @param {module:ol/Object~BaseObject.Event} event The propertychange event.
|
* @param {module:ol/Object~ObjectEvent} event The propertychange event.
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
OverviewMap.prototype.handleMapPropertyChange_ = function(event) {
|
OverviewMap.prototype.handleMapPropertyChange_ = function(event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user