diff --git a/src/ol/layer/Heatmap.js b/src/ol/layer/Heatmap.js index 5c9066a1eb..5d2fb598c5 100644 --- a/src/ol/layer/Heatmap.js +++ b/src/ol/layer/Heatmap.js @@ -33,7 +33,7 @@ import {createCanvasContext2D} from '../dom.js'; * @property {string|function(import("../Feature.js").default):number} [weight='weight'] The feature * attribute to use for the weight or a function that returns a weight from a feature. Weight values * should range from 0 to 1 (and values outside will be clamped to that range). - * @property {import("../source/Vector.js").default} [source] Source. + * @property {import("../source/Vector.js").default} [source] Point source. * @property {Object} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`. */ diff --git a/src/ol/layer/WebGLPoints.js b/src/ol/layer/WebGLPoints.js index 009fc769b2..764fa87b91 100644 --- a/src/ol/layer/WebGLPoints.js +++ b/src/ol/layer/WebGLPoints.js @@ -7,7 +7,7 @@ import {assign} from '../obj.js'; import {parseLiteralStyle} from '../webgl/ShaderBuilder.js'; /** - * @template {import("../source/Vector.js").default} VectorSourceType + * @template {import("../source/Vector.js").default} VectorSourceType * @typedef {Object} Options * @property {import('../style/literal.js').LiteralStyle} style Literal style to apply to the layer features. * @property {string} [className='ol-layer'] A CSS class name to set to the layer element. @@ -27,7 +27,7 @@ import {parseLiteralStyle} from '../webgl/ShaderBuilder.js'; * visible. * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will * be visible. - * @property {VectorSourceType} [source] Source. + * @property {VectorSourceType} [source] Point source. * @property {boolean} [disableHitDetection=false] Setting this to true will provide a slight performance boost, but will * prevent all hit detection on the layer. * @property {Object} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`. @@ -68,7 +68,7 @@ import {parseLiteralStyle} from '../webgl/ShaderBuilder.js'; * property on the layer object; for example, setting `title: 'My Title'` in the * options means that `title` is observable, and has get/set accessors. * - * @template {import("../source/Vector.js").default} VectorSourceType + * @template {import("../source/Vector.js").default} VectorSourceType * @extends {Layer} * @fires import("../render/Event.js").RenderEvent */