Fix common misspellings
These were found with codespell.
This commit is contained in:
@@ -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
|
* (if necessary) using the configured autoPan parameters
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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.
|
* @param {boolean} enabled Whether the resolution is constrained.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ const SourceType = {
|
|||||||
* `source` property or the `layers` property to limit rendering to a single vector source. The
|
* `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.
|
* `source` property corresponds to the id of a vector source in your Mapbox style.
|
||||||
* @property {Array<string>} [layers] Limit rendering to the list of included layers. All layers
|
* @property {Array<string>} [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
|
* either the `source` property or the `layers` property to limit rendering to a single vector
|
||||||
* source.
|
* source.
|
||||||
* @property {boolean} [declutter=true] Declutter images and text. Decluttering is applied to all
|
* @property {boolean} [declutter=true] Declutter images and text. Decluttering is applied to all
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import {getUid} from '../util.js';
|
|||||||
* Function that takes an {@link module:ol/Feature} as argument and returns an
|
* 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
|
* {@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
|
* 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
|
* features only, is
|
||||||
* ```js
|
* ```js
|
||||||
* function(feature) {
|
* function(feature) {
|
||||||
@@ -216,7 +216,7 @@ class Cluster extends VectorSource {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the distances and refresh the source if necessary.
|
* 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.
|
* @param {number} minDistance The new minimum distance.
|
||||||
*/
|
*/
|
||||||
updateDistance(distance, minDistance) {
|
updateDistance(distance, minDistance) {
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ export function optionsFromCapabilities(wmtsCap, config) {
|
|||||||
let selectedMatrixLimit = {
|
let selectedMatrixLimit = {
|
||||||
MinTileCol: 0,
|
MinTileCol: 0,
|
||||||
MinTileRow: 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,
|
MaxTileCol: matrix.MatrixWidth - 1,
|
||||||
MaxTileRow: matrix.MatrixHeight - 1,
|
MaxTileRow: matrix.MatrixHeight - 1,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ class LRUCache {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} key Key.
|
* @param {string} key Key.
|
||||||
* @param {*} [opt_options] Options (reserverd for subclasses).
|
* @param {*} [opt_options] Options (reserved for subclasses).
|
||||||
* @return {T} Value.
|
* @return {T} Value.
|
||||||
*/
|
*/
|
||||||
get(key, opt_options) {
|
get(key, opt_options) {
|
||||||
|
|||||||
@@ -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
|
* Creates a composite transform given an initial translation, scale, rotation, and
|
||||||
* final translation (in that order only, not commutative). The resulting transform
|
* 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} dx1 Initial translation x.
|
||||||
* @param {number} dy1 Initial translation y.
|
* @param {number} dy1 Initial translation y.
|
||||||
* @param {number} sx Scale factor x.
|
* @param {number} sx Scale factor x.
|
||||||
|
|||||||
@@ -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
|
* @module ol/worker/version
|
||||||
*/
|
*/
|
||||||
import {VERSION} from '../util.js';
|
import {VERSION} from '../util.js';
|
||||||
|
|||||||
Reference in New Issue
Block a user