ol 7.0.1-dev.1661609353651 → 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/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/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