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 CHANGED
@@ -23,7 +23,7 @@ new Map({
23
23
  layers: [
24
24
  new TileLayer({
25
25
  source: new XYZ({
26
- url: 'https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png'
26
+ url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
27
27
  })
28
28
  })
29
29
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.0.1-dev.1661609353651",
3
+ "version": "7.0.1-dev.1661646168074",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
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://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png'] URL template.
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://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png'] URL template.
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://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png';
73
+ : 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
74
74
 
75
75
  super({
76
76
  attributions: attributions,
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.0.1-dev.1661609353651';
36
+ export const VERSION = '7.0.1-dev.1661646168074';