diff --git a/src/ol/Overlay.js b/src/ol/Overlay.js index 38db2ea02b..869eac4614 100644 --- a/src/ol/Overlay.js +++ b/src/ol/Overlay.js @@ -396,7 +396,7 @@ class Overlay extends BaseObject { } /** - * Pan the map so that the overlay is entirely visisble in the current viewport + * Pan the map so that the overlay is entirely visible in the current viewport * (if necessary) using the configured autoPan parameters * @protected */ diff --git a/src/ol/View.js b/src/ol/View.js index 23a04fb5c9..e1cd60c174 100644 --- a/src/ol/View.js +++ b/src/ol/View.js @@ -1016,7 +1016,7 @@ class View extends BaseObject { } /** - * Set whether the view shoud allow intermediary zoom levels. + * Set whether the view should allow intermediary zoom levels. * @param {boolean} enabled Whether the resolution is constrained. * @api */ diff --git a/src/ol/layer/MapboxVector.js b/src/ol/layer/MapboxVector.js index 0dfed94b2c..035c12f7e9 100644 --- a/src/ol/layer/MapboxVector.js +++ b/src/ol/layer/MapboxVector.js @@ -159,7 +159,7 @@ const SourceType = { * `source` property or the `layers` property to limit rendering to a single vector source. The * `source` property corresponds to the id of a vector source in your Mapbox style. * @property {Array} [layers] Limit rendering to the list of included layers. All layers - * must share the same vector soource. If your style uses more than one source, you need to use + * must share the same vector source. If your style uses more than one source, you need to use * either the `source` property or the `layers` property to limit rendering to a single vector * source. * @property {boolean} [declutter=true] Declutter images and text. Decluttering is applied to all diff --git a/src/ol/source/Cluster.js b/src/ol/source/Cluster.js index a2fc5dd3e6..5c19ca3ab6 100644 --- a/src/ol/source/Cluster.js +++ b/src/ol/source/Cluster.js @@ -31,7 +31,7 @@ import {getUid} from '../util.js'; * Function that takes an {@link module:ol/Feature} as argument and returns an * {@link module:ol/geom/Point} as cluster calculation point for the feature. When a * feature should not be considered for clustering, the function should return - * `null`. The default, which works when the underyling source contains point + * `null`. The default, which works when the underlying source contains point * features only, is * ```js * function(feature) { @@ -216,7 +216,7 @@ class Cluster extends VectorSource { /** * Update the distances and refresh the source if necessary. - * @param {number} distance The new distnce. + * @param {number} distance The new distance. * @param {number} minDistance The new minimum distance. */ updateDistance(distance, minDistance) { diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index af2a6b0ff0..a9cf332e85 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -451,7 +451,7 @@ export function optionsFromCapabilities(wmtsCap, config) { let selectedMatrixLimit = { MinTileCol: 0, MinTileRow: 0, - // substract one to end up at tile top left + // subtract one to end up at tile top left MaxTileCol: matrix.MatrixWidth - 1, MaxTileRow: matrix.MatrixHeight - 1, }; diff --git a/src/ol/structs/LRUCache.js b/src/ol/structs/LRUCache.js index e8e3b42343..af44ad6472 100644 --- a/src/ol/structs/LRUCache.js +++ b/src/ol/structs/LRUCache.js @@ -100,7 +100,7 @@ class LRUCache { /** * @param {string} key Key. - * @param {*} [opt_options] Options (reserverd for subclasses). + * @param {*} [opt_options] Options (reserved for subclasses). * @return {T} Value. */ get(key, opt_options) { diff --git a/src/ol/transform.js b/src/ol/transform.js index 3d86f487cc..ed9799b955 100644 --- a/src/ol/transform.js +++ b/src/ol/transform.js @@ -203,7 +203,7 @@ export function compose(transform, dx1, dy1, sx, sy, angle, dx2, dy2) { /** * Creates a composite transform given an initial translation, scale, rotation, and * final translation (in that order only, not commutative). The resulting transform - * string can be applied as `transform` porperty of an HTMLElement's style. + * string can be applied as `transform` property of an HTMLElement's style. * @param {number} dx1 Initial translation x. * @param {number} dy1 Initial translation y. * @param {number} sx Scale factor x. diff --git a/src/ol/worker/version.js b/src/ol/worker/version.js index e8b00792c9..6b99149cf4 100644 --- a/src/ol/worker/version.js +++ b/src/ol/worker/version.js @@ -1,5 +1,5 @@ /** - * A worker that responds to messages by posting a message with the version identifer. + * A worker that responds to messages by posting a message with the version identifier. * @module ol/worker/version */ import {VERSION} from '../util.js';