@vcmap/ui 6.1.10 → 6.1.11

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.
@@ -959,20 +959,7 @@
959
959
  "name": "building.texturedBuildings",
960
960
  "layerName": "buildings",
961
961
  "type": "LayerContentTreeItem",
962
- "tooltip": "Textured buildings",
963
- "onActivate": [
964
- {
965
- "type": "DeactivateLayersCallback",
966
- "layerNames": ["mesh_surface", "buildings_untextured"]
967
- },
968
- { "type": "GoToViewpointCallback", "viewpoint": "alexanderplatz" }
969
- ],
970
- "onDeactivate": [
971
- {
972
- "type": "ActivateLayersCallback",
973
- "layerNames": ["buildings_untextured"]
974
- }
975
- ]
962
+ "tooltip": "Textured buildings"
976
963
  },
977
964
  {
978
965
  "name": "building.untexturedBuildings",
@@ -1167,6 +1154,29 @@
1167
1154
  }
1168
1155
  ],
1169
1156
  "plugins": [
1157
+ {
1158
+ "name": "@vcmap/event-control",
1159
+ "entry": "plugins/@vcmap/event-control/index.js",
1160
+ "actions": [
1161
+ {
1162
+ "type": "layer",
1163
+ "targetName": "buildings",
1164
+ "onActivate": [
1165
+ {
1166
+ "type": "DeactivateLayersCallback",
1167
+ "layerNames": ["mesh_surface", "buildings_untextured"]
1168
+ },
1169
+ { "type": "GoToViewpointCallback", "viewpoint": "alexanderplatz" }
1170
+ ],
1171
+ "onDeactivate": [
1172
+ {
1173
+ "type": "ActivateLayersCallback",
1174
+ "layerNames": ["buildings_untextured"]
1175
+ }
1176
+ ]
1177
+ }
1178
+ ]
1179
+ },
1170
1180
  {
1171
1181
  "name": "@vcmap/create-link",
1172
1182
  "entry": "plugins/@vcmap/create-link/index.js"
@@ -1 +1 @@
1
- export * from "./cesium-5bb6c9cc.js";
1
+ export * from "./cesium-74e49dfb.js";