@vcmap/ui 5.0.0-rc.16 → 5.0.0-rc.17
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/buildHelpers.js +7 -1
- package/config/base.config.json +3 -45
- package/config/www.config.json +9 -10
- package/dist/assets/{cesium.430460.js → cesium.41de56.js} +0 -0
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.5089ba.js → core.af84e3.js} +1700 -1718
- package/dist/assets/core.js +1 -1
- package/dist/assets/{index.854f8e2b.js → index.5b773cad.js} +1 -1
- package/dist/assets/{ol.9be53a.js → ol.5c7490.js} +0 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.49010a.css → ui.dffe32.css} +1 -1
- package/dist/assets/{ui.49010a.js → ui.dffe32.js} +6345 -6011
- package/dist/assets/ui.js +1 -1
- package/dist/assets/{vue.247c1c.js → vue.25da17.js} +0 -0
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.735e58.css → vuetify.e4ece7.css} +0 -0
- package/dist/assets/{vuetify.735e58.js → vuetify.e4ece7.js} +5 -2
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/index.js +14 -3
- package/package.json +2 -2
- package/plugins/@vcmap/pluginExample/index.js +2 -1
- package/plugins/@vcmap/pluginExample/pluginExampleComponent.vue +7 -0
- package/plugins/categoryTest/Categories.vue +27 -13
- package/plugins/categoryTest/Category.vue +7 -1
- package/plugins/categoryTest/index.js +1 -1
- package/plugins/test/allIconsComponent.vue +3 -3
- package/plugins/test/index.js +6 -4
- package/plugins/test/testList.vue +4 -1
- package/plugins/test/vcsContent.vue +1 -1
- package/plugins/test/windowManagerExample.vue +9 -7
- package/src/actions/actionHelper.js +10 -9
- package/src/application/VcsApp.vue +25 -26
- package/src/components/form-inputs-controls/VcsCheckbox.vue +1 -0
- package/src/components/form-inputs-controls/VcsFormSection.vue +14 -6
- package/src/components/lists/VcsList.vue +4 -2
- package/src/contentTree/contentTreeCollection.js +9 -0
- package/src/contentTree/layerContentTreeItem.js +1 -1
- package/src/featureInfo/BalloonComponent.vue +3 -0
- package/src/featureInfo/balloonFeatureInfoView.js +2 -8
- package/src/featureInfo/balloonHelper.js +22 -5
- package/src/featureInfo/featureInfo.js +1 -2
- package/src/i18n/de.js +6 -1
- package/src/i18n/en.js +6 -1
- package/src/manager/categoryManager/CategoryComponent.vue +115 -0
- package/src/manager/categoryManager/CategoryComponentList.vue +57 -0
- package/src/manager/categoryManager/CategoryManager.vue +35 -0
- package/src/manager/categoryManager/categoryManager.js +251 -165
- package/src/manager/contextMenu/contextMenuManager.js +8 -2
- package/src/manager/window/WindowComponent.vue +49 -75
- package/src/manager/window/WindowComponentHeader.vue +49 -7
- package/src/manager/window/WindowManager.vue +53 -30
- package/src/manager/window/windowHelper.js +341 -0
- package/src/manager/window/windowManager.js +162 -150
- package/src/notifier/notifier.js +4 -5
- package/src/vcsUiApp.js +7 -1
- package/src/manager/categoryManager/ComponentsManager.vue +0 -30
package/build/buildHelpers.js
CHANGED
@@ -84,12 +84,18 @@ export async function getInlinePlugins() {
|
|
84
84
|
* @returns {Promise<void>}
|
85
85
|
*/
|
86
86
|
export async function buildLibrary(libraryConfig, outputFolder, library, hash = '', base64Css = false) {
|
87
|
+
// Base64 contains the characters '+', '/', and '=', which have a reserved meaning in URLs.
|
88
|
+
// Base64url solves this by replacing '+' with '-' and '/' with '_'.
|
89
|
+
// See https://stackoverflow.com/a/55389212
|
87
90
|
const cssInjectorCode = `
|
88
91
|
function loadCss(href) {
|
92
|
+
const base64url = href
|
93
|
+
.replace(/-/g, '+')
|
94
|
+
.replace(/_/g, '/');
|
89
95
|
return new Promise((resolve, reject) => {
|
90
96
|
const elem = document.createElement('link');
|
91
97
|
elem.rel = 'stylesheet';
|
92
|
-
elem.href =
|
98
|
+
elem.href = base64url;
|
93
99
|
elem.defer = false;
|
94
100
|
elem.async = false;
|
95
101
|
elem.onload = resolve;
|
package/config/base.config.json
CHANGED
@@ -675,7 +675,7 @@
|
|
675
675
|
{
|
676
676
|
"type": "CesiumTilesetLayer",
|
677
677
|
"name": "mesh_surface",
|
678
|
-
"url": "https://
|
678
|
+
"url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/mesh_2020/",
|
679
679
|
"activeOnStartup": false,
|
680
680
|
"allowPicking": false,
|
681
681
|
"screenSpaceError": 16,
|
@@ -755,46 +755,6 @@
|
|
755
755
|
"tooltip": "OpenStreetMap Building Polygons"
|
756
756
|
}
|
757
757
|
},
|
758
|
-
{
|
759
|
-
"name": "fisbroker-dop-2015",
|
760
|
-
"url": "https://karten.blc.shc.eu/cache/tms/1.0.0/osm-berlin-dop2015-combined/",
|
761
|
-
"type": "TMSLayer",
|
762
|
-
"datasourceId": "5dnXzoL27oPYQbEWQ",
|
763
|
-
"activeOnStartup": false,
|
764
|
-
"extent": {
|
765
|
-
"coordinates": [
|
766
|
-
248000,
|
767
|
-
5648000,
|
768
|
-
517000,
|
769
|
-
5968000
|
770
|
-
],
|
771
|
-
"projection": {
|
772
|
-
"epsg": "25833",
|
773
|
-
"proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
|
774
|
-
}
|
775
|
-
},
|
776
|
-
"format": "jpg",
|
777
|
-
"minLevel": "0",
|
778
|
-
"maxLevel": "20",
|
779
|
-
"tilingSchema": "mercator",
|
780
|
-
"opacity": "1",
|
781
|
-
"hiddenObjectIds": [],
|
782
|
-
"exclusiveGroups": [
|
783
|
-
"base"
|
784
|
-
],
|
785
|
-
"tileSize": [
|
786
|
-
"256",
|
787
|
-
"256"
|
788
|
-
],
|
789
|
-
"properties": {
|
790
|
-
"title": "Aerial Image (2015)",
|
791
|
-
"attributions": {
|
792
|
-
"provider": "Geoportal Berlin / Luftbild 2015, OpenStreetMap contributors",
|
793
|
-
"url": "http://www.stadtentwicklung.berlin.de/geoinformation/fis-broker/",
|
794
|
-
"year": "2018"
|
795
|
-
}
|
796
|
-
}
|
797
|
-
},
|
798
758
|
{
|
799
759
|
"name": "Openstreetmap OSM Cache",
|
800
760
|
"url": "https://osm.virtualcitymap.de/mapproxy/wmts/osm/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png",
|
@@ -1139,10 +1099,8 @@
|
|
1139
1099
|
"activeOnStartup": true,
|
1140
1100
|
"dataSets": [
|
1141
1101
|
{
|
1142
|
-
"url": "https://
|
1143
|
-
"
|
1144
|
-
"url": "https://b.3d.blc.shc.eu/WAB/base_layer/cesium_terrain/"
|
1145
|
-
},
|
1102
|
+
"url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/obliques_2020/image_tiled.json",
|
1103
|
+
"terrainUrl": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/terrain_2016/",
|
1146
1104
|
"projection": {
|
1147
1105
|
"epsg": "25833",
|
1148
1106
|
"proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
|
package/config/www.config.json
CHANGED
@@ -495,7 +495,7 @@
|
|
495
495
|
{
|
496
496
|
"type": "CesiumTilesetLayer",
|
497
497
|
"name": "Planwerk innere Stadt",
|
498
|
-
"url": "https://
|
498
|
+
"url": "https://berlin-wab.virtualcitymap.de/datasource-data/plannings/cesium_planwerk_innere_stadt/3444ad7c-b6a5-4623-9421-e80e37d5378c/",
|
499
499
|
"activeOnStartup": false,
|
500
500
|
"allowPicking": false,
|
501
501
|
"style": {
|
@@ -691,7 +691,7 @@
|
|
691
691
|
{
|
692
692
|
"type": "CesiumTilesetLayer",
|
693
693
|
"name": "mesh_surface",
|
694
|
-
"url": "https://
|
694
|
+
"url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/mesh_2020/",
|
695
695
|
"activeOnStartup": false,
|
696
696
|
"allowPicking": false,
|
697
697
|
"screenSpaceError": 16,
|
@@ -894,14 +894,12 @@
|
|
894
894
|
],
|
895
895
|
"obliqueCollections": [
|
896
896
|
{
|
897
|
-
"name": "
|
897
|
+
"name": "obliques",
|
898
898
|
"activeOnStartup": true,
|
899
899
|
"dataSets": [
|
900
900
|
{
|
901
|
-
"url": "https://
|
902
|
-
"
|
903
|
-
"url": "https://www.virtualcitymap.de/datasource-data/globalterrain_5_9"
|
904
|
-
},
|
901
|
+
"url": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/obliques_2020/image_tiled.json",
|
902
|
+
"terrainUrl": "https://berlin-wab.virtualcitymap.de/datasource-data/baselayer/terrain_2016/",
|
905
903
|
"projection": {
|
906
904
|
"epsg": "25833",
|
907
905
|
"proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
|
@@ -909,10 +907,11 @@
|
|
909
907
|
}
|
910
908
|
],
|
911
909
|
"maxZoom": 7,
|
912
|
-
"minZoom":
|
913
|
-
"
|
910
|
+
"minZoom": 3,
|
911
|
+
"hideLevels": null,
|
912
|
+
"properties:": {
|
914
913
|
"attributions": {
|
915
|
-
"provider": "Berlin Partner
|
914
|
+
"provider": "Berlin Partner / Senat von Berlin",
|
916
915
|
"url": "https://www.berlin-partner.de",
|
917
916
|
"year": "2020"
|
918
917
|
}
|
File without changes
|
package/dist/assets/cesium.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./cesium.
|
1
|
+
export * from "./cesium.41de56.js";
|