ol 7.3.1-dev.1682341290809 → 7.3.1-dev.1683016100725

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/format/WKB.js CHANGED
@@ -565,13 +565,13 @@ class WkbWriter {
565
565
  /**
566
566
  * @param {import("../geom/Geometry.js").default} geom geometry
567
567
  * @param {import("../geom/Geometry.js").GeometryLayout} [layout] layout
568
- * @return {import("../geom/Geometry.js").GeometryLayout} minumum layout made by common axes
568
+ * @return {import("../geom/Geometry.js").GeometryLayout} minimum layout made by common axes
569
569
  */
570
570
  findMinimumLayout(geom, layout = 'XYZM') {
571
571
  /**
572
572
  * @param {import("../geom/Geometry.js").GeometryLayout} a A
573
573
  * @param {import("../geom/Geometry.js").GeometryLayout} b B
574
- * @return {import("../geom/Geometry.js").GeometryLayout} minumum layout made by common axes
574
+ * @return {import("../geom/Geometry.js").GeometryLayout} minimum layout made by common axes
575
575
  */
576
576
  const GeometryLayout_min = (a, b) => {
577
577
  if (a === b) {
@@ -1,7 +1,7 @@
1
1
  export default Or;
2
2
  /**
3
3
  * @classdesc
4
- * Represents a logical `<Or>` operator between two ore more filter conditions.
4
+ * Represents a logical `<Or>` operator between two or more filter conditions.
5
5
  * @api
6
6
  */
7
7
  declare class Or extends LogicalNary {
@@ -5,7 +5,7 @@ import LogicalNary from './LogicalNary.js';
5
5
 
6
6
  /**
7
7
  * @classdesc
8
- * Represents a logical `<Or>` operator between two ore more filter conditions.
8
+ * Represents a logical `<Or>` operator between two or more filter conditions.
9
9
  * @api
10
10
  */
11
11
  class Or extends LogicalNary {
@@ -70,7 +70,7 @@ export function orientLinearRingsArray(flatCoordinates: Array<number>, offset: n
70
70
  * @param {Array<number>} flatCoordinates Flat coordinates
71
71
  * @param {Array<number>} ends Linear ring end indexes
72
72
  * @return {Array<Array<number>>} Two dimensional endss array that can
73
- * be used to contruct a MultiPolygon
73
+ * be used to construct a MultiPolygon
74
74
  */
75
75
  export function inflateEnds(flatCoordinates: Array<number>, ends: Array<number>): Array<Array<number>>;
76
76
  //# sourceMappingURL=orient.d.ts.map
@@ -182,7 +182,7 @@ export function orientLinearRingsArray(
182
182
  * @param {Array<number>} flatCoordinates Flat coordinates
183
183
  * @param {Array<number>} ends Linear ring end indexes
184
184
  * @return {Array<Array<number>>} Two dimensional endss array that can
185
- * be used to contruct a MultiPolygon
185
+ * be used to construct a MultiPolygon
186
186
  */
187
187
  export function inflateEnds(flatCoordinates, ends) {
188
188
  const endss = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.3.1-dev.1682341290809",
3
+ "version": "7.3.1-dev.1683016100725",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/proj/proj4.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export function isRegistered(): boolean;
5
5
  /**
6
- * Unsets the shared proj4 previsouly set with register.
6
+ * Unsets the shared proj4 previously set with register.
7
7
  */
8
8
  export function unregister(): void;
9
9
  /**
package/proj/proj4.js CHANGED
@@ -24,7 +24,7 @@ export function isRegistered() {
24
24
  }
25
25
 
26
26
  /**
27
- * Unsets the shared proj4 previsouly set with register.
27
+ * Unsets the shared proj4 previously set with register.
28
28
  */
29
29
  export function unregister() {
30
30
  registered = null;
package/proj.d.ts CHANGED
@@ -293,8 +293,8 @@ export function fromUserResolution(resolution: number, destProjection: Projectio
293
293
  * clamped to the validity range.
294
294
  * @param {Projection} sourceProj Source projection.
295
295
  * @param {Projection} destProj Destination projection.
296
- * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} transform Transform function (source to destiation).
297
- * @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to destiation).
296
+ * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} transform Transform function (source to destination).
297
+ * @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to destination).
298
298
  */
299
299
  export function createSafeCoordinateTransform(sourceProj: Projection, destProj: Projection, transform: (arg0: import("./coordinate.js").Coordinate) => import("./coordinate.js").Coordinate): (arg0: import("./coordinate.js").Coordinate) => import("./coordinate.js").Coordinate;
300
300
  /**
package/proj.js CHANGED
@@ -699,8 +699,8 @@ export function fromUserResolution(resolution, destProjection) {
699
699
  * clamped to the validity range.
700
700
  * @param {Projection} sourceProj Source projection.
701
701
  * @param {Projection} destProj Destination projection.
702
- * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} transform Transform function (source to destiation).
703
- * @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to destiation).
702
+ * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} transform Transform function (source to destination).
703
+ * @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to destination).
704
704
  */
705
705
  export function createSafeCoordinateTransform(sourceProj, destProj, transform) {
706
706
  return function (coord) {
@@ -95,7 +95,7 @@ declare class AbstractBatchRenderer {
95
95
  protected generateRenderInstructions(batch: import("./MixedGeometryBatch.js").GeometryBatch): void;
96
96
  /**
97
97
  * Rebuild internal webgl buffers for rendering based on the current rendering instructions;
98
- * This is asynchronous: webgl buffers wil _not_ be updated right away
98
+ * This is asynchronous: webgl buffers will _not_ be updated right away
99
99
  * @param {import("./MixedGeometryBatch.js").GeometryBatch} batch Geometry batch
100
100
  * @param {import("../../geom/Geometry.js").Type} geometryType Geometry type
101
101
  * @param {function(): void} callback Function called once the render buffers are updated
@@ -126,7 +126,7 @@ class AbstractBatchRenderer {
126
126
 
127
127
  /**
128
128
  * Rebuild internal webgl buffers for rendering based on the current rendering instructions;
129
- * This is asynchronous: webgl buffers wil _not_ be updated right away
129
+ * This is asynchronous: webgl buffers will _not_ be updated right away
130
130
  * @param {import("./MixedGeometryBatch.js").GeometryBatch} batch Geometry batch
131
131
  * @param {import("../../geom/Geometry.js").Type} geometryType Geometry type
132
132
  * @param {function(): void} callback Function called once the render buffers are updated
@@ -216,7 +216,7 @@ export type PointGeometryBatch = {
216
216
  * from the batch, these inner batches are modified accordingly in order to keep them up-to-date.
217
217
  *
218
218
  * A feature can be present in several inner batches, for example a polygon geometry will be present in the polygon batch
219
- * and its linar rings will be present in the line batch. Multi geometries are also broken down into individual geometries
219
+ * and its linear rings will be present in the line batch. Multi geometries are also broken down into individual geometries
220
220
  * and added to the corresponding batches in a recursive manner.
221
221
  *
222
222
  * Corresponding {@link module:ol/render/webgl/BatchRenderer} instances are then used to generate the render instructions
@@ -78,7 +78,7 @@ import {linearRingIsClockwise} from '../../geom/flat/orient.js';
78
78
  * from the batch, these inner batches are modified accordingly in order to keep them up-to-date.
79
79
  *
80
80
  * A feature can be present in several inner batches, for example a polygon geometry will be present in the polygon batch
81
- * and its linar rings will be present in the line batch. Multi geometries are also broken down into individual geometries
81
+ * and its linear rings will be present in the line batch. Multi geometries are also broken down into individual geometries
82
82
  * and added to the corresponding batches in a recursive manner.
83
83
  *
84
84
  * Corresponding {@link module:ol/render/webgl/BatchRenderer} instances are then used to generate the render instructions
@@ -156,7 +156,7 @@ class Triangulation {
156
156
  /*
157
157
  * The maxSubdivision controls how many splittings of the target area can
158
158
  * be done. The idea here is to do a linear mapping of the target areas
159
- * but the actual overal reprojection (can be) extremely non-linear. The
159
+ * but the actual overall reprojection (can be) extremely non-linear. The
160
160
  * default value of MAX_SUBDIVISION was chosen based on mapping a 256x256
161
161
  * tile size. However this function is also called to remap canvas rendered
162
162
  * layers which can be much larger. This calculation increases the maxSubdivision
@@ -63,7 +63,7 @@ export type Options = {
63
63
  */
64
64
  wrapX?: boolean | undefined;
65
65
  /**
66
- * Transition time when fading in new tiles (in miliseconds).
66
+ * Transition time when fading in new tiles (in milliseconds).
67
67
  */
68
68
  transition?: number | undefined;
69
69
  /**
@@ -101,7 +101,7 @@ export type Options = {
101
101
  * @property {boolean} [opaque=false] Whether the layer is opaque.
102
102
  * @property {import("./Source.js").State} [state] The source state.
103
103
  * @property {boolean} [wrapX=false] Render tiles beyond the antimeridian.
104
- * @property {number} [transition] Transition time when fading in new tiles (in miliseconds).
104
+ * @property {number} [transition] Transition time when fading in new tiles (in milliseconds).
105
105
  * @property {number} [bandCount=4] Number of bands represented in the data.
106
106
  * @property {boolean} [interpolate=false] Use interpolated values when resampling. By default,
107
107
  * the nearest neighbor is used when resampling.
@@ -45,7 +45,7 @@ import {toSize} from '../size.js';
45
45
  * @property {boolean} [opaque=false] Whether the layer is opaque.
46
46
  * @property {import("./Source.js").State} [state] The source state.
47
47
  * @property {boolean} [wrapX=false] Render tiles beyond the antimeridian.
48
- * @property {number} [transition] Transition time when fading in new tiles (in miliseconds).
48
+ * @property {number} [transition] Transition time when fading in new tiles (in milliseconds).
49
49
  * @property {number} [bandCount=4] Number of bands represented in the data.
50
50
  * @property {boolean} [interpolate=false] Use interpolated values when resampling. By default,
51
51
  * the nearest neighbor is used when resampling.
@@ -407,7 +407,7 @@ class RegularShape extends ImageStyle {
407
407
  if (lineJoin === 'miter' && miterRatio <= miterLimit) {
408
408
  return miterRatio * strokeWidth;
409
409
  }
410
- // Calculate the distnce from center to the stroke corner where
410
+ // Calculate the distance from center to the stroke corner where
411
411
  // it was cut short because of the miter limit.
412
412
  // l
413
413
  // ----+---- <= distance from center to here is maxr
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '7.3.1-dev.1682341290809';
36
+ export const VERSION = '7.3.1-dev.1683016100725';