@vcmap/ui 6.2.0-rc.2 → 6.2.0-rc.3
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/build/postInstall.js +32 -0
- package/config/dev.config.json +12 -0
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-6b5c0363.js → core-deeb2b8d.js} +6873 -6477
- package/dist/assets/core-workers/panoramaImageWorker.js +1 -1
- package/dist/assets/core.js +1 -1
- package/dist/assets/{ol-f58f403b.js → ol-8db5c824.js} +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui-62439099.css +1 -0
- package/dist/assets/{ui-aadb7707.js → ui-62439099.js} +9551 -9134
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-533fb61b.js → vuetify-439ba6d5.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +8 -6
- package/index.js +5 -7
- package/package.json +3 -2
- package/plugins/package.json +1 -1
- package/src/actions/actionHelper.d.ts +16 -11
- package/src/actions/actionHelper.js +52 -61
- package/src/actions/flightActions.d.ts +10 -0
- package/src/actions/flightActions.js +109 -13
- package/src/application/VcsApp.vue +1 -1
- package/src/application/VcsMainMap.vue +40 -2
- package/src/application/VcsMainMap.vue.d.ts +4 -0
- package/src/application/VcsMap.vue +0 -9
- package/src/components/flight/VcsFlightAnchorsComponent.vue +1 -0
- package/src/components/flight/VcsFlightPlayer.vue +31 -17
- package/src/components/flight/VcsFlightPlayer.vue.d.ts +1 -0
- package/src/components/plugins/VcsLoadingOverlay.vue +138 -0
- package/src/components/plugins/VcsLoadingOverlay.vue.d.ts +2 -0
- package/src/components/plugins/{AbstractWorkspaceItemCreator.vue → VcsWorkspaceWrapper.vue} +1 -1
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue +20 -1
- package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +11 -0
- package/src/components/vector-properties/VcsFeatureInputEditor.vue +166 -0
- package/src/components/vector-properties/VcsFeatureInputEditor.vue.d.ts +17 -0
- package/src/contentTree/contentTreeCollection.js +2 -2
- package/src/contentTree/contentTreeItem.d.ts +2 -2
- package/src/contentTree/wmsGroupContentTreeItem.js +10 -3
- package/src/i18n/de.d.ts +21 -7
- package/src/i18n/de.js +11 -0
- package/src/i18n/en.d.ts +21 -7
- package/src/i18n/en.js +11 -0
- package/src/navigation/MapNavigation.vue +22 -27
- package/src/navigation/MapNavigation.vue.d.ts +2 -34
- package/src/navigation/overviewMap.d.ts +18 -8
- package/src/navigation/overviewMap.js +68 -63
- package/dist/assets/ui-aadb7707.css +0 -1
- /package/dist/assets/{cesium-8dd00805.js → cesium-7d4ab914.js} +0 -0
- /package/dist/assets/core-workers/{panoramaImageWorker.js-0ce7d2f3.js → panoramaImageWorker.js-f8148bc6.js} +0 -0
- /package/dist/assets/{vue-d7691a29.js → vue-1b861f55.js} +0 -0
- /package/dist/assets/{vuetify-533fb61b.css → vuetify-439ba6d5.css} +0 -0
- /package/src/components/plugins/{AbstractWorkspaceItemCreator.vue.d.ts → VcsWorkspaceWrapper.vue.d.ts} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { join } from 'node:path';
|
|
2
|
+
import { readFile, writeFile } from 'node:fs/promises';
|
|
3
|
+
import { existsSync } from 'node:fs';
|
|
4
|
+
|
|
5
|
+
async function fixGeotiff() {
|
|
6
|
+
console.log('Fixing geotiff pool.js...');
|
|
7
|
+
const fileName = join(
|
|
8
|
+
process.cwd(),
|
|
9
|
+
'node_modules',
|
|
10
|
+
'geotiff',
|
|
11
|
+
'dist-module',
|
|
12
|
+
'pool.js',
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
if (existsSync(fileName)) {
|
|
16
|
+
const content = await readFile(fileName, 'utf-8');
|
|
17
|
+
|
|
18
|
+
const fixedContent = content.replace(
|
|
19
|
+
/worker\.worker\.postMessage\(\{\s*fileDirectory,\s*buffer,\s*id\s*\},\s*\[buffer\]\);/g,
|
|
20
|
+
'worker.worker.postMessage({ fileDirectory: { ...fileDirectory, TileOffsets: undefined }, buffer, id }, [buffer]);',
|
|
21
|
+
);
|
|
22
|
+
await writeFile(fileName, fixedContent);
|
|
23
|
+
} else {
|
|
24
|
+
console.error('missing pool.js file in geotiff module');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
async function postInstall() {
|
|
29
|
+
console.log('Running post-install script...');
|
|
30
|
+
await Promise.all([fixGeotiff()]);
|
|
31
|
+
}
|
|
32
|
+
await postInstall();
|
package/config/dev.config.json
CHANGED
|
@@ -95,6 +95,13 @@
|
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
97
|
"layers": [
|
|
98
|
+
{
|
|
99
|
+
"name": "testGeotiffLayer",
|
|
100
|
+
"type": "COGLayer",
|
|
101
|
+
"url": "https://dev.virtualcitymap.de/exampleData/berlin_3857.tif",
|
|
102
|
+
"zIndex": 12,
|
|
103
|
+
"tilingSchema": "mercator"
|
|
104
|
+
},
|
|
98
105
|
{
|
|
99
106
|
"name": "testGeojsonVectorTile",
|
|
100
107
|
"type": "VectorTileLayer",
|
|
@@ -779,6 +786,11 @@
|
|
|
779
786
|
"layerName": "testGeojsonVectorTile",
|
|
780
787
|
"type": "LayerContentTreeItem"
|
|
781
788
|
},
|
|
789
|
+
{
|
|
790
|
+
"name": "cloud optimized geotiff",
|
|
791
|
+
"layerName": "testGeotiffLayer",
|
|
792
|
+
"type": "LayerContentTreeItem"
|
|
793
|
+
},
|
|
782
794
|
{
|
|
783
795
|
"name": "czml",
|
|
784
796
|
"type": "NodeContentTreeItem",
|
package/dist/assets/cesium.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./cesium-
|
|
1
|
+
export * from "./cesium-7d4ab914.js";
|