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/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/format/WKB.js +2 -2
- package/format/filter/Or.d.ts +1 -1
- package/format/filter/Or.js +1 -1
- package/geom/flat/orient.d.ts +1 -1
- package/geom/flat/orient.js +1 -1
- package/package.json +1 -1
- package/proj/proj4.d.ts +1 -1
- package/proj/proj4.js +1 -1
- package/proj.d.ts +2 -2
- package/proj.js +2 -2
- package/render/webgl/BatchRenderer.d.ts +1 -1
- package/render/webgl/BatchRenderer.js +1 -1
- package/render/webgl/MixedGeometryBatch.d.ts +1 -1
- package/render/webgl/MixedGeometryBatch.js +1 -1
- package/reproj/Triangulation.js +1 -1
- package/source/DataTile.d.ts +2 -2
- package/source/DataTile.js +1 -1
- package/style/RegularShape.js +1 -1
- package/util.js +1 -1
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}
|
|
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}
|
|
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) {
|
package/format/filter/Or.d.ts
CHANGED
package/format/filter/Or.js
CHANGED
|
@@ -5,7 +5,7 @@ import LogicalNary from './LogicalNary.js';
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @classdesc
|
|
8
|
-
* Represents a logical `<Or>` operator between two
|
|
8
|
+
* Represents a logical `<Or>` operator between two or more filter conditions.
|
|
9
9
|
* @api
|
|
10
10
|
*/
|
|
11
11
|
class Or extends LogicalNary {
|
package/geom/flat/orient.d.ts
CHANGED
|
@@ -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
|
|
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
|
package/geom/flat/orient.js
CHANGED
|
@@ -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
|
|
185
|
+
* be used to construct a MultiPolygon
|
|
186
186
|
*/
|
|
187
187
|
export function inflateEnds(flatCoordinates, ends) {
|
|
188
188
|
const endss = [];
|
package/package.json
CHANGED
package/proj/proj4.d.ts
CHANGED
package/proj/proj4.js
CHANGED
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
|
|
297
|
-
* @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to
|
|
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
|
|
703
|
-
* @return {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} Safe transform function (source to
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
package/reproj/Triangulation.js
CHANGED
|
@@ -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
|
|
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
|
package/source/DataTile.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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.
|
package/source/DataTile.js
CHANGED
|
@@ -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
|
|
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.
|
package/style/RegularShape.js
CHANGED
|
@@ -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
|
|
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