ol 7.0.1-dev.1661509432915 → 7.0.1-dev.1661646168074
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/README.md +1 -1
- package/package.json +1 -1
- package/proj/proj4.d.ts +1 -1
- package/proj/proj4.js +1 -1
- package/source/OSM.d.ts +1 -1
- package/source/OSM.js +2 -2
- package/util.js +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/proj/proj4.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Make projections defined in proj4 (with `proj4.defs()`) available in
|
|
3
|
-
* OpenLayers.
|
|
3
|
+
* OpenLayers. Requires proj4 >= 2.8.0.
|
|
4
4
|
*
|
|
5
5
|
* This function should be called whenever changes are made to the proj4
|
|
6
6
|
* registry, e.g. after calling `proj4.defs()`. Existing transforms will not be
|
package/proj/proj4.js
CHANGED
|
@@ -13,7 +13,7 @@ import {get as getTransform} from './transforms.js';
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Make projections defined in proj4 (with `proj4.defs()`) available in
|
|
16
|
-
* OpenLayers.
|
|
16
|
+
* OpenLayers. Requires proj4 >= 2.8.0.
|
|
17
17
|
*
|
|
18
18
|
* This function should be called whenever changes are made to the proj4
|
|
19
19
|
* registry, e.g. after calling `proj4.defs()`. Existing transforms will not be
|
package/source/OSM.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export type Options = {
|
|
|
90
90
|
* ```
|
|
91
91
|
* @property {number} [transition=250] Duration of the opacity transition for rendering.
|
|
92
92
|
* To disable the opacity transition, pass `transition: 0`.
|
|
93
|
-
* @property {string} [url='https://
|
|
93
|
+
* @property {string} [url='https://tile.openstreetmap.org/{z}/{x}/{y}.png'] URL template.
|
|
94
94
|
* Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
|
|
95
95
|
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
|
96
96
|
* @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
|
package/source/OSM.js
CHANGED
|
@@ -37,7 +37,7 @@ export const ATTRIBUTION =
|
|
|
37
37
|
* ```
|
|
38
38
|
* @property {number} [transition=250] Duration of the opacity transition for rendering.
|
|
39
39
|
* To disable the opacity transition, pass `transition: 0`.
|
|
40
|
-
* @property {string} [url='https://
|
|
40
|
+
* @property {string} [url='https://tile.openstreetmap.org/{z}/{x}/{y}.png'] URL template.
|
|
41
41
|
* Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
|
|
42
42
|
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
|
43
43
|
* @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
|
|
@@ -70,7 +70,7 @@ class OSM extends XYZ {
|
|
|
70
70
|
const url =
|
|
71
71
|
options.url !== undefined
|
|
72
72
|
? options.url
|
|
73
|
-
: 'https://
|
|
73
|
+
: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
|
|
74
74
|
|
|
75
75
|
super({
|
|
76
76
|
attributions: attributions,
|
package/util.js
CHANGED