itowns 2.45.2-next.5 → 2.45.2-next.6
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/itowns.js +1 -1
- package/dist/itowns.js.map +1 -1
- package/lib/Core/Scheduler/Scheduler.js +1 -1
- package/lib/Main.js +1 -1
- package/package.json +2 -2
|
@@ -140,7 +140,7 @@ Scheduler.prototype.execute = function (command) {
|
|
|
140
140
|
|
|
141
141
|
// parse host
|
|
142
142
|
const layer = command.layer;
|
|
143
|
-
const host = layer.source && layer.source.url && layer.source.url !== 'none' ? new URL(URLBuilder.subDomains(layer.source.url),
|
|
143
|
+
const host = layer.source && layer.source.url && layer.source.url !== 'none' ? new URL(URLBuilder.subDomains(layer.source.url), import.meta.url).host : undefined;
|
|
144
144
|
command.promise = new Promise((resolve, reject) => {
|
|
145
145
|
command.resolve = resolve;
|
|
146
146
|
command.reject = reject;
|
package/lib/Main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "itowns",
|
|
3
|
-
"version": "2.45.2-next.
|
|
3
|
+
"version": "2.45.2-next.6",
|
|
4
4
|
"description": "A JS/WebGL framework for 3D geospatial data visualization",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/Main.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"url": "https://github.com/iTowns/itowns/issues"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@itowns/geographic": "^2.45.2-next.
|
|
54
|
+
"@itowns/geographic": "^2.45.2-next.6",
|
|
55
55
|
"@mapbox/vector-tile": "^2.0.3",
|
|
56
56
|
"@maplibre/maplibre-gl-style-spec": "^23.1.0",
|
|
57
57
|
"@tmcw/togeojson": "^7.0.0",
|