ol 7.1.1-pr.14101.2 → 7.2.0
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/AssertionError.d.ts.map +1 -1
- package/AssertionError.js +1 -0
- package/DataTile.d.ts +34 -11
- package/DataTile.d.ts.map +1 -1
- package/DataTile.js +84 -7
- package/Feature.d.ts +3 -3
- package/Feature.js +3 -3
- package/Geolocation.d.ts +34 -27
- package/Geolocation.d.ts.map +1 -1
- package/Geolocation.js +30 -12
- package/Map.d.ts +19 -6
- package/Map.d.ts.map +1 -1
- package/Map.js +70 -43
- package/MapBrowserEventHandler.d.ts.map +1 -1
- package/MapBrowserEventHandler.js +9 -13
- package/Overlay.d.ts +1 -1
- package/Overlay.js +1 -1
- package/README.md +9 -1
- package/Tile.d.ts +2 -2
- package/Tile.js +1 -1
- package/TileCache.d.ts.map +1 -1
- package/TileCache.js +6 -8
- package/array.d.ts +2 -2
- package/array.d.ts.map +1 -1
- package/array.js +4 -4
- package/console.d.ts +13 -0
- package/console.d.ts.map +1 -0
- package/console.js +54 -0
- package/control/MousePosition.d.ts +12 -0
- package/control/MousePosition.d.ts.map +1 -1
- package/control/MousePosition.js +14 -0
- package/coordinate.d.ts +11 -11
- package/coordinate.js +11 -11
- package/dist/ol.js +1 -3
- package/dist/ol.js.map +1 -1
- package/featureloader.d.ts.map +1 -1
- package/featureloader.js +0 -1
- package/format/KML.js +3 -1
- package/geom/flat/interiorpoint.js +2 -2
- package/interaction/DragPan.d.ts.map +1 -1
- package/interaction/DragPan.js +3 -2
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Draw.js +11 -14
- package/interaction/KeyboardPan.d.ts.map +1 -1
- package/interaction/KeyboardPan.js +0 -1
- package/interaction/KeyboardZoom.d.ts.map +1 -1
- package/interaction/KeyboardZoom.js +0 -1
- package/interaction/Link.d.ts +14 -0
- package/interaction/Link.d.ts.map +1 -1
- package/interaction/Link.js +37 -6
- package/interaction/Modify.d.ts +10 -10
- package/interaction/Modify.d.ts.map +1 -1
- package/interaction/Modify.js +15 -15
- package/interaction/PinchRotate.d.ts.map +1 -1
- package/interaction/PinchRotate.js +3 -5
- package/interaction/PinchZoom.d.ts.map +1 -1
- package/interaction/PinchZoom.js +3 -5
- package/interaction/Pointer.d.ts +5 -2
- package/interaction/Pointer.d.ts.map +1 -1
- package/interaction/Pointer.js +2 -2
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +4 -5
- package/interaction/Snap.d.ts +1 -1
- package/interaction/Snap.d.ts.map +1 -1
- package/interaction/Snap.js +17 -23
- package/interaction/Translate.d.ts +12 -11
- package/interaction/Translate.d.ts.map +1 -1
- package/interaction/Translate.js +16 -13
- package/layer/BaseVector.js +1 -1
- package/layer/Graticule.d.ts.map +1 -1
- package/layer/Graticule.js +4 -4
- package/layer/Heatmap.js +10 -10
- package/layer/Layer.d.ts +2 -2
- package/layer/Layer.d.ts.map +1 -1
- package/layer/Layer.js +2 -2
- package/layer/VectorTile.js +1 -1
- package/package.json +2 -2
- package/proj.d.ts +2 -4
- package/proj.d.ts.map +1 -1
- package/proj.js +4 -6
- package/render/canvas/ExecutorGroup.d.ts.map +1 -1
- package/render/canvas/ExecutorGroup.js +6 -4
- package/render/canvas/Immediate.d.ts +5 -0
- package/render/canvas/Immediate.d.ts.map +1 -1
- package/render/canvas/Immediate.js +15 -0
- package/render/canvas/hitdetect.d.ts +4 -3
- package/render/canvas/hitdetect.d.ts.map +1 -1
- package/render/canvas/hitdetect.js +23 -11
- package/render/webgl/BatchRenderer.d.ts.map +1 -1
- package/render/webgl/BatchRenderer.js +2 -3
- package/render/webgl/LineStringBatchRenderer.d.ts.map +1 -1
- package/render/webgl/LineStringBatchRenderer.js +2 -4
- package/render/webgl/PointBatchRenderer.d.ts.map +1 -1
- package/render/webgl/PointBatchRenderer.js +2 -4
- package/render/webgl/PolygonBatchRenderer.d.ts.map +1 -1
- package/render/webgl/PolygonBatchRenderer.js +2 -4
- package/render.d.ts +3 -3
- package/render.d.ts.map +1 -1
- package/render.js +6 -4
- package/renderer/Layer.d.ts +2 -2
- package/renderer/Layer.d.ts.map +1 -1
- package/renderer/Layer.js +3 -4
- package/renderer/canvas/Layer.d.ts.map +1 -1
- package/renderer/canvas/Layer.js +3 -4
- package/renderer/canvas/TileLayer.js +2 -2
- package/renderer/canvas/VectorImageLayer.d.ts +6 -0
- package/renderer/canvas/VectorImageLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorImageLayer.js +22 -25
- package/renderer/canvas/VectorLayer.d.ts +9 -2
- package/renderer/canvas/VectorLayer.d.ts.map +1 -1
- package/renderer/canvas/VectorLayer.js +87 -93
- package/renderer/canvas/VectorTileLayer.js +84 -84
- package/renderer/webgl/PointsLayer.d.ts.map +1 -1
- package/renderer/webgl/PointsLayer.js +10 -13
- package/renderer/webgl/TileLayer.d.ts.map +1 -1
- package/renderer/webgl/TileLayer.js +2 -4
- package/reproj/DataTile.d.ts +75 -17
- package/reproj/DataTile.d.ts.map +1 -1
- package/reproj/DataTile.js +121 -120
- package/reproj/Tile.d.ts +3 -3
- package/reproj/Tile.d.ts.map +1 -1
- package/reproj/Tile.js +37 -41
- package/reproj/Triangulation.d.ts.map +1 -1
- package/reproj/Triangulation.js +42 -44
- package/source/BingMaps.d.ts.map +1 -1
- package/source/BingMaps.js +33 -38
- package/source/DataTile.d.ts +5 -3
- package/source/DataTile.d.ts.map +1 -1
- package/source/DataTile.js +24 -20
- package/source/GeoTIFF.d.ts +10 -7
- package/source/GeoTIFF.d.ts.map +1 -1
- package/source/GeoTIFF.js +49 -20
- package/source/Image.d.ts +8 -0
- package/source/Image.d.ts.map +1 -1
- package/source/Image.js +13 -11
- package/source/OGCMapTile.d.ts +1 -0
- package/source/OGCMapTile.d.ts.map +1 -1
- package/source/OGCMapTile.js +3 -1
- package/source/OGCVectorTile.d.ts +1 -0
- package/source/OGCVectorTile.d.ts.map +1 -1
- package/source/OGCVectorTile.js +3 -1
- package/source/Raster.d.ts +16 -0
- package/source/Raster.d.ts.map +1 -1
- package/source/Raster.js +47 -7
- package/source/Source.d.ts +2 -2
- package/source/Source.d.ts.map +1 -1
- package/source/Source.js +3 -4
- package/source/Stamen.js +2 -2
- package/source/Tile.d.ts.map +1 -1
- package/source/Tile.js +7 -3
- package/source/TileImage.d.ts +2 -2
- package/source/TileImage.d.ts.map +1 -1
- package/source/TileImage.js +3 -4
- package/source/UTFGrid.d.ts.map +1 -1
- package/source/UTFGrid.js +3 -6
- package/source/Vector.d.ts +6 -6
- package/source/Vector.js +13 -13
- package/source/VectorTile.d.ts.map +1 -1
- package/source/VectorTile.js +5 -9
- package/source/Zoomify.d.ts.map +1 -1
- package/source/Zoomify.js +4 -7
- package/style/Icon.d.ts +51 -0
- package/style/Icon.d.ts.map +1 -1
- package/style/Icon.js +119 -0
- package/style/IconImage.d.ts.map +1 -1
- package/style/IconImage.js +3 -1
- package/style/Image.d.ts.map +1 -1
- package/style/Image.js +1 -0
- package/style/Style.d.ts +2 -2
- package/style/Style.js +2 -2
- package/style/expressions.js +5 -10
- package/tilegrid/TileGrid.d.ts.map +1 -1
- package/tilegrid/TileGrid.js +7 -12
- package/util.d.ts.map +1 -1
- package/util.js +1 -1
- package/webgl/Helper.d.ts +4 -0
- package/webgl/Helper.d.ts.map +1 -1
- package/webgl/Helper.js +78 -79
- package/webgl/PostProcessingPass.d.ts +2 -2
- package/webgl/PostProcessingPass.d.ts.map +1 -1
- package/webgl/PostProcessingPass.js +7 -9
- package/webgl/ShaderBuilder.d.ts +1 -1
- package/webgl/ShaderBuilder.js +1 -1
- package/webgl/TileTexture.d.ts +19 -2
- package/webgl/TileTexture.d.ts.map +1 -1
- package/webgl/TileTexture.js +93 -46
- package/worker/webgl.js +1 -1
- package/layer/STAC.d.ts +0 -257
- package/layer/STAC.d.ts.map +0 -1
- package/layer/STAC.js +0 -312
package/AssertionError.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssertionError.d.ts","sourceRoot":"","sources":["AssertionError.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AssertionError.d.ts","sourceRoot":"","sources":["AssertionError.js"],"names":[],"mappings":";AAiEA;;;;GAIG;AACH;IACE;;OAEG;IACH,kBAFW,MAAM,EAyBhB;IAlBC;;;;;;;;OAQG;IACH,MAJU,MAAM,CAIA;CAUnB"}
|
package/AssertionError.js
CHANGED
|
@@ -60,6 +60,7 @@ const messages = {
|
|
|
60
60
|
66: '`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`',
|
|
61
61
|
67: 'A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both',
|
|
62
62
|
68: 'A VectorTile source can only be rendered if it has a projection compatible with the view projection',
|
|
63
|
+
69: '`width` or `height` cannot be provided together with `scale`',
|
|
63
64
|
};
|
|
64
65
|
|
|
65
66
|
/**
|
package/DataTile.d.ts
CHANGED
|
@@ -1,16 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} ImageLike
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} ArrayLike
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Data that can be used with a DataTile.
|
|
9
|
+
* @typedef {ArrayLike|ImageLike} Data
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @param {Data} data Tile data.
|
|
13
|
+
* @return {ImageLike|null} The image-like data.
|
|
14
|
+
*/
|
|
15
|
+
export function asImageLike(data: Data): ImageLike | null;
|
|
16
|
+
/**
|
|
17
|
+
* @param {Data} data Tile data.
|
|
18
|
+
* @return {ArrayLike|null} The array-like data.
|
|
19
|
+
*/
|
|
20
|
+
export function asArrayLike(data: Data): ArrayLike | null;
|
|
21
|
+
/**
|
|
22
|
+
* @param {ImageLike} image The image.
|
|
23
|
+
* @return {Uint8ClampedArray} The data.
|
|
24
|
+
*/
|
|
25
|
+
export function toArray(image: ImageLike): Uint8ClampedArray;
|
|
1
26
|
export default DataTile;
|
|
27
|
+
export type ImageLike = HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;
|
|
28
|
+
export type ArrayLike = Uint8Array | Uint8ClampedArray | Float32Array | DataView;
|
|
2
29
|
/**
|
|
3
|
-
* Data that can be used with a DataTile.
|
|
4
|
-
* Uint8Array instead of Uint8ClampedArray where possible.
|
|
30
|
+
* Data that can be used with a DataTile.
|
|
5
31
|
*/
|
|
6
|
-
export type Data =
|
|
32
|
+
export type Data = ArrayLike | ImageLike;
|
|
7
33
|
export type Options = {
|
|
8
34
|
/**
|
|
9
35
|
* Tile coordinate.
|
|
10
36
|
*/
|
|
11
37
|
tileCoord: import("./tilecoord.js").TileCoord;
|
|
12
38
|
/**
|
|
13
|
-
* Data loader.
|
|
39
|
+
* Data loader. For loaders that generate images,
|
|
40
|
+
* the promise should not resolve until the image is loaded.
|
|
14
41
|
*/
|
|
15
42
|
loader: () => Promise<Data>;
|
|
16
43
|
/**
|
|
@@ -28,15 +55,11 @@ export type Options = {
|
|
|
28
55
|
*/
|
|
29
56
|
size?: import("./size.js").Size | undefined;
|
|
30
57
|
};
|
|
31
|
-
/**
|
|
32
|
-
* Data that can be used with a DataTile. For increased browser compatibility, use
|
|
33
|
-
* Uint8Array instead of Uint8ClampedArray where possible.
|
|
34
|
-
* @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} Data
|
|
35
|
-
*/
|
|
36
58
|
/**
|
|
37
59
|
* @typedef {Object} Options
|
|
38
60
|
* @property {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
39
|
-
* @property {function(): Promise<Data>} loader Data loader.
|
|
61
|
+
* @property {function(): Promise<Data>} loader Data loader. For loaders that generate images,
|
|
62
|
+
* the promise should not resolve until the image is loaded.
|
|
40
63
|
* @property {number} [transition=250] A duration for tile opacity
|
|
41
64
|
* transitions in milliseconds. A duration of 0 disables the opacity transition.
|
|
42
65
|
* @property {boolean} [interpolate=false] Use interpolated values when resampling. By default,
|
|
@@ -65,7 +88,7 @@ declare class DataTile extends Tile {
|
|
|
65
88
|
*/
|
|
66
89
|
private error_;
|
|
67
90
|
/**
|
|
68
|
-
* @type {import('./size.js').Size}
|
|
91
|
+
* @type {import('./size.js').Size|null}
|
|
69
92
|
* @private
|
|
70
93
|
*/
|
|
71
94
|
private size_;
|
package/DataTile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTile.d.ts","sourceRoot":"","sources":["DataTile.js"],"names":[],"mappings":"AAOA;;GAEG;AAEH;;GAEG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,kCAHW,IAAI,GACH,SAAS,GAAC,IAAI,CAQzB;AAED;;;GAGG;AACH,kCAHW,IAAI,GACH,SAAS,GAAC,IAAI,CASzB;AAOD;;;GAGG;AACH,+BAHW,SAAS,GACR,iBAAiB,CAsB5B;;wBAlEY,gBAAgB,GAAC,iBAAiB,GAAC,gBAAgB;wBAInD,UAAU,GAAC,iBAAiB,GAAC,YAAY,GAAC,QAAQ;;;;mBAKlD,SAAS,GAAC,SAAS;;;;;eAkElB,OAAO,gBAAgB,EAAE,SAAS;;;;;kBACtB,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;AAHvC;;;;;;;;;;;GAWG;AAEH;IACE;;OAEG;IACH,qBAFW,OAAO,EAiCjB;IAvBC;;;OAGG;IACH,gBAA6B;IAE7B;;;OAGG;IACH,cAAiB;IAEjB;;;OAGG;IACH,eAAkB;IAElB;;;OAGG;IACH,cAAiC;IAGnC;;;OAGG;IACH,WAFY,OAAO,WAAW,EAAE,IAAI,CAWnC;IAED;;;;OAIG;IACH,WAHY,IAAI,CAKf;IAED;;;;OAIG;IACH,YAHY,KAAK,CAKhB;CA0BF"}
|
package/DataTile.js
CHANGED
|
@@ -3,17 +3,87 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import Tile from './Tile.js';
|
|
5
5
|
import TileState from './TileState.js';
|
|
6
|
+
import {createCanvasContext2D} from './dom.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
-
* Uint8Array instead of Uint8ClampedArray where possible.
|
|
10
|
-
* @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} Data
|
|
9
|
+
* @typedef {HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} ImageLike
|
|
11
10
|
*/
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @typedef {Uint8Array|Uint8ClampedArray|Float32Array|DataView} ArrayLike
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Data that can be used with a DataTile.
|
|
18
|
+
* @typedef {ArrayLike|ImageLike} Data
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @param {Data} data Tile data.
|
|
23
|
+
* @return {ImageLike|null} The image-like data.
|
|
24
|
+
*/
|
|
25
|
+
export function asImageLike(data) {
|
|
26
|
+
return data instanceof Image ||
|
|
27
|
+
data instanceof HTMLCanvasElement ||
|
|
28
|
+
data instanceof HTMLVideoElement
|
|
29
|
+
? data
|
|
30
|
+
: null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @param {Data} data Tile data.
|
|
35
|
+
* @return {ArrayLike|null} The array-like data.
|
|
36
|
+
*/
|
|
37
|
+
export function asArrayLike(data) {
|
|
38
|
+
return data instanceof Uint8Array ||
|
|
39
|
+
data instanceof Uint8ClampedArray ||
|
|
40
|
+
data instanceof Float32Array ||
|
|
41
|
+
data instanceof DataView
|
|
42
|
+
? data
|
|
43
|
+
: null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @type {CanvasRenderingContext2D|null}
|
|
48
|
+
*/
|
|
49
|
+
let sharedContext = null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @param {ImageLike} image The image.
|
|
53
|
+
* @return {Uint8ClampedArray} The data.
|
|
54
|
+
*/
|
|
55
|
+
export function toArray(image) {
|
|
56
|
+
if (!sharedContext) {
|
|
57
|
+
sharedContext = createCanvasContext2D(
|
|
58
|
+
image.width,
|
|
59
|
+
image.height,
|
|
60
|
+
undefined,
|
|
61
|
+
{willReadFrequently: true}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
const canvas = sharedContext.canvas;
|
|
65
|
+
const width = image.width;
|
|
66
|
+
if (canvas.width !== width) {
|
|
67
|
+
canvas.width = width;
|
|
68
|
+
}
|
|
69
|
+
const height = image.height;
|
|
70
|
+
if (canvas.height !== height) {
|
|
71
|
+
canvas.height = height;
|
|
72
|
+
}
|
|
73
|
+
sharedContext.drawImage(image, width, height);
|
|
74
|
+
return sharedContext.getImageData(0, 0, width, height).data;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @type {import('./size.js').Size}
|
|
79
|
+
*/
|
|
80
|
+
const defaultSize = [256, 256];
|
|
81
|
+
|
|
13
82
|
/**
|
|
14
83
|
* @typedef {Object} Options
|
|
15
84
|
* @property {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
16
|
-
* @property {function(): Promise<Data>} loader Data loader.
|
|
85
|
+
* @property {function(): Promise<Data>} loader Data loader. For loaders that generate images,
|
|
86
|
+
* the promise should not resolve until the image is loaded.
|
|
17
87
|
* @property {number} [transition=250] A duration for tile opacity
|
|
18
88
|
* transitions in milliseconds. A duration of 0 disables the opacity transition.
|
|
19
89
|
* @property {boolean} [interpolate=false] Use interpolated values when resampling. By default,
|
|
@@ -53,10 +123,10 @@ class DataTile extends Tile {
|
|
|
53
123
|
this.error_ = null;
|
|
54
124
|
|
|
55
125
|
/**
|
|
56
|
-
* @type {import('./size.js').Size}
|
|
126
|
+
* @type {import('./size.js').Size|null}
|
|
57
127
|
* @private
|
|
58
128
|
*/
|
|
59
|
-
this.size_ = options.size ||
|
|
129
|
+
this.size_ = options.size || null;
|
|
60
130
|
}
|
|
61
131
|
|
|
62
132
|
/**
|
|
@@ -64,7 +134,14 @@ class DataTile extends Tile {
|
|
|
64
134
|
* @return {import('./size.js').Size} Tile size.
|
|
65
135
|
*/
|
|
66
136
|
getSize() {
|
|
67
|
-
|
|
137
|
+
if (this.size_) {
|
|
138
|
+
return this.size_;
|
|
139
|
+
}
|
|
140
|
+
const imageData = asImageLike(this.data_);
|
|
141
|
+
if (imageData) {
|
|
142
|
+
return [imageData.width, imageData.height];
|
|
143
|
+
}
|
|
144
|
+
return defaultSize;
|
|
68
145
|
}
|
|
69
146
|
|
|
70
147
|
/**
|
package/Feature.d.ts
CHANGED
|
@@ -61,9 +61,9 @@ export type ObjectWithGeometry<Geometry> = {
|
|
|
61
61
|
*
|
|
62
62
|
* ```js
|
|
63
63
|
*
|
|
64
|
-
* import Feature from 'ol/Feature';
|
|
65
|
-
* import Polygon from 'ol/geom/Polygon';
|
|
66
|
-
* import Point from 'ol/geom/Point';
|
|
64
|
+
* import Feature from 'ol/Feature.js';
|
|
65
|
+
* import Polygon from 'ol/geom/Polygon.js';
|
|
66
|
+
* import Point from 'ol/geom/Point.js';
|
|
67
67
|
*
|
|
68
68
|
* const feature = new Feature({
|
|
69
69
|
* geometry: new Polygon(polyCoords),
|
package/Feature.js
CHANGED
|
@@ -49,9 +49,9 @@ import {listen, unlistenByKey} from './events.js';
|
|
|
49
49
|
*
|
|
50
50
|
* ```js
|
|
51
51
|
*
|
|
52
|
-
* import Feature from 'ol/Feature';
|
|
53
|
-
* import Polygon from 'ol/geom/Polygon';
|
|
54
|
-
* import Point from 'ol/geom/Point';
|
|
52
|
+
* import Feature from 'ol/Feature.js';
|
|
53
|
+
* import Polygon from 'ol/geom/Polygon.js';
|
|
54
|
+
* import Point from 'ol/geom/Point.js';
|
|
55
55
|
*
|
|
56
56
|
* const feature = new Feature({
|
|
57
57
|
* geometry: new Polygon(polyCoords),
|
package/Geolocation.d.ts
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @classdesc
|
|
3
|
+
* Events emitted on [GeolocationPositionError](https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPositionError).
|
|
4
|
+
*/
|
|
5
|
+
export class GeolocationError extends BaseEvent {
|
|
6
|
+
/**
|
|
7
|
+
* @param {GeolocationPositionError} error error object.
|
|
8
|
+
*/
|
|
9
|
+
constructor(error: GeolocationPositionError);
|
|
10
|
+
/**
|
|
11
|
+
* Code of the underlying `GeolocationPositionError`.
|
|
12
|
+
* @type {number}
|
|
13
|
+
* @api
|
|
14
|
+
*/
|
|
15
|
+
code: number;
|
|
16
|
+
/**
|
|
17
|
+
* Message of the underlying `GeolocationPositionError`.
|
|
18
|
+
* @type {string}
|
|
19
|
+
* @api
|
|
20
|
+
*/
|
|
21
|
+
message: string;
|
|
22
|
+
}
|
|
1
23
|
export default Geolocation;
|
|
2
24
|
export type Options = {
|
|
3
25
|
/**
|
|
@@ -20,7 +42,8 @@ export type GeolocationObjectEventTypes = import("./ObjectEventType").Types | 'c
|
|
|
20
42
|
/**
|
|
21
43
|
* *
|
|
22
44
|
*/
|
|
23
|
-
export type GeolocationOnSignature<Return> = import("./Observable").OnSignature<
|
|
45
|
+
export type GeolocationOnSignature<Return> = import("./Observable").OnSignature<'change', import("./events/Event.js").default, Return> & import("./Observable").OnSignature<GeolocationObjectEventTypes, import("./Object").ObjectEvent, Return> & import("./Observable").OnSignature<'error', GeolocationError, Return> & import("./Observable").CombinedOnSignature<import("./Observable").EventTypes | GeolocationObjectEventTypes, Return>;
|
|
46
|
+
import BaseEvent from "./events/Event.js";
|
|
24
47
|
/**
|
|
25
48
|
* @typedef {Object} Options
|
|
26
49
|
* @property {boolean} [tracking=false] Start Tracking right after
|
|
@@ -37,11 +60,10 @@ export type GeolocationOnSignature<Return> = import("./Observable").OnSignature<
|
|
|
37
60
|
*/
|
|
38
61
|
/***
|
|
39
62
|
* @template Return
|
|
40
|
-
* @typedef {import("./Observable").OnSignature<
|
|
63
|
+
* @typedef {import("./Observable").OnSignature<'change', import("./events/Event.js").default, Return> &
|
|
41
64
|
* import("./Observable").OnSignature<GeolocationObjectEventTypes, import("./Object").ObjectEvent, Return> &
|
|
42
65
|
* import("./Observable").OnSignature<'error', GeolocationError, Return> &
|
|
43
|
-
* import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|GeolocationObjectEventTypes
|
|
44
|
-
* 'error', Return>} GeolocationOnSignature
|
|
66
|
+
* import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|GeolocationObjectEventTypes, Return>} GeolocationOnSignature
|
|
45
67
|
*/
|
|
46
68
|
/**
|
|
47
69
|
* @classdesc
|
|
@@ -49,8 +71,8 @@ export type GeolocationOnSignature<Return> = import("./Observable").OnSignature<
|
|
|
49
71
|
* The [Geolocation API](https://www.w3.org/TR/geolocation-API/)
|
|
50
72
|
* is used to locate a user's position.
|
|
51
73
|
*
|
|
52
|
-
* To get notified of position changes, register
|
|
53
|
-
* `change` event on your instance of {@link module:ol/Geolocation~Geolocation}.
|
|
74
|
+
* To get notified of position changes and errors, register listeners for the generic
|
|
75
|
+
* `change` event and the `error` event on your instance of {@link module:ol/Geolocation~Geolocation}.
|
|
54
76
|
*
|
|
55
77
|
* Example:
|
|
56
78
|
*
|
|
@@ -60,10 +82,14 @@ export type GeolocationOnSignature<Return> = import("./Observable").OnSignature<
|
|
|
60
82
|
* });
|
|
61
83
|
* // listen to changes in position
|
|
62
84
|
* geolocation.on('change', function(evt) {
|
|
63
|
-
*
|
|
85
|
+
* console.log(geolocation.getPosition());
|
|
86
|
+
* });
|
|
87
|
+
* // listen to error
|
|
88
|
+
* geolocation.on('error', function(evt) {
|
|
89
|
+
* window.console.log(evt.message);
|
|
64
90
|
* });
|
|
65
91
|
*
|
|
66
|
-
* @fires
|
|
92
|
+
* @fires GeolocationError
|
|
67
93
|
* @api
|
|
68
94
|
*/
|
|
69
95
|
declare class Geolocation extends BaseObject {
|
|
@@ -224,24 +250,5 @@ declare class Geolocation extends BaseObject {
|
|
|
224
250
|
*/
|
|
225
251
|
setTrackingOptions(options: PositionOptions): void;
|
|
226
252
|
}
|
|
227
|
-
/**
|
|
228
|
-
* @classdesc
|
|
229
|
-
* Events emitted on Geolocation error.
|
|
230
|
-
*/
|
|
231
|
-
declare class GeolocationError extends BaseEvent {
|
|
232
|
-
/**
|
|
233
|
-
* @param {GeolocationPositionError} error error object.
|
|
234
|
-
*/
|
|
235
|
-
constructor(error: GeolocationPositionError);
|
|
236
|
-
/**
|
|
237
|
-
* @type {number}
|
|
238
|
-
*/
|
|
239
|
-
code: number;
|
|
240
|
-
/**
|
|
241
|
-
* @type {string}
|
|
242
|
-
*/
|
|
243
|
-
message: string;
|
|
244
|
-
}
|
|
245
253
|
import BaseObject from "./Object.js";
|
|
246
|
-
import BaseEvent from "./events/Event.js";
|
|
247
254
|
//# sourceMappingURL=Geolocation.d.ts.map
|
package/Geolocation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Geolocation.d.ts","sourceRoot":"","sources":["Geolocation.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Geolocation.d.ts","sourceRoot":"","sources":["Geolocation.js"],"names":[],"mappings":"AAyCA;;;GAGG;AACH;IACE;;OAEG;IACH,mBAFW,wBAAwB,EAkBlC;IAbC;;;;OAIG;IACH,MAHU,MAAM,CAGM;IAEtB;;;;OAIG;IACH,SAHU,MAAM,CAGY;CAE/B;;;;;;;;;;;;;;;;;iBAQa,OAAO,WAAW,EAAE,cAAc;;0CAKnC,OAAO,mBAAmB,EAAE,KAAK,GAAC,iBAAiB,GAAC,yBAAyB,GAAC,iBAAiB,GAC3G,yBAA8B,GAAC,gBAAgB,GAAC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eALY,OAAO,iBAAiB,EAAE,UAAU,GAAC,SAAS,CASzD;IAED;;;;;;OAMG;IACH,iBALY,OAAO,sBAAsB,EAAE,OAAO,GAAC,SAAS,CAS3D;IAED;;;;;;OAMG;IACH,YALY,MAAM,GAAC,SAAS,CAO3B;IAED;;;;;OAKG;IACH,eAJY,OAAO,CAMlB;IAED;;;;;;;;OAQG;IACH,sBANY,eAAe,GAAC,SAAS,CAUpC;IAED;;;;;;OAMG;IACH,0BALW,OAAO,WAAW,EAAE,cAAc,QAO5C;IAED;;;;;OAKG;IACH,sBAJW,OAAO,QAMjB;IAED;;;;;;;;OAQG;IACH,4BANW,eAAe,QAQzB;CACF"}
|
package/Geolocation.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import BaseEvent from './events/Event.js';
|
|
5
5
|
import BaseObject from './Object.js';
|
|
6
|
-
import EventType from './events/EventType.js';
|
|
7
6
|
import {circular as circularPolygon} from './geom/Polygon.js';
|
|
8
7
|
import {
|
|
9
8
|
get as getProjection,
|
|
@@ -28,24 +27,40 @@ const Property = {
|
|
|
28
27
|
TRACKING_OPTIONS: 'trackingOptions',
|
|
29
28
|
};
|
|
30
29
|
|
|
30
|
+
/**
|
|
31
|
+
* @enum string
|
|
32
|
+
*/
|
|
33
|
+
const GeolocationErrorType = {
|
|
34
|
+
/**
|
|
35
|
+
* Triggered when a `GeolocationPositionError` occurs.
|
|
36
|
+
* @event module:ol/Geolocation.GeolocationError#error
|
|
37
|
+
* @api
|
|
38
|
+
*/
|
|
39
|
+
ERROR: 'error',
|
|
40
|
+
};
|
|
41
|
+
|
|
31
42
|
/**
|
|
32
43
|
* @classdesc
|
|
33
|
-
* Events emitted on
|
|
44
|
+
* Events emitted on [GeolocationPositionError](https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPositionError).
|
|
34
45
|
*/
|
|
35
|
-
class GeolocationError extends BaseEvent {
|
|
46
|
+
export class GeolocationError extends BaseEvent {
|
|
36
47
|
/**
|
|
37
48
|
* @param {GeolocationPositionError} error error object.
|
|
38
49
|
*/
|
|
39
50
|
constructor(error) {
|
|
40
|
-
super(
|
|
51
|
+
super(GeolocationErrorType.ERROR);
|
|
41
52
|
|
|
42
53
|
/**
|
|
54
|
+
* Code of the underlying `GeolocationPositionError`.
|
|
43
55
|
* @type {number}
|
|
56
|
+
* @api
|
|
44
57
|
*/
|
|
45
58
|
this.code = error.code;
|
|
46
59
|
|
|
47
60
|
/**
|
|
61
|
+
* Message of the underlying `GeolocationPositionError`.
|
|
48
62
|
* @type {string}
|
|
63
|
+
* @api
|
|
49
64
|
*/
|
|
50
65
|
this.message = error.message;
|
|
51
66
|
}
|
|
@@ -69,11 +84,10 @@ class GeolocationError extends BaseEvent {
|
|
|
69
84
|
|
|
70
85
|
/***
|
|
71
86
|
* @template Return
|
|
72
|
-
* @typedef {import("./Observable").OnSignature<
|
|
87
|
+
* @typedef {import("./Observable").OnSignature<'change', import("./events/Event.js").default, Return> &
|
|
73
88
|
* import("./Observable").OnSignature<GeolocationObjectEventTypes, import("./Object").ObjectEvent, Return> &
|
|
74
89
|
* import("./Observable").OnSignature<'error', GeolocationError, Return> &
|
|
75
|
-
* import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|GeolocationObjectEventTypes
|
|
76
|
-
* 'error', Return>} GeolocationOnSignature
|
|
90
|
+
* import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|GeolocationObjectEventTypes, Return>} GeolocationOnSignature
|
|
77
91
|
*/
|
|
78
92
|
|
|
79
93
|
/**
|
|
@@ -82,8 +96,8 @@ class GeolocationError extends BaseEvent {
|
|
|
82
96
|
* The [Geolocation API](https://www.w3.org/TR/geolocation-API/)
|
|
83
97
|
* is used to locate a user's position.
|
|
84
98
|
*
|
|
85
|
-
* To get notified of position changes, register
|
|
86
|
-
* `change` event on your instance of {@link module:ol/Geolocation~Geolocation}.
|
|
99
|
+
* To get notified of position changes and errors, register listeners for the generic
|
|
100
|
+
* `change` event and the `error` event on your instance of {@link module:ol/Geolocation~Geolocation}.
|
|
87
101
|
*
|
|
88
102
|
* Example:
|
|
89
103
|
*
|
|
@@ -93,10 +107,14 @@ class GeolocationError extends BaseEvent {
|
|
|
93
107
|
* });
|
|
94
108
|
* // listen to changes in position
|
|
95
109
|
* geolocation.on('change', function(evt) {
|
|
96
|
-
*
|
|
110
|
+
* console.log(geolocation.getPosition());
|
|
111
|
+
* });
|
|
112
|
+
* // listen to error
|
|
113
|
+
* geolocation.on('error', function(evt) {
|
|
114
|
+
* window.console.log(evt.message);
|
|
97
115
|
* });
|
|
98
116
|
*
|
|
99
|
-
* @fires
|
|
117
|
+
* @fires GeolocationError
|
|
100
118
|
* @api
|
|
101
119
|
*/
|
|
102
120
|
class Geolocation extends BaseObject {
|
|
@@ -224,7 +242,7 @@ class Geolocation extends BaseObject {
|
|
|
224
242
|
this.position_[1] = coords.latitude;
|
|
225
243
|
}
|
|
226
244
|
const projectedPosition = this.transform_(this.position_);
|
|
227
|
-
this.set(Property.POSITION, projectedPosition);
|
|
245
|
+
this.set(Property.POSITION, projectedPosition.slice());
|
|
228
246
|
this.set(Property.SPEED, coords.speed === null ? undefined : coords.speed);
|
|
229
247
|
const geometry = circularPolygon(this.position_, coords.accuracy);
|
|
230
248
|
geometry.applyTransform(this.transform_);
|
package/Map.d.ts
CHANGED
|
@@ -202,6 +202,7 @@ export type MapOptions = {
|
|
|
202
202
|
* element itself or the `id` of the element. If not specified at construction
|
|
203
203
|
* time, {@link module :ol/Map~Map#setTarget} must be called for the map to be
|
|
204
204
|
* rendered. If passed by element, the container can be in a secondary document.
|
|
205
|
+
* **Note:** CSS `transform` support for the target element is limited to `scale`.
|
|
205
206
|
*/
|
|
206
207
|
target?: string | HTMLElement | undefined;
|
|
207
208
|
/**
|
|
@@ -216,10 +217,10 @@ export type MapOptions = {
|
|
|
216
217
|
* The map is the core component of OpenLayers. For a map to render, a view,
|
|
217
218
|
* one or more layers, and a target container are needed:
|
|
218
219
|
*
|
|
219
|
-
* import Map from 'ol/Map';
|
|
220
|
-
* import View from 'ol/View';
|
|
221
|
-
* import TileLayer from 'ol/layer/Tile';
|
|
222
|
-
* import OSM from 'ol/source/OSM';
|
|
220
|
+
* import Map from 'ol/Map.js';
|
|
221
|
+
* import View from 'ol/View.js';
|
|
222
|
+
* import TileLayer from 'ol/layer/Tile.js';
|
|
223
|
+
* import OSM from 'ol/source/OSM.js';
|
|
223
224
|
*
|
|
224
225
|
* const map = new Map({
|
|
225
226
|
* view: new View({
|
|
@@ -392,6 +393,15 @@ declare class Map extends BaseObject {
|
|
|
392
393
|
* @type {?Array<import("./events.js").EventsKey>}
|
|
393
394
|
*/
|
|
394
395
|
private targetChangeHandlerKeys_;
|
|
396
|
+
/**
|
|
397
|
+
* @private
|
|
398
|
+
* @type {HTMLElement|null}
|
|
399
|
+
*/
|
|
400
|
+
private targetElement_;
|
|
401
|
+
/**
|
|
402
|
+
* @type {ResizeObserver}
|
|
403
|
+
*/
|
|
404
|
+
resizeObserver_: ResizeObserver;
|
|
395
405
|
/**
|
|
396
406
|
* @type {Collection<import("./control/Control.js").default>}
|
|
397
407
|
* @protected
|
|
@@ -527,11 +537,14 @@ declare class Map extends BaseObject {
|
|
|
527
537
|
getEventCoordinateInternal(event: MouseEvent): import("./coordinate.js").Coordinate;
|
|
528
538
|
/**
|
|
529
539
|
* Returns the map pixel position for a browser event relative to the viewport.
|
|
530
|
-
* @param {UIEvent} event Event.
|
|
540
|
+
* @param {UIEvent|{clientX: number, clientY: number}} event Event.
|
|
531
541
|
* @return {import("./pixel.js").Pixel} Pixel.
|
|
532
542
|
* @api
|
|
533
543
|
*/
|
|
534
|
-
getEventPixel(event: UIEvent
|
|
544
|
+
getEventPixel(event: UIEvent | {
|
|
545
|
+
clientX: number;
|
|
546
|
+
clientY: number;
|
|
547
|
+
}): import("./pixel.js").Pixel;
|
|
535
548
|
/**
|
|
536
549
|
* Get the target in which this map is rendered.
|
|
537
550
|
* Note that this returns what is entered as an option or in setTarget:
|
package/Map.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["Map.js"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Map.d.ts","sourceRoot":"","sources":["Map.js"],"names":[],"mappings":";;;;;;;;;gBAkDc,MAAM;;;;UACN,MAAM;;;;eACN,OAAO,WAAW,EAAE,KAAK;;;;aACzB,OAAO;;;;gCACP,OAAO,gBAAgB,EAAE,SAAS;;;;;;;;YAElC,IAAI,GAAC,OAAO,aAAa,EAAE,MAAM;;;;;;;;WAEjC,MAAM;;;;sBACN,MAAM,OAAO,kBAAkB,EAAE,KAAK,CAAC;;;;gBACvC,MAAM;;;;gCACN,OAAO,gBAAgB,EAAE,SAAS;;;;yBAClC,MAAM,kBAAkB,CAAC;;;;UACzB,OAAO,WAAW,EAAE,IAAI;;;;eACxB,SAAS;;;;;YACD,MAAM;gBAAS,MAAM,GAAE,OAAO;;;;;;eACtC,MAAM,MAAM,CAAC;;;;;YACL,MAAM;gBAAS,MAAM,GAAE,OAAO;;;;;;WACtC,MAAM;;;;;YACC,MAAM,GAAE,OAAO;;;wCAId,GAAG,QAAG,UAAU,YAAG,GAAG;;;;;;;;;kBAK9B,SAAS,WAAU,OAAO,kBAAkB,EAAE,OAAO,CAAC,OAAO,iBAAiB,EAAE,OAAO,CAAC,KAAG,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;yBAelG,WAAW,GAAC,QAAQ;;;;cACpB,WAAW,OAAO,cAAc,EAAE,OAAO,CAAC;;;;;YACnC,MAAM;;;kCAId,OAAO,mBAAmB,EAAE,KAAK,GAAC,mBAAmB,GAAC,aAAa,GAAC,eAAe,GAAC,aAAa;;;;sCAKjG,OAAO,cAAc,EAAE,WAAW,CAAC,OAAO,cAAc,EAAE,UAAU,EAAE,OAAO,mBAAmB,EAAE,OAAO,EAAE,MAAM,CAAC,GAC9H,OAAY,cAAc,EAAE,WA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