@vcmap/ui 5.0.0 → 5.0.2

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 (35) hide show
  1. package/config/base.config.json +12 -2
  2. package/config/www.config.json +58 -16
  3. package/dist/assets/cesium.js +1 -1
  4. package/dist/assets/{core.306872.js → core.bb64ed.js} +15 -9
  5. package/dist/assets/core.js +1 -1
  6. package/dist/assets/index-661636d9.js +1 -0
  7. package/dist/assets/ol.js +1 -1
  8. package/dist/assets/{ui.e84ce9.css → ui.aeb2ec.css} +1 -1
  9. package/dist/assets/{ui.e84ce9.js → ui.aeb2ec.js} +4815 -4378
  10. package/dist/assets/ui.js +1 -1
  11. package/dist/assets/vue.js +2 -2
  12. package/dist/assets/{vuetify.008fac.js → vuetify.3ed426.js} +1 -1
  13. package/dist/assets/vuetify.js +2 -2
  14. package/dist/index.html +2 -2
  15. package/index.html +1 -1
  16. package/package.json +8 -8
  17. package/plugins/@vcmap-show-case/table-example/src/DataTableExample.vue +5 -0
  18. package/src/actions/StyleSelector.vue +24 -9
  19. package/src/actions/actionHelper.js +31 -3
  20. package/src/components/lists/VcsList.vue +5 -2
  21. package/src/components/lists/VcsTreeview.vue +6 -6
  22. package/src/components/style/VcsImageSelector.vue +423 -14
  23. package/src/components/tables/VcsDataTable.vue +29 -1
  24. package/src/manager/buttonManager.js +3 -1
  25. package/src/manager/collectionManager/CollectionComponent.vue +4 -0
  26. package/src/manager/collectionManager/CollectionComponentList.vue +28 -9
  27. package/src/manager/toolbox/toolboxManager.js +5 -2
  28. package/src/manager/window/windowManager.js +4 -1
  29. package/src/navigation/MapNavigation.vue +31 -46
  30. package/src/vcsUiApp.js +1 -1
  31. package/dist/assets/index-cfed33b1.js +0 -1
  32. /package/dist/assets/{cesium.4137c8.js → cesium.a3a1dc.js} +0 -0
  33. /package/dist/assets/{ol.328bbf.js → ol.833fa9.js} +0 -0
  34. /package/dist/assets/{vue.1c8696.js → vue.8e1850.js} +0 -0
  35. /package/dist/assets/{vuetify.008fac.css → vuetify.3ed426.css} +0 -0
@@ -4,6 +4,7 @@
4
4
  "_id": "VcsBaseConfig",
5
5
  "startingViewpointName": "berlin",
6
6
  "startingMapName": "cesium",
7
+ "startingObliqueCollectionName": "obliques",
7
8
  "projection": {
8
9
  "epsg": "25833",
9
10
  "proj4": "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs"
@@ -20,6 +21,10 @@
20
21
  "title": "OSM Gebäude Grundflächen"
21
22
  }
22
23
  },
24
+ "style": {
25
+ "buildingFunction": "Gebäudefunktion",
26
+ "transparentBuildings": "Transparente Gebäude"
27
+ },
23
28
  "contentTree": {
24
29
  "building": {
25
30
  "title": "3D Gebäude"
@@ -35,6 +40,10 @@
35
40
  "title": "OSM Building Footprints"
36
41
  }
37
42
  },
43
+ "style": {
44
+ "buildingFunction": "Building function",
45
+ "transparentBuildings": "Transparent Buildings"
46
+ },
38
47
  "contentTree": {
39
48
  "building": {
40
49
  "title": "3D buildings"
@@ -407,6 +416,7 @@
407
416
  }
408
417
  },
409
418
  "properties": {
419
+ "title": "style.buildingFunction",
410
420
  "legend": [
411
421
  {
412
422
  "type": "StyleLegendItem",
@@ -463,6 +473,7 @@
463
473
  }
464
474
  },
465
475
  "properties": {
476
+ "title": "style.transparentBuildings",
466
477
  "legend": [
467
478
  {
468
479
  "type": "StyleLegendItem",
@@ -533,8 +544,7 @@
533
544
  "name": "Oblique Map",
534
545
  "showObliqueImageName": true,
535
546
  "obliqueImageNameTemplate": "Oblique Image Name : {0}",
536
- "type": "ObliqueMap",
537
- "defaultCollectionName": "Schrägluftbilder WAB"
547
+ "type": "ObliqueMap"
538
548
  }
539
549
  ],
540
550
  "layers": [
@@ -4,6 +4,7 @@
4
4
  "description": "VC Map Demo www.virtualcitymap.de",
5
5
  "startingViewpointName": "startview",
6
6
  "startingMapName": "cesium",
7
+ "startingObliqueCollectionName": "obliques",
7
8
  "projection": {
8
9
  "epsg": "25832",
9
10
  "proj4": "+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs"
@@ -24,6 +25,14 @@
24
25
  "footprints": "OSM Gebäudegrundrisse",
25
26
  "GermanyBaseTerrain": "Gelände"
26
27
  },
28
+ "style": {
29
+ "MeasuredHeightGreen": "Measured Height Grün",
30
+ "MeasuredHeightBrown": "Measured Height Rot",
31
+ "MeasuredHeightBlue": "Measured Height Blau",
32
+ "ClassifiedbyRoofType": "Dachform",
33
+ "BuildingFunction": "Gebäudefunktion",
34
+ "Transparentbuildings": "Transparente Gebäude"
35
+ },
27
36
  "featureInfo": {
28
37
  "waterSpeed": "Geschwindigkeit [m/s]",
29
38
  "waterHeight": "Wasserhöhe [m]"
@@ -366,6 +375,14 @@
366
375
  "footprints": "OSM building footprints",
367
376
  "GermanyBaseTerrain": "Terrain"
368
377
  },
378
+ "style": {
379
+ "MeasuredHeightGreen": "Measured height green",
380
+ "MeasuredHeightBrown": "Measured height red",
381
+ "MeasuredHeightBlue": "Measured height blue",
382
+ "ClassifiedbyRoofType": "Rooftype",
383
+ "BuildingFunction": "Building function",
384
+ "Transparentbuildings": "Transparent Buildings"
385
+ },
369
386
  "featureInfo": {
370
387
  "waterSpeed": "Velocity [m/s]",
371
388
  "waterHeight": "Water height [m]"
@@ -408,7 +425,6 @@
408
425
  {
409
426
  "type": "ObliqueMap",
410
427
  "name": "Oblique Map",
411
- "defaultCollectionName": "Schrägluftbilder 2020",
412
428
  "properties": {
413
429
  "attributions": [
414
430
  {
@@ -431,6 +447,9 @@
431
447
  "activeOnStartup": true,
432
448
  "screenSpaceError": 16,
433
449
  "screenSpaceErrorMobile": 32,
450
+ "tilesetOptions": {
451
+ "useSRGBColorFactors": true
452
+ },
434
453
  "properties": {
435
454
  "title": "Bayern - LOD2",
436
455
  "featureInfo": "tableBuildings"
@@ -443,6 +462,9 @@
443
462
  "activeOnStartup": true,
444
463
  "screenSpaceError": 16,
445
464
  "screenSpaceErrorMobile": 32,
465
+ "tilesetOptions": {
466
+ "useSRGBColorFactors": true
467
+ },
446
468
  "properties": {
447
469
  "title": "Sachsen - LOD2",
448
470
  "featureInfo": "tableBuildings"
@@ -455,6 +477,9 @@
455
477
  "activeOnStartup": true,
456
478
  "screenSpaceError": 16,
457
479
  "screenSpaceErrorMobile": 32,
480
+ "tilesetOptions": {
481
+ "useSRGBColorFactors": true
482
+ },
458
483
  "properties": {
459
484
  "title": "Sachsen-Anhalt - LOD2",
460
485
  "featureInfo": "tableBuildings"
@@ -479,6 +504,9 @@
479
504
  "activeOnStartup": true,
480
505
  "screenSpaceError": 16,
481
506
  "screenSpaceErrorMobile": 32,
507
+ "tilesetOptions": {
508
+ "useSRGBColorFactors": true
509
+ },
482
510
  "properties": {
483
511
  "title": "Thüringen - LOD2",
484
512
  "featureInfo": "tableBuildings"
@@ -491,6 +519,9 @@
491
519
  "activeOnStartup": true,
492
520
  "screenSpaceError": 16,
493
521
  "screenSpaceErrorMobile": 32,
522
+ "tilesetOptions": {
523
+ "useSRGBColorFactors": true
524
+ },
494
525
  "properties": {
495
526
  "title": "Niedersachsen - LOD2",
496
527
  "featureInfo": "tableBuildings"
@@ -503,6 +534,9 @@
503
534
  "activeOnStartup": true,
504
535
  "screenSpaceError": 16,
505
536
  "screenSpaceErrorMobile": 32,
537
+ "tilesetOptions": {
538
+ "useSRGBColorFactors": true
539
+ },
506
540
  "properties": {
507
541
  "title": "NRW - LOD2",
508
542
  "featureInfo": "tableBuildings"
@@ -515,6 +549,9 @@
515
549
  "activeOnStartup": true,
516
550
  "screenSpaceError": 16,
517
551
  "screenSpaceErrorMobile": 32,
552
+ "tilesetOptions": {
553
+ "useSRGBColorFactors": true
554
+ },
518
555
  "properties": {
519
556
  "title": "Hessen - LOD2",
520
557
  "featureInfo": "tableBuildings"
@@ -527,6 +564,9 @@
527
564
  "activeOnStartup": true,
528
565
  "screenSpaceError": 16,
529
566
  "screenSpaceErrorMobile": 32,
567
+ "tilesetOptions": {
568
+ "useSRGBColorFactors": true
569
+ },
530
570
  "properties": {
531
571
  "title": "Hamburg - LOD2",
532
572
  "featureInfo": "tableBuildings"
@@ -540,6 +580,9 @@
540
580
  "activeOnStartup": true,
541
581
  "screenSpaceError": 16,
542
582
  "screenSpaceErrorMobile": 32,
583
+ "tilesetOptions": {
584
+ "useSRGBColorFactors": true
585
+ },
543
586
  "properties": {
544
587
  "title": "Brandenburg - LOD2",
545
588
  "featureInfo": "tableBuildings"
@@ -550,9 +593,12 @@
550
593
  "name": "Berlin untexturiert openData (pbr recalculation)",
551
594
  "url": "https://www.virtualcitymap.de/datasource-data/f892f6af-180a-4eef-917f-5ff03c260b32/tileset.json",
552
595
  "activeOnStartup": true,
553
- "screenSpaceError": 16,
596
+ "screenSpaceError": 8,
554
597
  "screenSpaceErrorMobile": 32,
555
598
  "exclusiveGroups": ["3D", "classified"],
599
+ "tilesetOptions": {
600
+ "useSRGBColorFactors": true
601
+ },
556
602
  "properties": {
557
603
  "title": "Berlin - LOD2",
558
604
  "featureInfo": "tableBuildings",
@@ -602,7 +648,8 @@
602
648
  }
603
649
  },
604
650
  "tilesetOptions": {
605
- "skipLevelOfDetail": false
651
+ "skipLevelOfDetail": false,
652
+ "useSRGBColorFactors": true
606
653
  },
607
654
  "properties": {
608
655
  "title": "Planwerk Innere Stadt",
@@ -647,34 +694,23 @@
647
694
  }
648
695
  },
649
696
  {
650
- "type": "WMTSLayer",
697
+ "type": "OpenStreetMapLayer",
651
698
  "name": "Openstreetmap layer",
652
- "url": "https://osm.virtualcitymap.de/mapproxy/wmts/osm/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png",
653
699
  "activeOnStartup": true,
654
700
  "exclusive": "base",
655
- "layer": "osm",
656
- "wmtsStyle": "default",
657
- "format": "image/png",
658
- "tileMatrixSetID": "osm_grid",
659
- "maxLevel": 19,
660
701
  "extent": {
661
702
  "coordinates": [-180, -85, 180, 85],
662
703
  "projection": {
663
704
  "epsg": "EPSG:4326"
664
705
  }
665
706
  },
666
- "tilingSchema": "mercator",
667
- "hiddenObjectIds": [],
668
- "tileMatrixPrefix": "",
669
- "numberOfLevelZeroTilesX": 1,
670
- "numberOfLevelZeroTilesY": 1,
671
707
  "properties": {
672
708
  "title": "Openstreetmap",
673
709
  "showInOverviewMap": true,
674
710
  "attributions": {
675
711
  "provider": "OpenStreetMap contributors",
676
712
  "url": "https://www.openstreetmap.org/",
677
- "year": "2018"
713
+ "year": "2023"
678
714
  }
679
715
  }
680
716
  },
@@ -1002,6 +1038,7 @@
1002
1038
  }
1003
1039
  },
1004
1040
  "properties": {
1041
+ "title": "style.MeasuredHeightGreen",
1005
1042
  "legend": [
1006
1043
  {
1007
1044
  "type": "StyleLegendItem",
@@ -1065,6 +1102,7 @@
1065
1102
  }
1066
1103
  },
1067
1104
  "properties": {
1105
+ "title": "style.MeasuredHeightBrown",
1068
1106
  "legend": [
1069
1107
  {
1070
1108
  "type": "StyleLegendItem",
@@ -1128,6 +1166,7 @@
1128
1166
  }
1129
1167
  },
1130
1168
  "properties": {
1169
+ "title": "style.MeasuredHeightBlue",
1131
1170
  "legend": [
1132
1171
  {
1133
1172
  "type": "StyleLegendItem",
@@ -1201,6 +1240,7 @@
1201
1240
  }
1202
1241
  },
1203
1242
  "properties": {
1243
+ "title": "style.ClassifiedbyRoofType",
1204
1244
  "legend": [
1205
1245
  {
1206
1246
  "type": "StyleLegendItem",
@@ -1333,6 +1373,7 @@
1333
1373
  }
1334
1374
  },
1335
1375
  "properties": {
1376
+ "title": "style.BuildingFunction",
1336
1377
  "legend": [
1337
1378
  {
1338
1379
  "type": "StyleLegendItem",
@@ -1389,6 +1430,7 @@
1389
1430
  }
1390
1431
  },
1391
1432
  "properties": {
1433
+ "title": "style.Transparentbuildings",
1392
1434
  "legend": [
1393
1435
  {
1394
1436
  "type": "StyleLegendItem",
@@ -1 +1 @@
1
- export * from "./cesium.4137c8.js";
1
+ export * from "./cesium.a3a1dc.js";
@@ -1,8 +1,8 @@
1
1
  var au = Object.defineProperty;
2
2
  var ou = (i, t, e) => t in i ? au(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var h = (i, t, e) => (ou(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { ol$proj$getTransform as De, ol$proj$get as lu, ol$proj$equivalent as hu, ol$proj$proj4$register as Eo, ol$geom$Circle as wt, ol$geom$GeometryCollection as Sr, ol$style$Style as K, ol$style$Fill as nt, ol$style$Stroke as ze, ol$style$Text as Ua, ol$style$Icon as mi, ol$style$Circle as yi, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as cu, ol$style$Image as th, ol$Feature as oe, ol$Map as uu, ol$interaction$defaults as du, ol$Observable$unByKey as se, ol$View as qa, ol$easing$inAndOut as fu, ol$extent$containsXY as ih, ol$extent$boundingExtent as Us, ol$layer$Vector as sh, ol$extent$getBottomLeft as Wa, ol$geom$SimpleGeometry as gu, ol$geom$Point as Gt, ol$geom$LineString as ei, ol$geom$Polygon as jt, ol$geom$MultiPoint as rh, ol$geom$MultiLineString as nh, ol$geom$MultiPolygon as An, ol$sphere$offset as Xr, ol$geom$Polygon$fromCircle as ah, ol$geom$Polygon$circular as mu, Feature as kt, ol$ImageState as Fr, ol$extent$getBottomRight as oh, ol$extent$getTopRight as lh, ol$extent$getTopLeft as Rn, ol$proj$transform as Ii, ol$source$Vector as qs, ol$tilegrid$createXYZ as hh, ol$proj$Projection as yu, ol$tilegrid$TileGrid as ch, ol$source$TileImage as pu, ol$layer$Tile as gs, ol$extent$containsCoordinate as _u, ol$extent$buffer as uh, ol$extent$getCenter as Ws, ol$geom$Polygon$fromExtent as vu, ol$proj$transformExtent as Po, ol$sphere$getDistance as Su, ol$format$GeoJSON as dh, ol$extent$getWidth as va, ol$source$TileWMS as wu, ol$format$GML2 as Sa, ol$format$WFS as wa, ol$format$GML3 as Ma, ol$extent$createEmpty as Xs, ol$structs$LRUCache as Mu, ol$extent$createOrUpdateFromCoordinate as Cu, ol$render$canvas$Immediate as xu, ol$geom$flat$transform$transform2D as Ou, ol$extent$intersects as bu, ol$geom$SimpleGeometry$transformGeom2D as Eu, ol$transform$scale as Pu, ol$transform$create as Iu, ol$transform$compose as Lu, ol$extent$extend as Ys, ol$source$OSM as Tu, ol$layer$Image as Nu, ol$source$ImageStatic as Du, ol$source$TileDebug as Au, ol$source$XYZ as Ru, ol$source$VectorTile as Fu, ol$TileState as Gu, ol$layer$VectorTile as ku, ol$tilegrid$WMTS as zu, ol$source$WMTS as Hu, ol$format$MVT as ju, ol$interaction$DragPan as Vu, ol$extent$isEmpty as Io, ol$geom$LinearRing as $u } from "./ol.328bbf.js";
5
- import { Math as E, Cartesian3 as v, Cartographic as ee, Cesium3DTileStyle as an, Cesium3DTileColorBlendMode as Yr, Color as U, VerticalOrigin as ut, Cesium3DTileFeature as Hi, Cesium3DTilePointFeature as ji, Entity as Vi, Material as It, Cartesian2 as k, Matrix3 as W, Quaternion as fh, Primitive as dt, GeometryInstance as at, FrustumGeometry as Bu, ColorGeometryInstanceAttribute as Zs, PerInstanceColorAppearance as cs, FrustumOutlineGeometry as Uu, destroyObject as qu, EasingFunction as Wu, ConditionsExpression as Xu, Expression as Yu, HeightReference as Ee, ClassificationType as as, NearFarScalar as zs, SplitDirection as we, SceneTransforms as Zu, MaterialAppearance as on, ShadowMode as Mr, ClassificationPrimitive as gh, GroundPrimitive as Lo, PolylineMaterialAppearance as Ca, GroundPolylinePrimitive as To, PolygonGeometry as Ju, PolygonOutlineGeometry as Ku, GroundPolylineGeometry as Xa, PolylineGeometry as Li, PolygonHierarchy as xa, CircleGeometry as Qu, CircleOutlineGeometry as ed, HeadingPitchRoll as Ya, Matrix4 as D, Transforms as pi, Model as Za, sampleTerrainMostDetailed as Fn, ModelAnimationLoop as td, CylinderOutlineGeometry as id, CylinderGeometry as mh, EllipsoidOutlineGeometry as sd, EllipsoidGeometry as yh, SphereOutlineGeometry as rd, SphereGeometry as nd, BoxOutlineGeometry as ad, BoxGeometry as ph, WallGeometry as od, WallOutlineGeometry as ld, LabelStyle as Xn, HorizontalOrigin as Yn, CatmullRomSpline as hd, ArcType as ln, PrimitiveCollection as Ni, BillboardCollection as cd, LabelCollection as ud, CesiumTerrainProvider as No, Cartesian4 as Do, sampleTerrain as dd, Ellipsoid as Oa, Clock as fd, DataSourceClock as gd, JulianDate as _h, KeyboardEventModifier as Zn, ScreenSpaceEventType as ai, CesiumWidget as md, DataSourceDisplay as Ao, DataSourceCollection as Ro, RequestScheduler as yd, ScreenSpaceEventHandler as pd, Ray as vh, Camera as _d, ImageryLayer as $i, CustomDataSource as Sh, BoundingSphere as wh, Intersect as vd, BillboardVisualizer as Sd, LabelVisualizer as wd, PointVisualizer as Md, WebMercatorTilingScheme as Ja, GeographicTilingScheme as Mh, Rectangle as ft, Cesium3DTileset as Ka, Composite3DTileContent as Cd, HeadingPitchRange as xd, BoundingSphereState as Fo, OpenStreetMapImageryProvider as Od, SingleTileImageryProvider as bd, TileMapServiceImageryProvider as Ed, Event as Go, WebMapServiceImageryProvider as Pd, WebMapTileServiceImageryProvider as Id, EntityCollection as Ld, CzmlDataSource as Td, Plane as Q, ClippingPlaneCollection as Js, ClippingPlane as Ks, ConstantProperty as Nd, Globe as Dd, CoplanarPolygonGeometry as Ad, IntersectionTests as Rd } from "./cesium.4137c8.js";
4
+ import { ol$proj$getTransform as De, ol$proj$get as lu, ol$proj$equivalent as hu, ol$proj$proj4$register as Eo, ol$geom$Circle as wt, ol$geom$GeometryCollection as Sr, ol$style$Style as K, ol$style$Fill as nt, ol$style$Stroke as ze, ol$style$Text as Ua, ol$style$Icon as mi, ol$style$Circle as yi, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as cu, ol$style$Image as th, ol$Feature as oe, ol$Map as uu, ol$interaction$defaults as du, ol$Observable$unByKey as se, ol$View as qa, ol$easing$inAndOut as fu, ol$extent$containsXY as ih, ol$extent$boundingExtent as Us, ol$layer$Vector as sh, ol$extent$getBottomLeft as Wa, ol$geom$SimpleGeometry as gu, ol$geom$Point as Gt, ol$geom$LineString as ei, ol$geom$Polygon as jt, ol$geom$MultiPoint as rh, ol$geom$MultiLineString as nh, ol$geom$MultiPolygon as An, ol$sphere$offset as Xr, ol$geom$Polygon$fromCircle as ah, ol$geom$Polygon$circular as mu, Feature as kt, ol$ImageState as Fr, ol$extent$getBottomRight as oh, ol$extent$getTopRight as lh, ol$extent$getTopLeft as Rn, ol$proj$transform as Ii, ol$source$Vector as qs, ol$tilegrid$createXYZ as hh, ol$proj$Projection as yu, ol$tilegrid$TileGrid as ch, ol$source$TileImage as pu, ol$layer$Tile as gs, ol$extent$containsCoordinate as _u, ol$extent$buffer as uh, ol$extent$getCenter as Ws, ol$geom$Polygon$fromExtent as vu, ol$proj$transformExtent as Po, ol$sphere$getDistance as Su, ol$format$GeoJSON as dh, ol$extent$getWidth as va, ol$source$TileWMS as wu, ol$format$GML2 as Sa, ol$format$WFS as wa, ol$format$GML3 as Ma, ol$extent$createEmpty as Xs, ol$structs$LRUCache as Mu, ol$extent$createOrUpdateFromCoordinate as Cu, ol$render$canvas$Immediate as xu, ol$geom$flat$transform$transform2D as Ou, ol$extent$intersects as bu, ol$geom$SimpleGeometry$transformGeom2D as Eu, ol$transform$scale as Pu, ol$transform$create as Iu, ol$transform$compose as Lu, ol$extent$extend as Ys, ol$source$OSM as Tu, ol$layer$Image as Nu, ol$source$ImageStatic as Du, ol$source$TileDebug as Au, ol$source$XYZ as Ru, ol$source$VectorTile as Fu, ol$TileState as Gu, ol$layer$VectorTile as ku, ol$tilegrid$WMTS as zu, ol$source$WMTS as Hu, ol$format$MVT as ju, ol$interaction$DragPan as Vu, ol$extent$isEmpty as Io, ol$geom$LinearRing as $u } from "./ol.833fa9.js";
5
+ import { Math as E, Cartesian3 as v, Cartographic as ee, Cesium3DTileStyle as an, Cesium3DTileColorBlendMode as Yr, Color as U, VerticalOrigin as ut, Cesium3DTileFeature as Hi, Cesium3DTilePointFeature as ji, Entity as Vi, Material as It, Cartesian2 as k, Matrix3 as W, Quaternion as fh, Primitive as dt, GeometryInstance as at, FrustumGeometry as Bu, ColorGeometryInstanceAttribute as Zs, PerInstanceColorAppearance as cs, FrustumOutlineGeometry as Uu, destroyObject as qu, EasingFunction as Wu, ConditionsExpression as Xu, Expression as Yu, HeightReference as Ee, ClassificationType as as, NearFarScalar as zs, SplitDirection as we, SceneTransforms as Zu, MaterialAppearance as on, ShadowMode as Mr, ClassificationPrimitive as gh, GroundPrimitive as Lo, PolylineMaterialAppearance as Ca, GroundPolylinePrimitive as To, PolygonGeometry as Ju, PolygonOutlineGeometry as Ku, GroundPolylineGeometry as Xa, PolylineGeometry as Li, PolygonHierarchy as xa, CircleGeometry as Qu, CircleOutlineGeometry as ed, HeadingPitchRoll as Ya, Matrix4 as D, Transforms as pi, Model as Za, sampleTerrainMostDetailed as Fn, ModelAnimationLoop as td, CylinderOutlineGeometry as id, CylinderGeometry as mh, EllipsoidOutlineGeometry as sd, EllipsoidGeometry as yh, SphereOutlineGeometry as rd, SphereGeometry as nd, BoxOutlineGeometry as ad, BoxGeometry as ph, WallGeometry as od, WallOutlineGeometry as ld, LabelStyle as Xn, HorizontalOrigin as Yn, CatmullRomSpline as hd, ArcType as ln, PrimitiveCollection as Ni, BillboardCollection as cd, LabelCollection as ud, CesiumTerrainProvider as No, Cartesian4 as Do, sampleTerrain as dd, Ellipsoid as Oa, Clock as fd, DataSourceClock as gd, JulianDate as _h, KeyboardEventModifier as Zn, ScreenSpaceEventType as ai, CesiumWidget as md, DataSourceDisplay as Ao, DataSourceCollection as Ro, RequestScheduler as yd, ScreenSpaceEventHandler as pd, Ray as vh, Camera as _d, ImageryLayer as $i, CustomDataSource as Sh, BoundingSphere as wh, Intersect as vd, BillboardVisualizer as Sd, LabelVisualizer as wd, PointVisualizer as Md, WebMercatorTilingScheme as Ja, GeographicTilingScheme as Mh, Rectangle as ft, Cesium3DTileset as Ka, Composite3DTileContent as Cd, HeadingPitchRange as xd, BoundingSphereState as Fo, OpenStreetMapImageryProvider as Od, SingleTileImageryProvider as bd, TileMapServiceImageryProvider as Ed, Event as Go, WebMapServiceImageryProvider as Pd, WebMapTileServiceImageryProvider as Id, EntityCollection as Ld, CzmlDataSource as Td, Plane as Q, ClippingPlaneCollection as Js, ClippingPlane as Ks, ConstantProperty as Nd, Globe as Dd, CoplanarPolygonGeometry as Ad, IntersectionTests as Rd } from "./cesium.a3a1dc.js";
6
6
  const Is = [
7
7
  [String, "string"],
8
8
  [Number, "number"],
@@ -3926,7 +3926,11 @@ function rc(i) {
3926
3926
  } catch (e) {
3927
3927
  lo().warning(e.message);
3928
3928
  }
3929
- return i.getSrc() && (t.src = i.getSrc()), i.getOpacity() != null && (t.opacity = i.getOpacity()), i.getAnchor() && (t.anchor = i.getAnchor()), t;
3929
+ if (i.getSrc() && (t.src = i.getSrc()), i.getOpacity() != null && (t.opacity = i.getOpacity()), i.getAnchor() && i.getSize()) {
3930
+ const e = i.getAnchor()[0] / i.getSize()[0], s = i.getAnchor()[1] / i.getSize()[1];
3931
+ t.anchor = [e, s];
3932
+ }
3933
+ return t;
3930
3934
  } else if (i instanceof yi) {
3931
3935
  const t = {
3932
3936
  scale: i.getScale()
@@ -5013,7 +5017,7 @@ function xi(i, t, e, s, r, n) {
5013
5017
  if (a[Ra])
5014
5018
  throw new Error("Cannot transform collection, collection already is an OverrideCollection");
5015
5019
  a[Ra] = !0;
5016
- const o = s || ((d) => d), l = e || ((d) => d.toJSON ? d.toJSON() : d), c = n || ((d, f, g) => g);
5020
+ const o = s || ((d) => d), l = e || ((d) => d.toJSON ? d.toJSON() : structuredClone(d)), c = n || ((d, f, g) => g);
5017
5021
  a.shadowMap = /* @__PURE__ */ new Map(), a.override = function(f) {
5018
5022
  let g, m;
5019
5023
  const y = f[a.uniqueKey];
@@ -11253,18 +11257,18 @@ class V extends Si {
11253
11257
  h(this, "_clusterDataSourceDisplay");
11254
11258
  h(this, "_terrainProvider");
11255
11259
  h(this, "defaultTerrainProvider");
11260
+ h(this, "useOriginalCesiumShader");
11256
11261
  h(this, "_cameraLimiter");
11257
11262
  h(this, "_cameraLimiterOptions");
11258
11263
  h(this, "_preUpdateListener");
11259
11264
  h(this, "_clockSyncListener");
11260
11265
  h(this, "_listeners");
11261
11266
  h(this, "_lastEventFrameNumber");
11262
- h(this, "_useOriginalCesiumShader");
11263
11267
  h(this, "_lightIntensity");
11264
11268
  const s = V.getDefaultOptions();
11265
11269
  this._cesiumWidget = null, this.dataSourceDisplay = null, this.dataSourceDisplayClock = new fd({ shouldAnimate: !0 });
11266
11270
  const r = new gd();
11267
- r.currentTime = this.dataSourceDisplayClock.currentTime, this._defaultClock = r, this._dataSourceClocks = [], this.enableLightning = _e(e.enableLightning, s.enableLightning), this.tileCacheSize = re(e.tileCacheSize, s.tileCacheSize), this.screenSpaceEventHandler = null, this._screenSpaceListeners = [], this.defaultJDate = _h.fromDate(new Date(2014, 6, 20, 13, 0, 0, 0)), this.webGLaa = _e(e.webGLaa, s.webGLaa), this._useOriginalCesiumShader = _e(e.useOriginalCesiumShader, s.useOriginalCesiumShader), this.globeColor = U.fromCssColorString(e.globeColor || s.globeColor), this._clusterDataSourceDisplay = null, this._terrainProvider = null, this.defaultTerrainProvider = null, this._cameraLimiter = null, this._cameraLimiterOptions = e.cameraLimiter || s.cameraLimiter, this._preUpdateListener = null, this._clockSyncListener = null, this._listeners = [], this._lastEventFrameNumber = null, this._lightIntensity = A(e.lightIntensity, s.lightIntensity);
11271
+ r.currentTime = this.dataSourceDisplayClock.currentTime, this._defaultClock = r, this._dataSourceClocks = [], this.enableLightning = _e(e.enableLightning, s.enableLightning), this.tileCacheSize = re(e.tileCacheSize, s.tileCacheSize), this.screenSpaceEventHandler = null, this._screenSpaceListeners = [], this.defaultJDate = _h.fromDate(new Date(2014, 6, 20, 13, 0, 0, 0)), this.webGLaa = _e(e.webGLaa, s.webGLaa), this.useOriginalCesiumShader = _e(e.useOriginalCesiumShader, s.useOriginalCesiumShader), this.globeColor = U.fromCssColorString(e.globeColor || s.globeColor), this._clusterDataSourceDisplay = null, this._terrainProvider = null, this.defaultTerrainProvider = null, this._cameraLimiter = null, this._cameraLimiterOptions = e.cameraLimiter || s.cameraLimiter, this._preUpdateListener = null, this._clockSyncListener = null, this._listeners = [], this._lastEventFrameNumber = null, this._lightIntensity = A(e.lightIntensity, s.lightIntensity);
11268
11272
  }
11269
11273
  static get className() {
11270
11274
  return "CesiumMap";
@@ -11401,7 +11405,7 @@ class V extends Si {
11401
11405
  }
11402
11406
  initialize() {
11403
11407
  if (!this.initialized) {
11404
- this._useOriginalCesiumShader ? globalThis.useVcsCustomShading && console.error("Cannot activate Original Cesium Shader, flag to use VCS Shader is already set by another Cesium Map or VCMap Instance") : globalThis.useVcsCustomShading = !0, this._cesiumWidget = new md(this.mapElement, {
11408
+ this.useOriginalCesiumShader ? globalThis.useVcsCustomShading && console.error("Cannot activate Original Cesium Shader, flag to use VCS Shader is already set by another Cesium Map or VCMap Instance") : globalThis.useVcsCustomShading = !0, this._cesiumWidget = new md(this.mapElement, {
11405
11409
  requestRenderMode: !1,
11406
11410
  scene3DOnly: !0,
11407
11411
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -11747,7 +11751,7 @@ class V extends Si {
11747
11751
  }
11748
11752
  toJSON() {
11749
11753
  const e = super.toJSON(), s = V.getDefaultOptions();
11750
- return this.enableLightning !== s.enableLightning && (e.enableLightning = this.enableLightning), this.tileCacheSize !== s.tileCacheSize && (e.tileCacheSize = this.tileCacheSize), this.webGLaa !== s.webGLaa && (e.webGLaa = this.webGLaa), this.globeColor.toCssHexString() !== s.globeColor && (e.globeColor = this.globeColor.toCssHexString()), this._cameraLimiter ? e.cameraLimiter = this._cameraLimiter.toJSON() : this._cameraLimiterOptions && !this.initialized && (e.cameraLimiter = this._cameraLimiterOptions), this._lightIntensity !== s.lightIntensity && (e.lightIntensity = this._lightIntensity), e;
11754
+ return this.enableLightning !== s.enableLightning && (e.enableLightning = this.enableLightning), this.tileCacheSize !== s.tileCacheSize && (e.tileCacheSize = this.tileCacheSize), this.webGLaa !== s.webGLaa && (e.webGLaa = this.webGLaa), this.globeColor.toCssHexString() !== s.globeColor && (e.globeColor = this.globeColor.toCssHexString()), this._cameraLimiter ? e.cameraLimiter = this._cameraLimiter.toJSON() : this._cameraLimiterOptions && !this.initialized && (e.cameraLimiter = this._cameraLimiterOptions), this._lightIntensity !== s.lightIntensity && (e.lightIntensity = this._lightIntensity), this.useOriginalCesiumShader !== s.useOriginalCesiumShader && (e.useOriginalCesiumShader = this.useOriginalCesiumShader), e;
11751
11755
  }
11752
11756
  destroy() {
11753
11757
  this.dataSourceDisplay && !this.dataSourceDisplay.isDestroyed() && this.dataSourceDisplay.destroy(), this._screenSpaceListeners.forEach((e) => {
@@ -12615,7 +12619,8 @@ class $a extends fs {
12615
12619
  return "TileProviderFeatureProvider";
12616
12620
  }
12617
12621
  async getFeaturesByCoordinate(e, s) {
12618
- return (await this.tileProvider.getFeaturesByCoordinate(e, s)).filter((n) => this.vectorProperties.getAllowPicking(n));
12622
+ const r = await this.tileProvider.getFeaturesByCoordinate(e, s), n = (a) => this.style ? !!this.style.cesiumStyle.show.evaluate(a) : !0;
12623
+ return r.filter((a) => this.vectorProperties.getAllowPicking(a) && n(a));
12619
12624
  }
12620
12625
  destroy() {
12621
12626
  this.tileProvider.destroy(), super.destroy();
@@ -15810,6 +15815,7 @@ class pr extends ii {
15810
15815
  this.reload();
15811
15816
  }), this.featureProvider = new $a(this.name, {
15812
15817
  // XXX this overwrites
15818
+ style: this.style,
15813
15819
  tileProvider: this.tileProvider,
15814
15820
  vectorProperties: this.vectorProperties
15815
15821
  })), await super.initialize();
@@ -1 +1 @@
1
- export * from "./core.306872.js";
1
+ export * from "./core.bb64ed.js";
@@ -0,0 +1 @@
1
+ import{initAppFromAppConfig as p}from"./ui.aeb2ec.js";p("#app","app.config.json");
package/dist/assets/ol.js CHANGED
@@ -1 +1 @@
1
- export * from "./ol.328bbf.js";
1
+ export * from "./ol.833fa9.js";