@vcmap/ui 6.1.0-rc.7 → 6.1.0

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.
Files changed (94) hide show
  1. package/config/base.config.json +7 -3
  2. package/config/cluster.config.json +1 -1
  3. package/config/dev.config.json +172 -56
  4. package/config/projects.config.json +2 -1
  5. package/config/vectorTile.config.json +42 -1
  6. package/dist/assets/cesium.js +1 -1
  7. package/dist/assets/{core-52c2ef11.js → core-841b71a4.js} +7544 -5485
  8. package/dist/assets/core.js +1 -1
  9. package/dist/assets/ol.js +1 -1
  10. package/dist/assets/{ui-dccb9009.css → ui-2fd6f47d.css} +1 -1
  11. package/dist/assets/{ui-dccb9009.js → ui-2fd6f47d.js} +21402 -20661
  12. package/dist/assets/ui.js +1 -1
  13. package/dist/assets/vue.js +1 -1
  14. package/dist/assets/{vuetify-43a20e18.css → vuetify-4bc77ff7.css} +2 -2
  15. package/dist/assets/{vuetify-43a20e18.js → vuetify-4bc77ff7.js} +6694 -6593
  16. package/dist/assets/vuetify.js +1 -1
  17. package/index.d.ts +13 -5
  18. package/index.js +13 -5
  19. package/package.json +9 -8
  20. package/plugins/@vcmap-show-case/vector-properties-example/src/LayerSettings.vue +39 -0
  21. package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +3 -0
  22. package/plugins/@vcmap-show-case/vector-properties-example/src/lib.js +13 -0
  23. package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +9 -0
  24. package/plugins/package.json +7 -5
  25. package/src/actions/actionHelper.d.ts +6 -0
  26. package/src/actions/actionHelper.js +22 -0
  27. package/src/actions/deepPickingAction.d.ts +23 -0
  28. package/src/actions/deepPickingAction.js +399 -0
  29. package/src/application/VcsApp.vue +3 -0
  30. package/src/application/VcsApp.vue.d.ts +4 -0
  31. package/src/application/VcsAttributionsFooter.vue +1 -0
  32. package/src/application/VcsContainer.vue +1 -0
  33. package/src/application/VcsContainer.vue.d.ts +4 -0
  34. package/src/application/VcsMobileMenuList.vue +34 -41
  35. package/src/application/VcsNavbar.vue +3 -0
  36. package/src/application/VcsNavbarMobile.vue +6 -18
  37. package/src/application/VcsNavbarMobile.vue.d.ts +0 -1
  38. package/src/application/VcsPositionDisplay.vue +1 -0
  39. package/src/components/buttons/VcsActionButtonList.vue +1 -0
  40. package/src/components/form-inputs-controls/VcsSelect.vue +8 -6
  41. package/src/components/icons/+all.d.ts +5 -0
  42. package/src/components/icons/+all.js +14 -0
  43. package/src/components/lists/VcsActionList.vue +1 -0
  44. package/src/components/lists/VcsGroupedList.vue +2 -1
  45. package/src/components/lists/VcsListItemComponent.vue +1 -0
  46. package/src/components/lists/VcsTreeNode.vue +5 -1
  47. package/src/components/lists/VcsTreeview.vue +4 -1
  48. package/src/components/style/{MenuWrapper.vue → StyleMenuWrapper.vue} +2 -1
  49. package/src/components/style/VcsFillMenu.vue +4 -4
  50. package/src/components/style/VcsImageMenu.vue +4 -4
  51. package/src/components/style/VcsStrokeMenu.vue +4 -4
  52. package/src/components/style/VcsTextMenu.vue +4 -4
  53. package/src/contentTree/LayerTree.vue +8 -46
  54. package/src/contentTree/LayerTree.vue.d.ts +1 -3
  55. package/src/contentTree/contentTreeCollection.d.ts +7 -0
  56. package/src/contentTree/contentTreeCollection.js +30 -10
  57. package/src/contentTree/contentTreeItem.d.ts +4 -4
  58. package/src/contentTree/contentTreeItem.js +2 -2
  59. package/src/contentTree/groupContentTreeItem.d.ts +5 -0
  60. package/src/contentTree/groupContentTreeItem.js +1 -1
  61. package/src/contentTree/layerContentTreeItem.js +1 -1
  62. package/src/contentTree/nodeContentTreeItem.d.ts +21 -0
  63. package/src/contentTree/nodeContentTreeItem.js +31 -2
  64. package/src/contentTree/wmsChildContentTreeItem.d.ts +56 -0
  65. package/src/contentTree/wmsChildContentTreeItem.js +159 -0
  66. package/src/contentTree/wmsGroupContentTreeItem.d.ts +171 -0
  67. package/src/contentTree/wmsGroupContentTreeItem.js +619 -0
  68. package/src/featureInfo/ClusterFeatureComponent.vue +47 -11
  69. package/src/featureInfo/ClusterFeatureComponent.vue.d.ts +1 -0
  70. package/src/featureInfo/balloonFeatureInfoView.d.ts +3 -0
  71. package/src/featureInfo/balloonFeatureInfoView.js +78 -11
  72. package/src/featureInfo/balloonHelper.js +8 -12
  73. package/src/featureInfo/featureInfo.d.ts +32 -7
  74. package/src/featureInfo/featureInfo.js +190 -90
  75. package/src/i18n/de.d.ts +22 -16
  76. package/src/i18n/de.js +4 -0
  77. package/src/i18n/en.d.ts +22 -16
  78. package/src/i18n/en.js +4 -0
  79. package/src/manager/toolbox/GroupToolboxComponent.vue +1 -0
  80. package/src/manager/toolbox/SelectToolboxComponent.vue +2 -0
  81. package/src/manager/toolbox/ToolboxManagerComponent.vue +1 -0
  82. package/src/manager/window/windowManager.d.ts +2 -2
  83. package/src/manager/window/windowManager.js +12 -10
  84. package/src/navigation/MapNavigation.vue +3 -1
  85. package/src/notifier/NotifierComponent.vue +1 -0
  86. package/src/search/search.js +3 -16
  87. package/src/state.d.ts +2 -1
  88. package/src/state.js +2 -1
  89. package/src/uiConfig.d.ts +9 -0
  90. package/src/uiConfig.js +1 -0
  91. /package/dist/assets/{cesium-6c6aa853.js → cesium-664ad022.js} +0 -0
  92. /package/dist/assets/{ol-b0589b0c.js → ol-2e095c08.js} +0 -0
  93. /package/dist/assets/{vue-f7a0b088.js → vue-71fd14e8.js} +0 -0
  94. /package/src/components/style/{MenuWrapper.vue.d.ts → StyleMenuWrapper.vue.d.ts} +0 -0
@@ -950,6 +950,11 @@
950
950
  "infoUrl": "https://vc.systems",
951
951
  "title": "contentTree.building.title"
952
952
  },
953
+ {
954
+ "name": "terrain",
955
+ "type": "LayerContentTreeItem",
956
+ "layerName": "GermanyBaseTerrain"
957
+ },
953
958
  {
954
959
  "name": "building.texturedBuildings",
955
960
  "layerName": "buildings",
@@ -1119,7 +1124,7 @@
1119
1124
  {
1120
1125
  "name": "reasonableLayerGroup",
1121
1126
  "type": "LayerGroupContentTreeItem",
1122
- "layerNames": ["buildings", "Bäume", "GermanyBaseTerrain.4"],
1127
+ "layerNames": ["buildings", "Bäume", "GermanyBaseTerrain"],
1123
1128
  "title": "Buildings - Trees - Terrain. A Layer Group Item",
1124
1129
  "availableStyles": [
1125
1130
  "MeasuredHeightGreen",
@@ -1150,8 +1155,7 @@
1150
1155
  }
1151
1156
  }
1152
1157
  ],
1153
- "maxZoom": 7,
1154
- "minZoom": 3,
1158
+
1155
1159
  "hideLevels": null,
1156
1160
  "properties:": {
1157
1161
  "attributions": {
@@ -24,7 +24,7 @@
24
24
  "vectorClusterGroup": "clusterLayerOthers",
25
25
  "properties": {
26
26
  "title": "Grundschulen",
27
- "featureInfo": "tableAll",
27
+ "featureInfo": "genericBalloon",
28
28
  "attributions": [
29
29
  {
30
30
  "provider": "Senatsverwaltung für Bildung, Jugend und Familie",
@@ -3,25 +3,6 @@
3
3
  "_id": "dev",
4
4
  "description": "module containing dev configs and examples",
5
5
  "startingViewpointName": "potsdamer_platz",
6
- "i18n": [
7
- {
8
- "name": "dev",
9
- "de": {
10
- "layers": {
11
- "wmsLayerLaerm": {
12
- "title": "WMS Lärm Bayern"
13
- }
14
- }
15
- },
16
- "en": {
17
- "layers": {
18
- "wmsLayerLaerm": {
19
- "title": "WMS Noise Bavaria"
20
- }
21
- }
22
- }
23
- }
24
- ],
25
6
  "featureInfo": [
26
7
  {
27
8
  "type": "BalloonFeatureInfoView",
@@ -50,18 +31,6 @@
50
31
  "olcs_altitudeMode": "Altitude Mode"
51
32
  }
52
33
  },
53
- {
54
- "type": "BalloonFeatureInfoView",
55
- "name": "genericBalloonLaerm",
56
- "title": "Lärmkarte Bayern",
57
- "subtitle": "WMS Feature Info",
58
- "window": {
59
- "position": {
60
- "width": "200px",
61
- "maxHeight": "100px"
62
- }
63
- }
64
- },
65
34
  {
66
35
  "type": "TableFeatureInfoView",
67
36
  "name": "tableLink",
@@ -101,6 +70,26 @@
101
70
  }
102
71
  }
103
72
  ],
73
+ "styles": [
74
+ {
75
+ "type": "DeclarativeStyleItem",
76
+ "name": "streetStyle",
77
+ "declarativeStyle": {
78
+ "show": "true",
79
+ "color": "color('#784176')",
80
+ "strokeWidth": {
81
+ "conditions": [
82
+ ["${strassenkl} === '0'", "18"],
83
+ ["${strassenkl} === 'I'", "12"],
84
+ ["${strassenkl} === 'II'", "9"],
85
+ ["${strassenkl} === 'III'", "6"],
86
+ ["${strassenkl} === 'IV'", "2"],
87
+ ["true", "2"]
88
+ ]
89
+ }
90
+ }
91
+ }
92
+ ],
104
93
  "layers": [
105
94
  {
106
95
  "name": "testGeojsonVectorTile",
@@ -392,6 +381,55 @@
392
381
  ]
393
382
  }
394
383
  },
384
+ {
385
+ "name": "geojsonClassification",
386
+ "type": "GeoJSONLayer",
387
+ "features": [
388
+ {
389
+ "type": "Feature",
390
+ "properties": {
391
+ "title": "Polygon Bundestag"
392
+ },
393
+ "geometry": {
394
+ "type": "Polygon",
395
+ "coordinates": [
396
+ [
397
+ [13.377401890755296, 52.51939811240837, 31.981617368890852],
398
+ [13.375217214695466, 52.51942601210445, 34.79993872986513],
399
+ [13.375163996940483, 52.51788301808247, 34.527692201263896],
400
+ [13.37734866165336, 52.51785511755142, 34.49136397983607],
401
+ [13.377401890755296, 52.51939811240837, 31.981617368890852]
402
+ ]
403
+ ]
404
+ },
405
+ "id": "d5925529-505a-43bf-adb6-64a4dd043533",
406
+ "vcsMeta": {
407
+ "version": "2.1",
408
+ "style": {
409
+ "stroke": {
410
+ "color": [51, 153, 204, 1],
411
+ "width": 1.25
412
+ },
413
+ "fill": {
414
+ "color": [243, 2, 2, 0.84375]
415
+ }
416
+ }
417
+ }
418
+ }
419
+ ],
420
+ "projection": {
421
+ "epsg": 4326
422
+ },
423
+ "activeOnStartup": false,
424
+ "vectorProperties": {
425
+ "altitudeMode": "clampToGround",
426
+ "classificationType": "both"
427
+ },
428
+ "properties": {
429
+ "title": "GeoJSON Classification",
430
+ "featureInfo": "genericBalloon"
431
+ }
432
+ },
395
433
  {
396
434
  "type": "CzmlLayer",
397
435
  "name": "czmlPoint",
@@ -434,26 +472,16 @@
434
472
  }
435
473
  },
436
474
  {
437
- "name": "wmsLayerLaerm",
475
+ "name": "wmsStadtstruktur",
438
476
  "type": "WMSLayer",
439
- "url": "https://www.lfu.bayern.de/gdi/wms/laerm/hauptverkehrsstrassen",
440
- "datasourceId": "P7xfmLJ5zkFmT7hNQ",
477
+ "url": "https://gdi.berlin.de/services/wms/ua_stadtstruktur_2020",
441
478
  "activeOnStartup": false,
442
479
  "version": "1.3.0",
443
- "layers": "mroadbylden2022,lsemroadby2022",
444
- "parameters": "STYLE=default&TRANSPARENT=TRUE&format=image/png&transparent=true",
445
- "extent": {
446
- "coordinates": [8.7992, 47.156072, 14.055682, 50.670961],
447
- "projection": {
448
- "epsg": "4326"
449
- }
450
- },
480
+ "layers": "ua_stadtstruktur_2020",
481
+ "parameters": "TRANSPARENT=TRUE&format=image/png&transparent=true",
451
482
  "featureInfo": {
452
483
  "showFeature": true,
453
- "responseType": "application/geojson",
454
- "vectorProperties": {
455
- "extrudedHeight": 20
456
- },
484
+ "responseType": "application/json",
457
485
  "style": {
458
486
  "type": "VectorStyleItem",
459
487
  "stroke": {
@@ -465,12 +493,12 @@
465
493
  "tilingSchema": "geographic",
466
494
  "zIndex": 12,
467
495
  "properties": {
468
- "title": "layers.wmsLayerLaerm.title",
469
- "featureInfo": "genericBalloonLaerm",
496
+ "title": "WMS Stadtstruktur Berlin",
497
+ "featureInfo": "tableAll",
470
498
  "legend": [
471
499
  {
472
500
  "type": "ImageLegendItem",
473
- "src": "https://www.lfu.bayern.de/gdi/wms/laerm/hauptverkehrsstrassen?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=mroadbylden"
501
+ "src": "https://gdi.berlin.de/services/wms/ua_stadtstruktur_2020?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image%2Fpng&width=500&height=875&layer=ua_stadtstruktur_2020"
474
502
  }
475
503
  ]
476
504
  }
@@ -482,7 +510,7 @@
482
510
  "activeOnStartup": false,
483
511
  "version": "1.3.0",
484
512
  "layers": "flughaefen,grenzuebergaenge,heliports,kilometrierungen_bab,seehaefen",
485
- "parameters": "STYLE=default&TRANSPARENT=TRUE&format=image/png&transparent=true",
513
+ "parameters": "TRANSPARENT=TRUE&format=image/png&transparent=true",
486
514
  "featureInfo": {
487
515
  "showFeature": true,
488
516
  "responseType": "application/json",
@@ -550,6 +578,45 @@
550
578
  }
551
579
  ]
552
580
  }
581
+ },
582
+
583
+ {
584
+ "name": "wmsTopplus",
585
+ "type": "WMSLayer",
586
+ "url": "https://sgx.geodatenzentrum.de/wms_topplus_open",
587
+ "activeOnStartup": false,
588
+ "version": "1.3.0",
589
+ "layers": "web",
590
+ "parameters": "TRANSPARENT=TRUE&format=image/png&transparent=true",
591
+ "tilingSchema": "geographic",
592
+ "zIndex": 13,
593
+ "properties": { "title": "WMS TopPlus Open" }
594
+ },
595
+ {
596
+ "name": "nasa",
597
+ "type": "WMSLayer",
598
+ "url": "https://maps.eatlas.org.au/maps/wms",
599
+ "activeOnStartup": false,
600
+ "version": "1.3.0",
601
+ "tilingSchema": "geographic",
602
+ "zIndex": 13,
603
+ "layers": "nesp3:GBR_NESP-TWQ-3.2.1-5.4_JCU_Seagrass_1984-2018_Site-surveys",
604
+ "parameters": "TRANSPARENT=TRUE&format=image/png&transparent=true&styles=GBR_NESP-TWQ-3-2-1_JCU_Seagrass_1984-2018_Depth",
605
+ "properties": { "title": "NASA WMS" }
606
+ },
607
+ {
608
+ "name": "FlatGeobufLayer",
609
+ "type": "FlatGeobufLayer",
610
+ "style": "streetStyle",
611
+ "url": "exampleData/flatGeobuf/berlin-classified-level-2.fgb",
612
+ "zIndex": 11,
613
+ "exclusiveGroups": ["streets"],
614
+ "projection": {
615
+ "epsg": 4326
616
+ },
617
+ "properties": {
618
+ "title": "Berlin Streets Class 0-II"
619
+ }
553
620
  }
554
621
  ],
555
622
  "flights": [
@@ -678,6 +745,11 @@
678
745
  "type": "FlightContentTreeItem",
679
746
  "tooltip": "This is a flight. Its flight 2, actually."
680
747
  },
748
+ {
749
+ "name": "geojsonClassification",
750
+ "layerName": "geojsonClassification",
751
+ "type": "LayerContentTreeItem"
752
+ },
681
753
  {
682
754
  "name": "geojson",
683
755
  "layerName": "testGeojson",
@@ -689,28 +761,72 @@
689
761
  "type": "LayerContentTreeItem"
690
762
  },
691
763
  {
692
- "name": "czmlPoint",
764
+ "name": "czml",
765
+ "type": "NodeContentTreeItem",
766
+ "disableIfChildrenDisabled": true
767
+ },
768
+ {
769
+ "name": "czml.czmlPoint",
693
770
  "layerName": "czmlPoint",
694
771
  "type": "LayerContentTreeItem",
695
-
696
772
  "showWhenNotSupported": true
697
773
  },
698
774
  {
699
- "name": "czmlDynamicPoint",
775
+ "name": "czml.czmlDynamicPoint",
700
776
  "layerName": "czmlDynamicPoint",
701
777
  "type": "LayerContentTreeItem",
702
778
  "showWhenNotSupported": true
703
779
  },
780
+ {
781
+ "name": "czml2",
782
+ "type": "NodeContentTreeItem"
783
+ },
784
+ {
785
+ "name": "czml2.czmlPoint",
786
+ "layerName": "czmlPoint",
787
+ "type": "LayerContentTreeItem"
788
+ },
789
+ {
790
+ "name": "czml2.czmlDynamicPoint",
791
+ "layerName": "czmlDynamicPoint",
792
+ "type": "LayerContentTreeItem"
793
+ },
704
794
  {
705
795
  "name": "wmsLayerPOI",
706
796
  "layerName": "wmsLayerPOI",
707
- "type": "LayerContentTreeItem"
797
+ "type": "WMSGroupContentTreeItem"
798
+ },
799
+ {
800
+ "name": "wmsTopplus",
801
+ "layerName": "wmsTopplus",
802
+ "type": "WMSGroupContentTreeItem",
803
+ "setWMSLayersExclusive": true,
804
+ "initOpen": true,
805
+ "showWhenNotSupported": true
708
806
  },
709
807
  {
710
- "name": "wmsLayerLaerm",
711
- "layerName": "wmsLayerLaerm",
808
+ "name": "nasa",
809
+ "layerName": "nasa",
810
+ "type": "WMSGroupContentTreeItem",
811
+ "initOpen": true,
812
+ "showWhenNotSupported": true,
813
+ "allowedWMSLayers": [
814
+ "nesp3:GBR_NESP-TWQ-3.2.1-5.4_JCU_Seagrass_1984-2018_Site-surveys",
815
+ "nesp5:GBR_NESP-TWQ-3.3.2-5.13_JCU_Diver-logger-sites",
816
+ "nesp3:GBR_NESP-TWQ-3.3.2_JCU_Fish-survey-sites",
817
+ "ea-be:World_Bright-Earth-e-Atlas-basemap"
818
+ ]
819
+ },
820
+ {
821
+ "name": "wmsStadtstruktur",
822
+ "layerName": "wmsStadtstruktur",
712
823
  "type": "LayerContentTreeItem"
713
824
  },
825
+ {
826
+ "name": "FlatGeobufLayers",
827
+ "type": "LayerContentTreeItem",
828
+ "layerName": "FlatGeobufLayer"
829
+ },
714
830
  {
715
831
  "name": "building.myTest",
716
832
  "type": "ContentTreeItem",
@@ -35,7 +35,8 @@
35
35
  "config/hello-world.config.json",
36
36
  "config/theming.config.json",
37
37
  "config/clipping.config.json",
38
- "config/cluster.config.json"
38
+ "config/cluster.config.json",
39
+ "config/vectorTile.config.json"
39
40
  ]
40
41
  }
41
42
  ]
@@ -50,7 +50,6 @@
50
50
  "type": "MVTTileProvider",
51
51
  "url": "https://www.virtualcitymap.de/datasource-data/BerlinFootprintsMVT/{z}/{x}/{y}.pbf"
52
52
  },
53
- "activeOnStartup": true,
54
53
  "debug": false,
55
54
  "renderer": "primitive",
56
55
  "exclusiveGroups": ["3D"],
@@ -65,6 +64,48 @@
65
64
  "tooltip": "OpenStreetMap Building Polygons",
66
65
  "availableStyles": ["Transparentbuildings"]
67
66
  }
67
+ },
68
+ {
69
+ "name": "berlinStreetsTiled",
70
+ "type": "VectorTileLayer",
71
+ "style": "streetStyle",
72
+ "minLevel": 10,
73
+ "zIndex": 11,
74
+ "tileProvider": {
75
+ "type": "FlatGeobufTileProvider",
76
+ "projection": {
77
+ "epsg": 4326
78
+ },
79
+ "levels": [
80
+ {
81
+ "level": 10,
82
+ "url": "exampleData/flatGeobuf/berlin-classified-level-0.fgb"
83
+ },
84
+ {
85
+ "level": 12,
86
+ "url": "exampleData/flatGeobuf/berlin-classified-level-1.fgb"
87
+ },
88
+ {
89
+ "level": 14,
90
+ "url": "exampleData/flatGeobuf/berlin-classified-level-2.fgb"
91
+ },
92
+ {
93
+ "level": 16,
94
+ "url": "exampleData/flatGeobuf/berlin-classified-level-3.fgb"
95
+ }
96
+ ]
97
+ },
98
+ "exclusiveGroups": ["streets"],
99
+ "properties": {
100
+ "title": "Berlin Streets (tiled)"
101
+ }
102
+ }
103
+ ],
104
+ "contentTree": [
105
+ {
106
+ "name": "flatGeobufLayers",
107
+ "type": "LayerContentTreeItem",
108
+ "layerName": "berlinStreetsTiled"
68
109
  }
69
110
  ]
70
111
  }
@@ -1 +1 @@
1
- export * from "./cesium-6c6aa853.js";
1
+ export * from "./cesium-664ad022.js";