From e566868a5b9fb550f266b80723c59c294364d620 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 15 Aug 2022 16:58:42 -0600 Subject: [PATCH] Allow short name to be extracted --- src/ol/layer/VectorTile.js | 2 +- src/ol/proj/Projection.js | 4 ++-- src/ol/render/canvas/Immediate.js | 6 +++--- src/ol/source/Vector.js | 2 +- src/ol/webgl/Helper.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ol/layer/VectorTile.js b/src/ol/layer/VectorTile.js index ee19a288a5..f98efc0394 100644 --- a/src/ol/layer/VectorTile.js +++ b/src/ol/layer/VectorTile.js @@ -89,7 +89,7 @@ import {assert} from '../asserts.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 module:ol/Object~BaseObject BaseObject} + * 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. * diff --git a/src/ol/proj/Projection.js b/src/ol/proj/Projection.js index 1a4808c6dd..5c76e9202c 100644 --- a/src/ol/proj/Projection.js +++ b/src/ol/proj/Projection.js @@ -17,9 +17,9 @@ import {METERS_PER_UNIT} from './Units.js'; * @property {import("../extent.js").Extent} [worldExtent] The world extent for the SRS. * @property {function(number, import("../coordinate.js").Coordinate):number} [getPointResolution] * Function to determine resolution at a point. The function is called with a - * `number` view resolution and a {@link module:ol/coordinate~Coordinate Coordinate} as arguments, and returns + * `number` view resolution and a {@link module:ol/coordinate~Coordinate} as arguments, and returns * the `number` resolution in projection units at the passed coordinate. If this is `undefined`, - * the default {@link module:ol/proj.getPointResolution getPointResolution()} function will be used. + * the default {@link module:ol/proj.getPointResolution} function will be used. */ /** diff --git a/src/ol/render/canvas/Immediate.js b/src/ol/render/canvas/Immediate.js index db24fc488b..5290d0a897 100644 --- a/src/ol/render/canvas/Immediate.js +++ b/src/ol/render/canvas/Immediate.js @@ -31,11 +31,11 @@ import {transformGeom2D} from '../../geom/SimpleGeometry.js'; /** * @classdesc - * A concrete subclass of {@link module:ol/render/VectorContext~VectorContext VectorContext} that implements + * A concrete subclass of {@link module:ol/render/VectorContext~VectorContext} that implements * direct rendering of features and geometries to an HTML5 Canvas context. * Instances of this class are created internally by the library and * provided to application code as vectorContext member of the - * {@link module:ol/render/Event~RenderEvent RenderEvent} object associated with postcompose, precompose and + * {@link module:ol/render/Event~RenderEvent} object associated with postcompose, precompose and * render events emitted by layers and maps. */ class CanvasImmediateRenderer extends VectorContext { @@ -600,7 +600,7 @@ class CanvasImmediateRenderer extends VectorContext { * Render a feature into the canvas. Note that any `zIndex` on the provided * style will be ignored - features are rendered immediately in the order that * this method is called. If you need `zIndex` support, you should be using an - * {@link module:ol/layer/Vector~VectorLayer VectorLayer} instead. + * {@link module:ol/layer/Vector~VectorLayer} instead. * * @param {import("../../Feature.js").default} feature Feature. * @param {import("../../style/Style.js").default} style Style. diff --git a/src/ol/source/Vector.js b/src/ol/source/Vector.js index 40d276927e..aa6c752030 100644 --- a/src/ol/source/Vector.js +++ b/src/ol/source/Vector.js @@ -526,7 +526,7 @@ class VectorSource extends Source { /** * Remove all features from the source. - * @param {boolean} [fast] Skip dispatching of {@link module:ol/source/Vector.VectorSourceEvent#event:removefeature removefeature} events. + * @param {boolean} [fast] Skip dispatching of {@link module:ol/source/Vector.VectorSourceEvent#event:removefeature} events. * @api */ clear(fast) { diff --git a/src/ol/webgl/Helper.js b/src/ol/webgl/Helper.js index 99c4057bdb..143d965e4a 100644 --- a/src/ol/webgl/Helper.js +++ b/src/ol/webgl/Helper.js @@ -268,7 +268,7 @@ function releaseCanvas(key) { * * The GPU only receives the data as arrays of numbers. These numbers must be handled differently depending on what it describes (position, texture coordinate...). * Attributes are used to specify these uses. Specify the attribute names with - * {@link module:ol/webgl/Helper~WebGLHelper#enableAttributes enableAttributes()} (see code snippet below). + * {@link module:ol/webgl/Helper~WebGLHelper#enableAttributes} (see code snippet below). * * Please note that you will have to specify the type and offset of the attributes in the data array. You can refer to the documentation of [WebGLRenderingContext.vertexAttribPointer](https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer) for more explanation. * ```js