@vcmap/ui 5.0.1 → 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.
- package/config/base.config.json +2 -2
- package/config/www.config.json +1 -1
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.860907.js → core.bb64ed.js} +10 -4
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-661636d9.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.7758a8.css → ui.aeb2ec.css} +1 -1
- package/dist/assets/{ui.7758a8.js → ui.aeb2ec.js} +1105 -1089
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2818ff.js → vuetify.3ed426.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +2 -2
- package/index.html +1 -1
- package/package.json +3 -3
- package/src/actions/actionHelper.js +12 -2
- package/src/manager/collectionManager/CollectionComponent.vue +4 -0
- package/src/manager/collectionManager/CollectionComponentList.vue +28 -9
- package/src/vcsUiApp.js +1 -1
- package/dist/assets/index-f265c560.js +0 -1
- /package/dist/assets/{cesium.888ef7.js → cesium.a3a1dc.js} +0 -0
- /package/dist/assets/{ol.5e8a90.js → ol.833fa9.js} +0 -0
- /package/dist/assets/{vue.9771b3.js → vue.8e1850.js} +0 -0
- /package/dist/assets/{vuetify.2818ff.css → vuetify.3ed426.css} +0 -0
package/config/base.config.json
CHANGED
@@ -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"
|
@@ -543,8 +544,7 @@
|
|
543
544
|
"name": "Oblique Map",
|
544
545
|
"showObliqueImageName": true,
|
545
546
|
"obliqueImageNameTemplate": "Oblique Image Name : {0}",
|
546
|
-
"type": "ObliqueMap"
|
547
|
-
"defaultCollectionName": "Schrägluftbilder WAB"
|
547
|
+
"type": "ObliqueMap"
|
548
548
|
}
|
549
549
|
],
|
550
550
|
"layers": [
|
package/config/www.config.json
CHANGED
@@ -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"
|
@@ -424,7 +425,6 @@
|
|
424
425
|
{
|
425
426
|
"type": "ObliqueMap",
|
426
427
|
"name": "Oblique Map",
|
427
|
-
"defaultCollectionName": "Schrägluftbilder 2020",
|
428
428
|
"properties": {
|
429
429
|
"attributions": [
|
430
430
|
{
|
package/dist/assets/cesium.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./cesium.
|
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.
|
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.
|
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
|
-
|
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()
|
@@ -12615,7 +12619,8 @@ class $a extends fs {
|
|
12615
12619
|
return "TileProviderFeatureProvider";
|
12616
12620
|
}
|
12617
12621
|
async getFeaturesByCoordinate(e, s) {
|
12618
|
-
|
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();
|
package/dist/assets/core.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./core.
|
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.
|
1
|
+
export * from "./ol.833fa9.js";
|