Fix common misspellings
These were found with codespell.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user