@vcmap/ui 6.1.0 → 6.1.1
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/bundle.js +3 -3
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core-841b71a4.js → core-5ae90f6d.js} +351 -346
- package/dist/assets/core.js +1 -1
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui-2fd6f47d.css → ui-e659989f.css} +1 -1
- package/dist/assets/{ui-2fd6f47d.js → ui-e659989f.js} +5065 -4996
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +1 -1
- package/dist/assets/{vuetify-4bc77ff7.js → vuetify-cc6a8213.js} +1 -1
- package/dist/assets/vuetify.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -0
- package/package.json +14 -6
- package/plugins/package.json +3 -1
- package/src/actions/actionHelper.js +8 -2
- package/src/actions/deepPickingAction.js +6 -1
- package/src/actions/extentActions.js +20 -6
- package/src/actions/flightActions.js +5 -1
- package/src/application/VcsApp.vue +30 -21
- package/src/callback/activateLayersCallback.js +9 -1
- package/src/callback/addModuleCallback.js +2 -1
- package/src/components/lists/VcsTreeview.vue +10 -1
- package/src/contentTree/layerGroupContentTreeItem.js +11 -1
- package/src/contentTree/wmsChildContentTreeItem.d.ts +1 -1
- package/src/contentTree/wmsChildContentTreeItem.js +2 -2
- package/src/contentTree/wmsGroupContentTreeItem.d.ts +5 -5
- package/src/contentTree/wmsGroupContentTreeItem.js +12 -11
- package/src/featureInfo/featureInfo.js +3 -1
- package/src/legend/legendHelper.d.ts +15 -0
- package/src/legend/legendHelper.js +28 -3
- package/src/manager/window/windowManager.js +5 -6
- package/src/navigation/overviewMap.js +1 -1
- package/src/search/ResultsComponent.vue +10 -1
- package/src/search/SearchComponent.vue +11 -6
- package/src/vcsUiApp.js +7 -1
- /package/dist/assets/{cesium-664ad022.js → cesium-be8a1422.js} +0 -0
- /package/dist/assets/{ol-2e095c08.js → ol-d5f8aba6.js} +0 -0
- /package/dist/assets/{vue-71fd14e8.js → vue-3435e55b.js} +0 -0
- /package/dist/assets/{vuetify-4bc77ff7.css → vuetify-cc6a8213.css} +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
var am = Object.defineProperty;
|
2
2
|
var om = (i, t, e) => t in i ? am(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
3
3
|
var h = (i, t, e) => om(i, typeof t != "symbol" ? t + "" : t, e);
|
4
|
-
import { ol$proj$getTransform as Xe, ol$proj$get as lm, ol$proj$equivalent as hm, ol$proj$proj4$register as vc, ol$sphere$getDistance as pd, ol$geom$Circle as Ft, ol$geom$GeometryCollection as us, ol$style$Style as Q, ol$style$Fill as lt, ol$style$Stroke as Ye, ol$style$Text as Wn, ol$style$Icon as ii, ol$style$Circle as rs, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as cm, ol$style$Image as yd, ol$Feature as he, ol$extent$containsCoordinate as qa, ol$Map as um, ol$interaction$defaults as dm, ol$Observable$unByKey as me, ol$View as Eh, ol$easing$inAndOut as fm, ol$extent$containsXY as _d, ol$extent$boundingExtent as un, ol$layer$Vector as Vo, ol$geom$SimpleGeometry as gm, ol$geom$Point as
|
5
|
-
import { Cartesian3 as _, Math as x, Cartographic as ee, Cesium3DTileStyle as Wa, Cesium3DTileColorBlendMode as Ra, Color as X, TrustedServers as Mi, VerticalOrigin as zt, Cesium3DTileFeature as ds, Cesium3DTilePointFeature as fs, Entity as gs, Material as jt, Cartesian2 as H, ClippingPolygon as Ph, Rectangle as dt, defined as bc, ClippingPolygonCollection as Td, Matrix3 as se, Quaternion as Ya, Primitive as At, GeometryInstance as st, FrustumGeometry as qm, ColorGeometryInstanceAttribute as fn, PerInstanceColorAppearance as dr, FrustumOutlineGeometry as Wm, destroyObject as Ym, EasingFunction as Xm, ConditionsExpression as Zm, Expression as Jm, HeightReference as Z, ClassificationType as xs, NearFarScalar as Qr, SplitDirection as Oe, sampleTerrainMostDetailed as br, PolygonOutlineGeometry as Km, GroundPolylineGeometry as Lh, PolylineGeometry as Es, PolygonHierarchy as Kl, PolygonGeometry as Qm, CircleOutlineGeometry as ep, CircleGeometry as tp, HeadingPitchRoll as Vi, Matrix4 as G, Transforms as zi, Model as Ih, MaterialAppearance as Xa, ModelAnimationLoop as ip, CylinderOutlineGeometry as sp, CylinderGeometry as Ad, EllipsoidOutlineGeometry as rp, EllipsoidGeometry as
|
4
|
+
import { ol$proj$getTransform as Xe, ol$proj$get as lm, ol$proj$equivalent as hm, ol$proj$proj4$register as vc, ol$sphere$getDistance as pd, ol$geom$Circle as Ft, ol$geom$GeometryCollection as us, ol$style$Style as Q, ol$style$Fill as lt, ol$style$Stroke as Ye, ol$style$Text as Wn, ol$style$Icon as ii, ol$style$Circle as rs, ol$style$RegularShape as wr, ol$has$DEVICE_PIXEL_RATIO as cm, ol$style$Image as yd, ol$Feature as he, ol$extent$containsCoordinate as qa, ol$Map as um, ol$interaction$defaults as dm, ol$Observable$unByKey as me, ol$View as Eh, ol$easing$inAndOut as fm, ol$extent$containsXY as _d, ol$extent$boundingExtent as un, ol$layer$Vector as Vo, ol$geom$SimpleGeometry as gm, ol$geom$Point as De, ol$geom$LineString as St, ol$geom$Polygon as Ze, ol$geom$MultiPoint as zo, ol$geom$MultiLineString as Yn, ol$geom$MultiPolygon as Ps, ol$sphere$offset as Na, ol$geom$Polygon$fromCircle as vd, ol$geom$Polygon$circular as mm, ol$colorlike$asColorLike as pm, ol$ImageState as _a, Feature as Ge, ol$extent$getBottomLeft as Oh, ol$extent$getBottomRight as wd, ol$extent$getTopRight as Sd, ol$extent$getTopLeft as Bo, ol$proj$transform as Ms, ol$source$Vector as cr, ol$tilegrid$createXYZ as bd, ol$TileState as Cd, ol$proj$Projection as ym, ol$tilegrid$TileGrid as Md, ol$source$TileImage as _m, ol$layer$Tile as Sr, ol$extent$buffer as xd, ol$extent$getCenter as Ls, ol$geom$Polygon$fromExtent as Ed, ol$proj$transformExtent as wc, ol$format$GeoJSON as Od, ol$extent$getWidth as Wl, ol$source$TileWMS as vm, ol$source$ImageWMS as wm, ol$format$GML2 as Yl, ol$format$WFS as Xl, ol$format$GML3 as Zl, ol$extent$createEmpty as ur, ol$structs$LRUCache as Sm, ol$extent$createOrUpdateFromCoordinate as bm, ol$render$canvas$Immediate as Cm, ol$geom$flat$transform$transform2D as Mm, ol$extent$intersects as Pd, ol$geom$SimpleGeometry$transformGeom2D as xm, ol$transform$scale as Em, ol$transform$create as Om, ol$transform$compose as Pm, ol$extent$extend as dn, ol$source$OSM as Lm, ol$layer$Image as Ld, ol$source$ImageStatic as Im, ol$source$TileDebug as Tm, ol$source$XYZ as Am, ol$source$VectorTile as Dm, ol$layer$VectorTile as Nm, ol$tilegrid$WMTS as Rm, ol$source$WMTS as Fm, ol$format$MVT as Gm, ol$expr$cpu$buildExpression as km, ol$expr$expression$newParsingContext as Vm, ol$expr$cpu$newEvaluationContext as zm, ol$expr$expression$BooleanType as Id, ol$expr$expression$StringType as Sc, ol$expr$expression$NoneType as Bm, ol$source$Cluster as Hm, ol$coordinate$equals as jm, ol$interaction$DragPan as $m, ol$extent$isEmpty as Jl, ol$geom$LinearRing as Um } from "./ol-d5f8aba6.js";
|
5
|
+
import { Cartesian3 as _, Math as x, Cartographic as ee, Cesium3DTileStyle as Wa, Cesium3DTileColorBlendMode as Ra, Color as X, TrustedServers as Mi, VerticalOrigin as zt, Cesium3DTileFeature as ds, Cesium3DTilePointFeature as fs, Entity as gs, Material as jt, Cartesian2 as H, ClippingPolygon as Ph, Rectangle as dt, defined as bc, ClippingPolygonCollection as Td, Matrix3 as se, Quaternion as Ya, Primitive as At, GeometryInstance as st, FrustumGeometry as qm, ColorGeometryInstanceAttribute as fn, PerInstanceColorAppearance as dr, FrustumOutlineGeometry as Wm, destroyObject as Ym, EasingFunction as Xm, ConditionsExpression as Zm, Expression as Jm, HeightReference as Z, ClassificationType as xs, NearFarScalar as Qr, SplitDirection as Oe, sampleTerrainMostDetailed as br, PolygonOutlineGeometry as Km, GroundPolylineGeometry as Lh, PolylineGeometry as Es, PolygonHierarchy as Kl, PolygonGeometry as Qm, CircleOutlineGeometry as ep, CircleGeometry as tp, HeadingPitchRoll as Vi, Matrix4 as G, Transforms as zi, Model as Ih, MaterialAppearance as Xa, ModelAnimationLoop as ip, CylinderOutlineGeometry as sp, CylinderGeometry as Ad, EllipsoidOutlineGeometry as rp, EllipsoidGeometry as Dd, SphereOutlineGeometry as np, SphereGeometry as ap, BoxOutlineGeometry as op, BoxGeometry as Th, LabelStyle as al, HorizontalOrigin as ol, WallGeometry as lp, WallOutlineGeometry as hp, ArcType as Za, CatmullRomSpline as Nd, ClassificationPrimitive as Ho, SceneTransforms as cp, ShadowMode as jo, GroundPrimitive as Rd, PolylineMaterialAppearance as Ja, GroundPolylinePrimitive as Fd, PrimitiveCollection as si, BillboardCollection as up, LabelCollection as dp, Billboard as Gd, Resource as fp, CesiumTerrainProvider as Cc, Cartesian4 as Mc, sampleTerrain as gp, Ellipsoid as Ql, Clock as mp, DataSourceClock as pp, JulianDate as kd, KeyboardEventModifier as ll, ScreenSpaceEventType as Xi, CesiumWidget as yp, DataSourceDisplay as xc, DataSourceCollection as Ec, RequestScheduler as _p, ScreenSpaceEventHandler as vp, Ray as Vd, Camera as Ah, ImageryLayer as Vs, CustomDataSource as Dh, BoundingSphere as zd, Intersect as Fa, BillboardVisualizer as wp, LabelVisualizer as Sp, PointVisualizer as bp, WebMercatorTilingScheme as Nh, GeographicTilingScheme as Bd, Cesium3DTileset as Is, Composite3DTileContent as Cp, HeadingPitchRange as Mp, BoundingSphereState as Oc, OpenStreetMapImageryProvider as xp, SingleTileImageryProvider as Ep, TileMapServiceImageryProvider as Op, Event as eh, WebMapServiceImageryProvider as Pp, WebMapTileServiceImageryProvider as Lp, TileBoundingRegion as Ip, QuadtreeTileProvider as Tp, QuadtreeTileLoadState as va, Visibility as Tr, EntityCollection as Ap, CzmlDataSource as Dp, QuadtreePrimitive as Np, Plane as ge, ClippingPlaneCollection as gn, ClippingPlane as mn, ConstantProperty as Rp, Globe as Fp, PerspectiveFrustum as Gp, LinearSpline as kp, QuaternionSpline as Vp, IntersectionTests as zp, Matrix2 as Pc, CoplanarPolygonGeometry as Bp } from "./cesium-be8a1422.js";
|
6
6
|
const zs = Symbol("isMatcher"), Hp = Symbol("Integer"), jp = Symbol("NonEmptyString"), Rh = /* @__PURE__ */ new Map();
|
7
7
|
[
|
8
8
|
[String, "string"],
|
@@ -192,7 +192,7 @@ function Jp(i) {
|
|
192
192
|
i("EPSG:" + (32600 + t), "+proj=utm +zone=" + t + " +datum=WGS84 +units=m"), i("EPSG:" + (32700 + t), "+proj=utm +zone=" + t + " +south +datum=WGS84 +units=m");
|
193
193
|
i.WGS84 = i["EPSG:4326"], i["EPSG:3785"] = i["EPSG:3857"], i.GOOGLE = i["EPSG:3857"], i["EPSG:900913"] = i["EPSG:3857"], i["EPSG:102113"] = i["EPSG:3857"];
|
194
194
|
}
|
195
|
-
var Ts = 1, As = 2, or = 3, Kp = 4, ih = 5, Ic = 6378137, Qp = 6356752314e-3, Tc = 0.0066943799901413165, en = 484813681109536e-20, I = Math.PI / 2, ey = 0.16666666666666666, ty = 0.04722222222222222, iy = 0.022156084656084655,
|
195
|
+
var Ts = 1, As = 2, or = 3, Kp = 4, ih = 5, Ic = 6378137, Qp = 6356752314e-3, Tc = 0.0066943799901413165, en = 484813681109536e-20, I = Math.PI / 2, ey = 0.16666666666666666, ty = 0.04722222222222222, iy = 0.022156084656084655, N = 1e-10, et = 0.017453292519943295, mi = 57.29577951308232, ce = Math.PI / 4, yn = Math.PI * 2, Ie = 3.14159265359, Gt = {};
|
196
196
|
Gt.greenwich = 0;
|
197
197
|
Gt.lisbon = -9.131906111111;
|
198
198
|
Gt.paris = 2.337229166667;
|
@@ -697,7 +697,7 @@ function wy(i) {
|
|
697
697
|
} else
|
698
698
|
return i;
|
699
699
|
}
|
700
|
-
function
|
700
|
+
function Dc(i, t) {
|
701
701
|
i = i || {};
|
702
702
|
var e, s;
|
703
703
|
if (!t)
|
@@ -735,7 +735,7 @@ function by(i) {
|
|
735
735
|
if (e * mi > 90 && e * mi < -90 && t * mi > 180 && t * mi < -180)
|
736
736
|
return null;
|
737
737
|
var s, r;
|
738
|
-
if (Math.abs(Math.abs(e) - I) <=
|
738
|
+
if (Math.abs(Math.abs(e) - I) <= N)
|
739
739
|
return null;
|
740
740
|
if (this.sphere)
|
741
741
|
s = this.x0 + this.a * this.k0 * R(t - this.long0), r = this.y0 + this.a * this.k0 * Math.log(Math.tan(ce + 0.5 * e));
|
@@ -765,14 +765,14 @@ const xy = {
|
|
765
765
|
};
|
766
766
|
function Ey() {
|
767
767
|
}
|
768
|
-
function
|
768
|
+
function Nc(i) {
|
769
769
|
return i;
|
770
770
|
}
|
771
771
|
var Oy = ["longlat", "identity"];
|
772
772
|
const Py = {
|
773
773
|
init: Ey,
|
774
|
-
forward:
|
775
|
-
inverse:
|
774
|
+
forward: Nc,
|
775
|
+
inverse: Nc,
|
776
776
|
names: Oy
|
777
777
|
};
|
778
778
|
var Ly = [xy, Py], Ga = {}, eo = [];
|
@@ -1009,7 +1009,7 @@ W.WGS7 = {
|
|
1009
1009
|
rf: 298.26,
|
1010
1010
|
ellipseName: "WGS 72"
|
1011
1011
|
};
|
1012
|
-
var
|
1012
|
+
var Dy = W.WGS84 = {
|
1013
1013
|
a: 6378137,
|
1014
1014
|
rf: 298.257223563,
|
1015
1015
|
ellipseName: "WGS 84"
|
@@ -1019,7 +1019,7 @@ W.sphere = {
|
|
1019
1019
|
b: 6370997,
|
1020
1020
|
ellipseName: "Normal Sphere (r=6370997)"
|
1021
1021
|
};
|
1022
|
-
function
|
1022
|
+
function Ny(i, t, e, s) {
|
1023
1023
|
var r = i * i, n = t * t, a = (r - n) / r, o = 0;
|
1024
1024
|
s ? (i *= 1 - a * (ey + a * (ty + a * iy)), r = i * i, a = 0) : o = Math.sqrt(a);
|
1025
1025
|
var l = (r - n) / n;
|
@@ -1032,9 +1032,9 @@ function Dy(i, t, e, s) {
|
|
1032
1032
|
function Ry(i, t, e, s, r) {
|
1033
1033
|
if (!i) {
|
1034
1034
|
var n = ns(W, s);
|
1035
|
-
n || (n =
|
1035
|
+
n || (n = Dy), i = n.a, t = n.b, e = n.rf;
|
1036
1036
|
}
|
1037
|
-
return e && !t && (t = (1 - 1 / e) * i), (e === 0 || Math.abs(i - t) <
|
1037
|
+
return e && !t && (t = (1 - 1 / e) * i), (e === 0 || Math.abs(i - t) < N) && (r = !0, t = i), {
|
1038
1038
|
a: i,
|
1039
1039
|
b: t,
|
1040
1040
|
rf: e,
|
@@ -1254,7 +1254,7 @@ function pi(i, t) {
|
|
1254
1254
|
r && (e.datum_params = e.datum_params || (r.towgs84 ? r.towgs84.split(",") : null), e.ellps = r.ellipse, e.datumName = r.datumName ? r.datumName : e.datumCode);
|
1255
1255
|
}
|
1256
1256
|
e.k0 = e.k0 || 1, e.axis = e.axis || "enu", e.ellps = e.ellps || "wgs84", e.lat1 = e.lat1 || e.lat0;
|
1257
|
-
var n = Ry(e.a, e.b, e.rf, e.ellps, e.sphere), a =
|
1257
|
+
var n = Ry(e.a, e.b, e.rf, e.ellps, e.sphere), a = Ny(n.a, n.b, n.rf, e.R_A), o = Vy(e.nadgrids), l = e.datum || Gy(
|
1258
1258
|
e.datumCode,
|
1259
1259
|
e.datum_params,
|
1260
1260
|
n.a,
|
@@ -1263,7 +1263,7 @@ function pi(i, t) {
|
|
1263
1263
|
a.ep2,
|
1264
1264
|
o
|
1265
1265
|
);
|
1266
|
-
|
1266
|
+
Dc(this, e), Dc(this, s), this.a = n.a, this.b = n.b, this.rf = n.rf, this.sphere = n.sphere, this.es = a.es, this.e = a.e, this.ep2 = a.ep2, this.datum = l, this.init(), t(null, this);
|
1267
1267
|
}
|
1268
1268
|
pi.projections = Ay;
|
1269
1269
|
pi.projections.start();
|
@@ -1289,8 +1289,8 @@ function Jd(i, t, e) {
|
|
1289
1289
|
};
|
1290
1290
|
}
|
1291
1291
|
function Kd(i, t, e, s) {
|
1292
|
-
var r = 1e-12, n = r * r, a = 30, o, l, c, u, d, f, g, m, p, y, v, S, b,
|
1293
|
-
if (o = Math.sqrt(
|
1292
|
+
var r = 1e-12, n = r * r, a = 30, o, l, c, u, d, f, g, m, p, y, v, S, b, D = i.x, C = i.y, M = i.z ? i.z : 0, E, O, F;
|
1293
|
+
if (o = Math.sqrt(D * D + C * C), l = Math.sqrt(D * D + C * C + M * M), o / e < r) {
|
1294
1294
|
if (E = 0, l / e < r)
|
1295
1295
|
return O = I, F = -s, {
|
1296
1296
|
x: i.x,
|
@@ -1298,7 +1298,7 @@ function Kd(i, t, e, s) {
|
|
1298
1298
|
z: i.z
|
1299
1299
|
};
|
1300
1300
|
} else
|
1301
|
-
E = Math.atan2(C,
|
1301
|
+
E = Math.atan2(C, D);
|
1302
1302
|
c = M / l, u = o / l, d = 1 / Math.sqrt(1 - t * (2 - t) * u * u), m = u * (1 - t) * d, p = c * d, b = 0;
|
1303
1303
|
do
|
1304
1304
|
b++, g = e / Math.sqrt(1 - t * p * p), F = o * m + M * p - g * (1 - t * p * p), f = t * g / (g + F), d = 1 / Math.sqrt(1 - f * (2 - f) * u * u), y = u * (1 - f) * d, v = c * d, S = v * m - y * p, m = y, p = v;
|
@@ -1582,8 +1582,8 @@ function Gh(i) {
|
|
1582
1582
|
var t = i.northing, e = i.easting, s = i.zoneLetter, r = i.zoneNumber;
|
1583
1583
|
if (r < 0 || r > 60)
|
1584
1584
|
return null;
|
1585
|
-
var n = 0.9996, a = 6378137, o = 669438e-8, l, c = (1 - Math.sqrt(1 - o)) / (1 + Math.sqrt(1 - o)), u, d, f, g, m, p, y, v, S, b = e - 5e5,
|
1586
|
-
s < "N" && (
|
1585
|
+
var n = 0.9996, a = 6378137, o = 669438e-8, l, c = (1 - Math.sqrt(1 - o)) / (1 + Math.sqrt(1 - o)), u, d, f, g, m, p, y, v, S, b = e - 5e5, D = t;
|
1586
|
+
s < "N" && (D -= 1e7), y = (r - 1) * 6 - 180 + 3, l = o / (1 - o), p = D / n, v = p / (a * (1 - o / 4 - 3 * o * o / 64 - 5 * o * o * o / 256)), S = v + (3 * c / 2 - 27 * c * c * c / 32) * Math.sin(2 * v) + (21 * c * c / 16 - 55 * c * c * c * c / 32) * Math.sin(4 * v) + 151 * c * c * c / 96 * Math.sin(6 * v), u = a / Math.sqrt(1 - o * Math.sin(S) * Math.sin(S)), d = Math.tan(S) * Math.tan(S), f = l * Math.cos(S) * Math.cos(S), g = a * (1 - o) / Math.pow(1 - o * Math.sin(S) * Math.sin(S), 1.5), m = b / (u * n);
|
1587
1587
|
var C = S - u * Math.tan(S) / g * (m * m / 2 - (5 + 3 * d + 10 * f - 4 * f * f - 9 * l) * m * m * m * m / 24 + (61 + 90 * d + 298 * f + 45 * d * d - 252 * l - 3 * f * f) * m * m * m * m * m * m / 720);
|
1588
1588
|
C = jc(C);
|
1589
1589
|
var M = (m - (1 + 2 * d + f) * m * m * m / 6 + (5 - 2 * f + 28 * d - 3 * f * f + 8 * l + 24 * d * d) * m * m * m * m * m / 120) / Math.cos(S);
|
@@ -1791,7 +1791,7 @@ var v_ = 20;
|
|
1791
1791
|
function Vh(i, t, e) {
|
1792
1792
|
for (var s = 1 / (1 - t), r = i, n = v_; n; --n) {
|
1793
1793
|
var a = Math.sin(r), o = 1 - t * a * a;
|
1794
|
-
if (o = (Mr(r, a, Math.cos(r), e) - i) * (o * Math.sqrt(o)) * s, r -= o, Math.abs(o) <
|
1794
|
+
if (o = (Mr(r, a, Math.cos(r), e) - i) * (o * Math.sqrt(o)) * s, r -= o, Math.abs(o) < N)
|
1795
1795
|
return r;
|
1796
1796
|
}
|
1797
1797
|
return r;
|
@@ -1802,16 +1802,16 @@ function w_() {
|
|
1802
1802
|
function S_(i) {
|
1803
1803
|
var t = i.x, e = i.y, s = R(t - this.long0), r, n, a, o = Math.sin(e), l = Math.cos(e);
|
1804
1804
|
if (this.es) {
|
1805
|
-
var u = l * s, d = Math.pow(u, 2), f = this.ep2 * Math.pow(l, 2), g = Math.pow(f, 2), m = Math.abs(l) >
|
1805
|
+
var u = l * s, d = Math.pow(u, 2), f = this.ep2 * Math.pow(l, 2), g = Math.pow(f, 2), m = Math.abs(l) > N ? Math.tan(e) : 0, p = Math.pow(m, 2), y = Math.pow(p, 2);
|
1806
1806
|
r = 1 - this.es * Math.pow(o, 2), u = u / Math.sqrt(r);
|
1807
1807
|
var v = Mr(e, o, l, this.en);
|
1808
1808
|
n = this.a * (this.k0 * u * (1 + d / 6 * (1 - p + f + d / 20 * (5 - 18 * p + y + 14 * f - 58 * p * f + d / 42 * (61 + 179 * y - y * p - 479 * p))))) + this.x0, a = this.a * (this.k0 * (v - this.ml0 + o * s * u / 2 * (1 + d / 12 * (5 - p + 9 * f + 4 * g + d / 30 * (61 + y - 58 * p + 270 * f - 330 * p * f + d / 56 * (1385 + 543 * y - y * p - 3111 * p)))))) + this.y0;
|
1809
1809
|
} else {
|
1810
1810
|
var c = l * Math.sin(s);
|
1811
|
-
if (Math.abs(Math.abs(c) - 1) <
|
1811
|
+
if (Math.abs(Math.abs(c) - 1) < N)
|
1812
1812
|
return 93;
|
1813
1813
|
if (n = 0.5 * this.a * this.k0 * Math.log((1 + c) / (1 - c)) + this.x0, a = l * Math.cos(s) / Math.sqrt(1 - Math.pow(c, 2)), c = Math.abs(a), c >= 1) {
|
1814
|
-
if (c - 1 >
|
1814
|
+
if (c - 1 > N)
|
1815
1815
|
return 93;
|
1816
1816
|
a = 0;
|
1817
1817
|
} else
|
@@ -1824,7 +1824,7 @@ function b_(i) {
|
|
1824
1824
|
var t, e, s, r, n = (i.x - this.x0) * (1 / this.a), a = (i.y - this.y0) * (1 / this.a);
|
1825
1825
|
if (this.es)
|
1826
1826
|
if (t = this.ml0 + a / this.k0, e = Vh(t, this.es, this.en), Math.abs(e) < I) {
|
1827
|
-
var d = Math.sin(e), f = Math.cos(e), g = Math.abs(f) >
|
1827
|
+
var d = Math.sin(e), f = Math.cos(e), g = Math.abs(f) > N ? Math.tan(e) : 0, m = this.ep2 * Math.pow(f, 2), p = Math.pow(m, 2), y = Math.pow(g, 2), v = Math.pow(y, 2);
|
1828
1828
|
t = 1 - this.es * Math.pow(d, 2);
|
1829
1829
|
var S = n * Math.sqrt(t) / this.k0, b = Math.pow(S, 2);
|
1830
1830
|
t = t * g, s = e - t * b / (1 - this.es) * 0.5 * (1 - b / 12 * (5 + 3 * y - 9 * m * y + m - 4 * p - b / 30 * (61 + 90 * y - 252 * m * y + 45 * v + 46 * m - b / 56 * (1385 + 3633 * y + 4095 * v + 1574 * v * y)))), r = R(this.long0 + S * (1 - b / 6 * (1 + 2 * y + m - b / 20 * (5 + 28 * y + 24 * v + 8 * m * y + 6 * m - b / 42 * (61 + 662 * y + 1320 * v + 720 * v * y)))) / f);
|
@@ -1927,8 +1927,8 @@ function A_(i, t) {
|
|
1927
1927
|
}
|
1928
1928
|
return i;
|
1929
1929
|
}
|
1930
|
-
var
|
1931
|
-
function
|
1930
|
+
var D_ = "etmerc";
|
1931
|
+
function N_() {
|
1932
1932
|
var i = A_(this.zone, this.long0);
|
1933
1933
|
if (i === void 0)
|
1934
1934
|
throw new Error("unknown utm zone");
|
@@ -1936,9 +1936,9 @@ function D_() {
|
|
1936
1936
|
}
|
1937
1937
|
var R_ = ["Universal Transverse Mercator System", "utm"];
|
1938
1938
|
const F_ = {
|
1939
|
-
init:
|
1939
|
+
init: N_,
|
1940
1940
|
names: R_,
|
1941
|
-
dependsOn:
|
1941
|
+
dependsOn: D_
|
1942
1942
|
};
|
1943
1943
|
function Bh(i, t) {
|
1944
1944
|
return Math.pow((1 - i) / (1 + i), t);
|
@@ -1991,24 +1991,24 @@ function W_(i, t, e) {
|
|
1991
1991
|
return t *= e, Math.tan(0.5 * (I + i)) * Math.pow((1 - t) / (1 + t), 0.5 * e);
|
1992
1992
|
}
|
1993
1993
|
function Y_() {
|
1994
|
-
this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, this.lat0 = this.lat0 || 0, this.long0 = this.long0 || 0, this.coslat0 = Math.cos(this.lat0), this.sinlat0 = Math.sin(this.lat0), this.sphere ? this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <=
|
1994
|
+
this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, this.lat0 = this.lat0 || 0, this.long0 = this.long0 || 0, this.coslat0 = Math.cos(this.lat0), this.sinlat0 = Math.sin(this.lat0), this.sphere ? this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= N && (this.k0 = 0.5 * (1 + Xn(this.lat0) * Math.sin(this.lat_ts))) : (Math.abs(this.coslat0) <= N && (this.lat0 > 0 ? this.con = 1 : this.con = -1), this.cons = Math.sqrt(Math.pow(1 + this.e, 1 + this.e) * Math.pow(1 - this.e, 1 - this.e)), this.k0 === 1 && !isNaN(this.lat_ts) && Math.abs(this.coslat0) <= N && Math.abs(Math.cos(this.lat_ts)) > N && (this.k0 = 0.5 * this.cons * _i(this.e, Math.sin(this.lat_ts), Math.cos(this.lat_ts)) / ti(this.e, this.con * this.lat_ts, this.con * Math.sin(this.lat_ts))), this.ms1 = _i(this.e, this.sinlat0, this.coslat0), this.X0 = 2 * Math.atan(this.ssfn_(this.lat0, this.sinlat0, this.e)) - I, this.cosX0 = Math.cos(this.X0), this.sinX0 = Math.sin(this.X0));
|
1995
1995
|
}
|
1996
1996
|
function X_(i) {
|
1997
1997
|
var t = i.x, e = i.y, s = Math.sin(e), r = Math.cos(e), n, a, o, l, c, u, d = R(t - this.long0);
|
1998
|
-
return Math.abs(Math.abs(t - this.long0) - Math.PI) <=
|
1998
|
+
return Math.abs(Math.abs(t - this.long0) - Math.PI) <= N && Math.abs(e + this.lat0) <= N ? (i.x = NaN, i.y = NaN, i) : this.sphere ? (n = 2 * this.k0 / (1 + this.sinlat0 * s + this.coslat0 * r * Math.cos(d)), i.x = this.a * n * r * Math.sin(d) + this.x0, i.y = this.a * n * (this.coslat0 * s - this.sinlat0 * r * Math.cos(d)) + this.y0, i) : (a = 2 * Math.atan(this.ssfn_(e, s, this.e)) - I, l = Math.cos(a), o = Math.sin(a), Math.abs(this.coslat0) <= N ? (c = ti(this.e, e * this.con, this.con * s), u = 2 * this.a * this.k0 * c / this.cons, i.x = this.x0 + u * Math.sin(t - this.long0), i.y = this.y0 - this.con * u * Math.cos(t - this.long0), i) : (Math.abs(this.sinlat0) < N ? (n = 2 * this.a * this.k0 / (1 + l * Math.cos(d)), i.y = n * o) : (n = 2 * this.a * this.k0 * this.ms1 / (this.cosX0 * (1 + this.sinX0 * o + this.cosX0 * l * Math.cos(d))), i.y = n * (this.cosX0 * o - this.sinX0 * l * Math.cos(d)) + this.y0), i.x = n * l * Math.sin(d) + this.x0, i));
|
1999
1999
|
}
|
2000
2000
|
function Z_(i) {
|
2001
2001
|
i.x -= this.x0, i.y -= this.y0;
|
2002
2002
|
var t, e, s, r, n, a = Math.sqrt(i.x * i.x + i.y * i.y);
|
2003
2003
|
if (this.sphere) {
|
2004
2004
|
var o = 2 * Math.atan(a / (2 * this.a * this.k0));
|
2005
|
-
return t = this.long0, e = this.lat0, a <=
|
2006
|
-
} else if (Math.abs(this.coslat0) <=
|
2007
|
-
if (a <=
|
2005
|
+
return t = this.long0, e = this.lat0, a <= N ? (i.x = t, i.y = e, i) : (e = Math.asin(Math.cos(o) * this.sinlat0 + i.y * Math.sin(o) * this.coslat0 / a), Math.abs(this.coslat0) < N ? this.lat0 > 0 ? t = R(this.long0 + Math.atan2(i.x, -1 * i.y)) : t = R(this.long0 + Math.atan2(i.x, i.y)) : t = R(this.long0 + Math.atan2(i.x * Math.sin(o), a * this.coslat0 * Math.cos(o) - i.y * this.sinlat0 * Math.sin(o))), i.x = t, i.y = e, i);
|
2006
|
+
} else if (Math.abs(this.coslat0) <= N) {
|
2007
|
+
if (a <= N)
|
2008
2008
|
return e = this.lat0, t = this.long0, i.x = t, i.y = e, i;
|
2009
2009
|
i.x *= this.con, i.y *= this.con, s = a * this.cons / (2 * this.a * this.k0), e = this.con * vn(this.e, s), t = this.con * R(this.con * this.long0 + Math.atan2(i.x, -1 * i.y));
|
2010
2010
|
} else
|
2011
|
-
r = 2 * Math.atan(a * this.cosX0 / (2 * this.a * this.k0 * this.ms1)), t = this.long0, a <=
|
2011
|
+
r = 2 * Math.atan(a * this.cosX0 / (2 * this.a * this.k0 * this.ms1)), t = this.long0, a <= N ? n = this.X0 : (n = Math.asin(Math.cos(r) * this.sinX0 + i.y * Math.sin(r) * this.cosX0 / a), t = R(this.long0 + Math.atan2(i.x * Math.sin(r), a * this.cosX0 * Math.cos(r) - i.y * this.sinX0 * Math.sin(r)))), e = -1 * vn(this.e, Math.tan(0.5 * (I + n)));
|
2012
2012
|
return i.x = t, i.y = e, i;
|
2013
2013
|
}
|
2014
2014
|
var J_ = ["stere", "Stereographic_South_Pole", "Polar Stereographic (variant B)", "Polar_Stereographic"];
|
@@ -2061,13 +2061,13 @@ function nv() {
|
|
2061
2061
|
f = this.longc;
|
2062
2062
|
else if (g = this.long1, p = this.lat1, m = this.long2, y = this.lat2, Math.abs(p - y) <= Ks || (i = Math.abs(p)) <= Ks || Math.abs(i - I) <= Ks || Math.abs(Math.abs(this.lat0) - I) <= Ks || Math.abs(Math.abs(y) - I) <= Ks)
|
2063
2063
|
throw new Error();
|
2064
|
-
var
|
2065
|
-
t = Math.sqrt(
|
2064
|
+
var D = 1 - this.es;
|
2065
|
+
t = Math.sqrt(D), Math.abs(this.lat0) > N ? (o = Math.sin(this.lat0), e = Math.cos(this.lat0), i = 1 - this.es * o * o, this.B = e * e, this.B = Math.sqrt(1 + this.es * this.B * this.B / D), this.A = this.B * this.k0 * t / i, s = this.B * t / (e * Math.sqrt(i)), r = s * s - 1, r <= 0 ? r = 0 : (r = Math.sqrt(r), this.lat0 < 0 && (r = -r)), this.E = r += s, this.E *= Math.pow(ti(this.e, this.lat0, o), this.B)) : (this.B = 1 / t, this.A = this.k0, this.E = s = r = 1), S || b ? (S ? (d = Math.asin(Math.sin(v) / s), b || (u = v)) : (d = u, v = Math.asin(s * Math.sin(d))), this.lam0 = f - Math.asin(0.5 * (r - 1 / r) * Math.tan(d)) / this.B) : (n = Math.pow(ti(this.e, p, Math.sin(p)), this.B), a = Math.pow(ti(this.e, y, Math.sin(y)), this.B), r = this.E / n, l = (a - n) / (a + n), c = this.E * this.E, c = (c - a * n) / (c + a * n), i = g - m, i < -Math.pi ? m -= yn : i > Math.pi && (m += yn), this.lam0 = R(0.5 * (g + m) - Math.atan(c * Math.tan(0.5 * this.B * (g - m)) / l) / this.B), d = Math.atan(2 * Math.sin(this.B * R(g - this.lam0)) / (r - 1 / r)), u = v = Math.asin(s * Math.sin(d))), this.singam = Math.sin(d), this.cosgam = Math.cos(d), this.sinrot = Math.sin(u), this.cosrot = Math.cos(u), this.rB = 1 / this.B, this.ArB = this.A * this.rB, this.BrA = 1 / this.ArB, this.A * this.B, this.no_off ? this.u_0 = 0 : (this.u_0 = Math.abs(this.ArB * Math.atan(Math.sqrt(s * s - 1) / Math.cos(v))), this.lat0 < 0 && (this.u_0 = -this.u_0)), r = 0.5 * d, this.v_pole_n = this.ArB * Math.log(Math.tan(ce - r)), this.v_pole_s = this.ArB * Math.log(Math.tan(ce + r));
|
2066
2066
|
}
|
2067
2067
|
function av(i) {
|
2068
2068
|
var t = {}, e, s, r, n, a, o, l, c;
|
2069
|
-
if (i.x = i.x - this.lam0, Math.abs(Math.abs(i.y) - I) >
|
2070
|
-
if (a = this.E / Math.pow(ti(this.e, i.y, Math.sin(i.y)), this.B), o = 1 / a, e = 0.5 * (a - o), s = 0.5 * (a + o), n = Math.sin(this.B * i.x), r = (e * this.singam - n * this.cosgam) / s, Math.abs(Math.abs(r) - 1) <
|
2069
|
+
if (i.x = i.x - this.lam0, Math.abs(Math.abs(i.y) - I) > N) {
|
2070
|
+
if (a = this.E / Math.pow(ti(this.e, i.y, Math.sin(i.y)), this.B), o = 1 / a, e = 0.5 * (a - o), s = 0.5 * (a + o), n = Math.sin(this.B * i.x), r = (e * this.singam - n * this.cosgam) / s, Math.abs(Math.abs(r) - 1) < N)
|
2071
2071
|
throw new Error();
|
2072
2072
|
c = 0.5 * this.ArB * Math.log((1 - r) / (1 + r)), o = Math.cos(this.B * i.x), Math.abs(o) < Ks ? l = this.A * i.x : l = this.ArB * Math.atan2(e * this.cosgam + n * this.singam, o);
|
2073
2073
|
} else
|
@@ -2076,7 +2076,7 @@ function av(i) {
|
|
2076
2076
|
}
|
2077
2077
|
function ov(i) {
|
2078
2078
|
var t, e, s, r, n, a, o, l = {};
|
2079
|
-
if (i.x = (i.x - this.x0) * (1 / this.a), i.y = (i.y - this.y0) * (1 / this.a), this.no_rot ? (e = i.y, t = i.x) : (e = i.x * this.cosrot - i.y * this.sinrot, t = i.y * this.cosrot + i.x * this.sinrot + this.u_0), s = Math.exp(-this.BrA * e), r = 0.5 * (s - 1 / s), n = 0.5 * (s + 1 / s), a = Math.sin(this.BrA * t), o = (a * this.cosgam + r * this.singam) / n, Math.abs(Math.abs(o) - 1) <
|
2079
|
+
if (i.x = (i.x - this.x0) * (1 / this.a), i.y = (i.y - this.y0) * (1 / this.a), this.no_rot ? (e = i.y, t = i.x) : (e = i.x * this.cosrot - i.y * this.sinrot, t = i.y * this.cosrot + i.x * this.sinrot + this.u_0), s = Math.exp(-this.BrA * e), r = 0.5 * (s - 1 / s), n = 0.5 * (s + 1 / s), a = Math.sin(this.BrA * t), o = (a * this.cosgam + r * this.singam) / n, Math.abs(Math.abs(o) - 1) < N)
|
2080
2080
|
l.x = 0, l.y = o < 0 ? -I : I;
|
2081
2081
|
else {
|
2082
2082
|
if (l.y = this.E / Math.sqrt((1 + o) / (1 - o)), l.y = vn(this.e, Math.pow(l.y, 1 / this.B)), l.y === 1 / 0)
|
@@ -2093,18 +2093,18 @@ const hv = {
|
|
2093
2093
|
names: lv
|
2094
2094
|
};
|
2095
2095
|
function cv() {
|
2096
|
-
if (this.lat2 || (this.lat2 = this.lat1), this.k0 || (this.k0 = 1), this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, !(Math.abs(this.lat1 + this.lat2) <
|
2096
|
+
if (this.lat2 || (this.lat2 = this.lat1), this.k0 || (this.k0 = 1), this.x0 = this.x0 || 0, this.y0 = this.y0 || 0, !(Math.abs(this.lat1 + this.lat2) < N)) {
|
2097
2097
|
var i = this.b / this.a;
|
2098
2098
|
this.e = Math.sqrt(1 - i * i);
|
2099
2099
|
var t = Math.sin(this.lat1), e = Math.cos(this.lat1), s = _i(this.e, t, e), r = ti(this.e, this.lat1, t), n = Math.sin(this.lat2), a = Math.cos(this.lat2), o = _i(this.e, n, a), l = ti(this.e, this.lat2, n), c = ti(this.e, this.lat0, Math.sin(this.lat0));
|
2100
|
-
Math.abs(this.lat1 - this.lat2) >
|
2100
|
+
Math.abs(this.lat1 - this.lat2) > N ? this.ns = Math.log(s / o) / Math.log(r / l) : this.ns = t, isNaN(this.ns) && (this.ns = t), this.f0 = s / (this.ns * Math.pow(r, this.ns)), this.rh = this.a * this.f0 * Math.pow(c, this.ns), this.title || (this.title = "Lambert Conformal Conic");
|
2101
2101
|
}
|
2102
2102
|
}
|
2103
2103
|
function uv(i) {
|
2104
2104
|
var t = i.x, e = i.y;
|
2105
|
-
Math.abs(2 * Math.abs(e) - Math.PI) <=
|
2105
|
+
Math.abs(2 * Math.abs(e) - Math.PI) <= N && (e = Xn(e) * (I - 2 * N));
|
2106
2106
|
var s = Math.abs(Math.abs(e) - I), r, n;
|
2107
|
-
if (s >
|
2107
|
+
if (s > N)
|
2108
2108
|
r = ti(this.e, e, Math.sin(e)), n = this.a * this.f0 * Math.pow(r, this.ns);
|
2109
2109
|
else {
|
2110
2110
|
if (s = e * this.ns, s <= 0)
|
@@ -2214,7 +2214,7 @@ function bv(i) {
|
|
2214
2214
|
s = Math.asin(Math.sin(n) * Math.cos(t)), r = Math.atan2(Math.tan(t), Math.cos(n));
|
2215
2215
|
} else {
|
2216
2216
|
var a = this.ml0 / this.a + e, o = io(a, this.e0, this.e1, this.e2, this.e3);
|
2217
|
-
if (Math.abs(Math.abs(o) - I) <=
|
2217
|
+
if (Math.abs(Math.abs(o) - I) <= N)
|
2218
2218
|
return i.x = this.long0, i.y = I, e < 0 && (i.y *= -1), i;
|
2219
2219
|
var l = gr(this.a, this.e, Math.sin(o)), c = l * l * l / this.a / this.a * (1 - this.es), u = Math.pow(Math.tan(o), 2), d = t * this.a / l, f = d * d;
|
2220
2220
|
s = o - l * Math.tan(o) / c * d * d * (0.5 - (1 + 3 * u) * d * d / 24), r = d * (1 - f * (u / 3 + (1 + 3 * u) * u * f / 15)) / Math.cos(o);
|
@@ -2235,7 +2235,7 @@ function ts(i, t) {
|
|
2235
2235
|
var xv = 1, Ev = 2, Ov = 3, Pv = 4;
|
2236
2236
|
function Lv() {
|
2237
2237
|
var i = Math.abs(this.lat0);
|
2238
|
-
if (Math.abs(i - I) <
|
2238
|
+
if (Math.abs(i - I) < N ? this.mode = this.lat0 < 0 ? this.S_POLE : this.N_POLE : Math.abs(i) < N ? this.mode = this.EQUIT : this.mode = this.OBLIQ, this.es > 0) {
|
2239
2239
|
var t;
|
2240
2240
|
switch (this.qp = ts(this.e, 1), this.mmf = 0.5 / (1 - this.es), this.apa = kv(this.es), this.mode) {
|
2241
2241
|
case this.N_POLE:
|
@@ -2258,11 +2258,11 @@ function Iv(i) {
|
|
2258
2258
|
var t, e, s, r, n, a, o, l, c, u, d = i.x, f = i.y;
|
2259
2259
|
if (d = R(d - this.long0), this.sphere) {
|
2260
2260
|
if (n = Math.sin(f), u = Math.cos(f), s = Math.cos(d), this.mode === this.OBLIQ || this.mode === this.EQUIT) {
|
2261
|
-
if (e = this.mode === this.EQUIT ? 1 + u * s : 1 + this.sinph0 * n + this.cosph0 * u * s, e <=
|
2261
|
+
if (e = this.mode === this.EQUIT ? 1 + u * s : 1 + this.sinph0 * n + this.cosph0 * u * s, e <= N)
|
2262
2262
|
return null;
|
2263
2263
|
e = Math.sqrt(2 / e), t = e * u * Math.sin(d), e *= this.mode === this.EQUIT ? n : this.cosph0 * n - this.sinph0 * u * s;
|
2264
2264
|
} else if (this.mode === this.N_POLE || this.mode === this.S_POLE) {
|
2265
|
-
if (this.mode === this.N_POLE && (s = -s), Math.abs(f + this.lat0) <
|
2265
|
+
if (this.mode === this.N_POLE && (s = -s), Math.abs(f + this.lat0) < N)
|
2266
2266
|
return null;
|
2267
2267
|
e = ce - f * 0.5, e = 2 * (this.mode === this.S_POLE ? Math.cos(e) : Math.sin(e)), t = e * Math.sin(d), e *= s;
|
2268
2268
|
}
|
@@ -2281,7 +2281,7 @@ function Iv(i) {
|
|
2281
2281
|
c = f - I, a = this.qp + a;
|
2282
2282
|
break;
|
2283
2283
|
}
|
2284
|
-
if (Math.abs(c) <
|
2284
|
+
if (Math.abs(c) < N)
|
2285
2285
|
return null;
|
2286
2286
|
switch (this.mode) {
|
2287
2287
|
case this.OBLIQ:
|
@@ -2305,10 +2305,10 @@ function Tv(i) {
|
|
2305
2305
|
return null;
|
2306
2306
|
switch (r = 2 * Math.asin(r), (this.mode === this.OBLIQ || this.mode === this.EQUIT) && (f = Math.sin(r), u = Math.cos(r)), this.mode) {
|
2307
2307
|
case this.EQUIT:
|
2308
|
-
r = Math.abs(d) <=
|
2308
|
+
r = Math.abs(d) <= N ? 0 : Math.asin(e * f / d), t *= f, e = u * d;
|
2309
2309
|
break;
|
2310
2310
|
case this.OBLIQ:
|
2311
|
-
r = Math.abs(d) <=
|
2311
|
+
r = Math.abs(d) <= N ? this.lat0 : Math.asin(u * this.sinph0 + e * f * this.cosph0 / d), t *= f * this.cosph0, e = (u - Math.sin(r) * this.sinph0) * d;
|
2312
2312
|
break;
|
2313
2313
|
case this.N_POLE:
|
2314
2314
|
e = -e, r = I - r;
|
@@ -2320,7 +2320,7 @@ function Tv(i) {
|
|
2320
2320
|
s = e === 0 && (this.mode === this.EQUIT || this.mode === this.OBLIQ) ? 0 : Math.atan2(t, e);
|
2321
2321
|
} else {
|
2322
2322
|
if (c = 0, this.mode === this.OBLIQ || this.mode === this.EQUIT) {
|
2323
|
-
if (t /= this.dd, e *= this.dd, l = Math.sqrt(t * t + e * e), l <
|
2323
|
+
if (t /= this.dd, e *= this.dd, l = Math.sqrt(t * t + e * e), l < N)
|
2324
2324
|
return i.x = this.long0, i.y = this.lat0, i;
|
2325
2325
|
a = 2 * Math.asin(0.5 * l / this.rq), n = Math.cos(a), t *= a = Math.sin(a), this.mode === this.OBLIQ ? (c = n * this.sinb1 + e * a * this.cosb1 / l, o = this.qp * c, e = l * this.cosb1 * n - e * this.sinb1 * a) : (c = e * a / l, o = this.qp * c, e = l * n);
|
2326
2326
|
} else if (this.mode === this.N_POLE || this.mode === this.S_POLE) {
|
@@ -2332,10 +2332,10 @@ function Tv(i) {
|
|
2332
2332
|
}
|
2333
2333
|
return i.x = R(this.long0 + s), i.y = r, i;
|
2334
2334
|
}
|
2335
|
-
var Av = 0.3333333333333333,
|
2335
|
+
var Av = 0.3333333333333333, Dv = 0.17222222222222222, Nv = 0.10257936507936508, Rv = 0.06388888888888888, Fv = 0.0664021164021164, Gv = 0.016415012942191543;
|
2336
2336
|
function kv(i) {
|
2337
2337
|
var t, e = [];
|
2338
|
-
return e[0] = i * Av, t = i * i, e[0] += t *
|
2338
|
+
return e[0] = i * Av, t = i * i, e[0] += t * Dv, e[1] = t * Rv, t *= i, e[0] += t * Nv, e[1] += t * Fv, e[2] = t * Gv, e;
|
2339
2339
|
}
|
2340
2340
|
function Vv(i, t) {
|
2341
2341
|
var e = i + i;
|
@@ -2356,7 +2356,7 @@ function as(i) {
|
|
2356
2356
|
return Math.abs(i) > 1 && (i = i > 1 ? 1 : -1), Math.asin(i);
|
2357
2357
|
}
|
2358
2358
|
function Hv() {
|
2359
|
-
Math.abs(this.lat1 + this.lat2) <
|
2359
|
+
Math.abs(this.lat1 + this.lat2) < N || (this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e3 = Math.sqrt(this.es), this.sin_po = Math.sin(this.lat1), this.cos_po = Math.cos(this.lat1), this.t1 = this.sin_po, this.con = this.sin_po, this.ms1 = _i(this.e3, this.sin_po, this.cos_po), this.qs1 = ts(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat2), this.cos_po = Math.cos(this.lat2), this.t2 = this.sin_po, this.ms2 = _i(this.e3, this.sin_po, this.cos_po), this.qs2 = ts(this.e3, this.sin_po), this.sin_po = Math.sin(this.lat0), this.cos_po = Math.cos(this.lat0), this.t3 = this.sin_po, this.qs0 = ts(this.e3, this.sin_po), Math.abs(this.lat1 - this.lat2) > N ? this.ns0 = (this.ms1 * this.ms1 - this.ms2 * this.ms2) / (this.qs2 - this.qs1) : this.ns0 = this.con, this.c = this.ms1 * this.ms1 + this.ns0 * this.qs1, this.rh = this.a * Math.sqrt(this.c - this.ns0 * this.qs0) / this.ns0);
|
2360
2360
|
}
|
2361
2361
|
function jv(i) {
|
2362
2362
|
var t = i.x, e = i.y;
|
@@ -2370,7 +2370,7 @@ function $v(i) {
|
|
2370
2370
|
}
|
2371
2371
|
function Uv(i, t) {
|
2372
2372
|
var e, s, r, n, a, o = as(0.5 * t);
|
2373
|
-
if (i <
|
2373
|
+
if (i < N)
|
2374
2374
|
return o;
|
2375
2375
|
for (var l = i * i, c = 1; c <= 25; c++)
|
2376
2376
|
if (e = Math.sin(o), s = Math.cos(o), r = i * e, n = 1 - r * r, a = 0.5 * n * n / s * (t / (1 - l) - e / n + 0.5 / i * Math.log((1 - r) / (1 + r))), o = o + a, Math.abs(a) <= 1e-7)
|
@@ -2390,7 +2390,7 @@ function Yv() {
|
|
2390
2390
|
}
|
2391
2391
|
function Xv(i) {
|
2392
2392
|
var t, e, s, r, n, a, o, l, c = i.x, u = i.y;
|
2393
|
-
return s = R(c - this.long0), t = Math.sin(u), e = Math.cos(u), r = Math.cos(s), a = this.sin_p14 * t + this.cos_p14 * e * r, n = 1, a > 0 || Math.abs(a) <=
|
2393
|
+
return s = R(c - this.long0), t = Math.sin(u), e = Math.cos(u), r = Math.cos(s), a = this.sin_p14 * t + this.cos_p14 * e * r, n = 1, a > 0 || Math.abs(a) <= N ? (o = this.x0 + this.a * n * e * Math.sin(s) / a, l = this.y0 + this.a * n * (this.cos_p14 * t - this.sin_p14 * e * r) / a) : (o = this.x0 + this.infinity_dist * e * Math.sin(s), l = this.y0 + this.infinity_dist * (this.cos_p14 * t - this.sin_p14 * e * r)), i.x = o, i.y = l, i;
|
2394
2394
|
}
|
2395
2395
|
function Zv(i) {
|
2396
2396
|
var t, e, s, r, n, a;
|
@@ -2462,8 +2462,8 @@ function c0() {
|
|
2462
2462
|
function u0(i) {
|
2463
2463
|
var t = i.x, e = i.y, s, r, n, a = R(t - this.long0);
|
2464
2464
|
if (n = a * Math.sin(e), this.sphere)
|
2465
|
-
Math.abs(e) <=
|
2466
|
-
else if (Math.abs(e) <=
|
2465
|
+
Math.abs(e) <= N ? (s = this.a * a, r = -1 * this.a * this.lat0) : (s = this.a * Math.sin(n) / Math.tan(e), r = this.a * (ms(e - this.lat0) + (1 - Math.cos(n)) / Math.tan(e)));
|
2466
|
+
else if (Math.abs(e) <= N)
|
2467
2467
|
s = this.a * a, r = -1 * this.ml0;
|
2468
2468
|
else {
|
2469
2469
|
var o = gr(this.a, this.e, Math.sin(e)) / Math.tan(e);
|
@@ -2474,25 +2474,25 @@ function u0(i) {
|
|
2474
2474
|
function d0(i) {
|
2475
2475
|
var t, e, s, r, n, a, o, l, c;
|
2476
2476
|
if (s = i.x - this.x0, r = i.y - this.y0, this.sphere)
|
2477
|
-
if (Math.abs(r + this.a * this.lat0) <=
|
2477
|
+
if (Math.abs(r + this.a * this.lat0) <= N)
|
2478
2478
|
t = R(s / this.a + this.long0), e = 0;
|
2479
2479
|
else {
|
2480
2480
|
a = this.lat0 + r / this.a, o = s * s / this.a / this.a + a * a, l = a;
|
2481
2481
|
var u;
|
2482
2482
|
for (n = Wc; n; --n)
|
2483
|
-
if (u = Math.tan(l), c = -1 * (a * (l * u + 1) - l - 0.5 * (l * l + o) * u) / ((l - a) / u - 1), l += c, Math.abs(c) <=
|
2483
|
+
if (u = Math.tan(l), c = -1 * (a * (l * u + 1) - l - 0.5 * (l * l + o) * u) / ((l - a) / u - 1), l += c, Math.abs(c) <= N) {
|
2484
2484
|
e = l;
|
2485
2485
|
break;
|
2486
2486
|
}
|
2487
2487
|
t = R(this.long0 + Math.asin(s * Math.tan(l) / this.a) / Math.sin(e));
|
2488
2488
|
}
|
2489
|
-
else if (Math.abs(r + this.ml0) <=
|
2489
|
+
else if (Math.abs(r + this.ml0) <= N)
|
2490
2490
|
e = 0, t = R(this.long0 + s / this.a);
|
2491
2491
|
else {
|
2492
2492
|
a = (this.ml0 + r) / this.a, o = s * s / this.a / this.a + a * a, l = a;
|
2493
2493
|
var d, f, g, m, p;
|
2494
2494
|
for (n = Wc; n; --n)
|
2495
|
-
if (p = this.e * Math.sin(l), d = Math.sqrt(1 - p * p) * Math.tan(l), f = this.a * wt(this.e0, this.e1, this.e2, this.e3, l), g = this.e0 - 2 * this.e1 * Math.cos(2 * l) + 4 * this.e2 * Math.cos(4 * l) - 6 * this.e3 * Math.cos(6 * l), m = f / this.a, c = (a * (d * m + 1) - m - 0.5 * d * (m * m + o)) / (this.es * Math.sin(2 * l) * (m * m + o - 2 * a * m) / (4 * d) + (a - m) * (d * g - 2 / Math.sin(2 * l)) - g), l -= c, Math.abs(c) <=
|
2495
|
+
if (p = this.e * Math.sin(l), d = Math.sqrt(1 - p * p) * Math.tan(l), f = this.a * wt(this.e0, this.e1, this.e2, this.e3, l), g = this.e0 - 2 * this.e1 * Math.cos(2 * l) + 4 * this.e2 * Math.cos(4 * l) - 6 * this.e3 * Math.cos(6 * l), m = f / this.a, c = (a * (d * m + 1) - m - 0.5 * d * (m * m + o)) / (this.es * Math.sin(2 * l) * (m * m + o - 2 * a * m) / (4 * d) + (a - m) * (d * g - 2 / Math.sin(2 * l)) - g), l -= c, Math.abs(c) <= N) {
|
2496
2496
|
e = l;
|
2497
2497
|
break;
|
2498
2498
|
}
|
@@ -2524,15 +2524,15 @@ function y0(i) {
|
|
2524
2524
|
for (t = 1; t <= 6; t++)
|
2525
2525
|
u = l * a - c * o, d = c * a + l * o, l = u, c = d, f = f + this.C_re[t] * l - this.C_im[t] * c, g = g + this.C_im[t] * l + this.C_re[t] * c;
|
2526
2526
|
for (var m = 0; m < this.iterations; m++) {
|
2527
|
-
var p = f, y = g, v, S, b = a,
|
2527
|
+
var p = f, y = g, v, S, b = a, D = o;
|
2528
2528
|
for (t = 2; t <= 6; t++)
|
2529
|
-
v = p * f - y * g, S = y * f + p * g, p = v, y = S, b = b + (t - 1) * (this.B_re[t] * p - this.B_im[t] * y),
|
2529
|
+
v = p * f - y * g, S = y * f + p * g, p = v, y = S, b = b + (t - 1) * (this.B_re[t] * p - this.B_im[t] * y), D = D + (t - 1) * (this.B_im[t] * p + this.B_re[t] * y);
|
2530
2530
|
p = 1, y = 0;
|
2531
2531
|
var C = this.B_re[1], M = this.B_im[1];
|
2532
2532
|
for (t = 2; t <= 6; t++)
|
2533
2533
|
v = p * f - y * g, S = y * f + p * g, p = v, y = S, C = C + t * (this.B_re[t] * p - this.B_im[t] * y), M = M + t * (this.B_im[t] * p + this.B_re[t] * y);
|
2534
2534
|
var E = C * C + M * M;
|
2535
|
-
f = (b * C +
|
2535
|
+
f = (b * C + D * M) / E, g = (D * C - b * M) / E;
|
2536
2536
|
}
|
2537
2537
|
var O = f, F = g, Y = 1, te = 0;
|
2538
2538
|
for (t = 1; t <= 9; t++)
|
@@ -2577,7 +2577,7 @@ function O0(i) {
|
|
2577
2577
|
else
|
2578
2578
|
for (var n = this.n * Math.sin(r), a = x0; a; --a) {
|
2579
2579
|
var o = (this.m * r + Math.sin(r) - n) / (this.m + Math.cos(r));
|
2580
|
-
if (r -= o, Math.abs(o) <
|
2580
|
+
if (r -= o, Math.abs(o) < N)
|
2581
2581
|
break;
|
2582
2582
|
}
|
2583
2583
|
t = this.a * this.C_x * s * (this.m + Math.cos(r)), e = this.a * this.C_y * r;
|
@@ -2589,7 +2589,7 @@ function O0(i) {
|
|
2589
2589
|
}
|
2590
2590
|
function P0(i) {
|
2591
2591
|
var t, e, s, r;
|
2592
|
-
return i.x -= this.x0, s = i.x / this.a, i.y -= this.y0, t = i.y / this.a, this.sphere ? (t /= this.C_y, s = s / (this.C_x * (this.m + Math.cos(t))), this.m ? t = as((this.m * t + Math.sin(t)) / this.n) : this.n !== 1 && (t = as(Math.sin(t) / this.n)), s = R(s + this.long0), t = ms(t)) : (t = Vh(i.y / this.a, this.es, this.en), r = Math.abs(t), r < I ? (r = Math.sin(t), e = this.long0 + i.x * Math.sqrt(1 - this.es * r * r) / (this.a * Math.cos(t)), s = R(e)) : r -
|
2592
|
+
return i.x -= this.x0, s = i.x / this.a, i.y -= this.y0, t = i.y / this.a, this.sphere ? (t /= this.C_y, s = s / (this.C_x * (this.m + Math.cos(t))), this.m ? t = as((this.m * t + Math.sin(t)) / this.n) : this.n !== 1 && (t = as(Math.sin(t) / this.n)), s = R(s + this.long0), t = ms(t)) : (t = Vh(i.y / this.a, this.es, this.en), r = Math.abs(t), r < I ? (r = Math.sin(t), e = this.long0 + i.x * Math.sqrt(1 - this.es * r * r) / (this.a * Math.cos(t)), s = R(e)) : r - N < I && (s = this.long0)), i.x = s, i.y = t, i;
|
2593
2593
|
}
|
2594
2594
|
var L0 = ["Sinusoidal", "sinu"];
|
2595
2595
|
const I0 = {
|
@@ -2603,14 +2603,14 @@ function T0() {
|
|
2603
2603
|
function A0(i) {
|
2604
2604
|
for (var t = i.x, e = i.y, s = R(t - this.long0), r = e, n = Math.PI * Math.sin(e); ; ) {
|
2605
2605
|
var a = -(r + Math.sin(r) - n) / (1 + Math.cos(r));
|
2606
|
-
if (r += a, Math.abs(a) <
|
2606
|
+
if (r += a, Math.abs(a) < N)
|
2607
2607
|
break;
|
2608
2608
|
}
|
2609
|
-
r /= 2, Math.PI / 2 - Math.abs(e) <
|
2609
|
+
r /= 2, Math.PI / 2 - Math.abs(e) < N && (s = 0);
|
2610
2610
|
var o = 0.900316316158 * this.a * s * Math.cos(r) + this.x0, l = 1.4142135623731 * this.a * Math.sin(r) + this.y0;
|
2611
2611
|
return i.x = o, i.y = l, i;
|
2612
2612
|
}
|
2613
|
-
function
|
2613
|
+
function D0(i) {
|
2614
2614
|
var t, e;
|
2615
2615
|
i.x -= this.x0, i.y -= this.y0, e = i.y / (1.4142135623731 * this.a), Math.abs(e) > 0.999999999999 && (e = 0.999999999999), t = Math.asin(e);
|
2616
2616
|
var s = R(this.long0 + i.x / (0.900316316158 * this.a * Math.cos(t)));
|
@@ -2618,15 +2618,15 @@ function N0(i) {
|
|
2618
2618
|
var r = Math.asin(e);
|
2619
2619
|
return i.x = s, i.y = r, i;
|
2620
2620
|
}
|
2621
|
-
var
|
2621
|
+
var N0 = ["Mollweide", "moll"];
|
2622
2622
|
const R0 = {
|
2623
2623
|
init: T0,
|
2624
2624
|
forward: A0,
|
2625
|
-
inverse:
|
2626
|
-
names:
|
2625
|
+
inverse: D0,
|
2626
|
+
names: N0
|
2627
2627
|
};
|
2628
2628
|
function F0() {
|
2629
|
-
Math.abs(this.lat1 + this.lat2) <
|
2629
|
+
Math.abs(this.lat1 + this.lat2) < N || (this.lat2 = this.lat2 || this.lat1, this.temp = this.b / this.a, this.es = 1 - Math.pow(this.temp, 2), this.e = Math.sqrt(this.es), this.e0 = Zn(this.es), this.e1 = Jn(this.es), this.e2 = Kn(this.es), this.e3 = Qn(this.es), this.sinphi = Math.sin(this.lat1), this.cosphi = Math.cos(this.lat1), this.ms1 = _i(this.e, this.sinphi, this.cosphi), this.ml1 = wt(this.e0, this.e1, this.e2, this.e3, this.lat1), Math.abs(this.lat1 - this.lat2) < N ? this.ns = this.sinphi : (this.sinphi = Math.sin(this.lat2), this.cosphi = Math.cos(this.lat2), this.ms2 = _i(this.e, this.sinphi, this.cosphi), this.ml2 = wt(this.e0, this.e1, this.e2, this.e3, this.lat2), this.ns = (this.ms1 - this.ms2) / (this.ml2 - this.ml1)), this.g = this.ml1 + this.ms1 / this.ns, this.ml0 = wt(this.e0, this.e1, this.e2, this.e3, this.lat0), this.rh = this.a * (this.g - this.ml0));
|
2630
2630
|
}
|
2631
2631
|
function G0(i) {
|
2632
2632
|
var t = i.x, e = i.y, s;
|
@@ -2661,9 +2661,9 @@ function B0() {
|
|
2661
2661
|
}
|
2662
2662
|
function H0(i) {
|
2663
2663
|
var t = i.x, e = i.y, s = R(t - this.long0), r, n;
|
2664
|
-
Math.abs(e) <=
|
2664
|
+
Math.abs(e) <= N && (r = this.x0 + this.R * s, n = this.y0);
|
2665
2665
|
var a = as(2 * Math.abs(e / Math.PI));
|
2666
|
-
(Math.abs(s) <=
|
2666
|
+
(Math.abs(s) <= N || Math.abs(Math.abs(e) - I) <= N) && (r = this.x0, e >= 0 ? n = this.y0 + Math.PI * this.R * Math.tan(0.5 * a) : n = this.y0 + Math.PI * this.R * -Math.tan(0.5 * a));
|
2667
2667
|
var o = 0.5 * Math.abs(Math.PI / s - s / Math.PI), l = o * o, c = Math.sin(a), u = Math.cos(a), d = u / (c + u - 1), f = d * d, g = d * (2 / c - 1), m = g * g, p = Math.PI * this.R * (o * (d - m) + Math.sqrt(l * (d - m) * (d - m) - (m + l) * (f - m))) / (m + l);
|
2668
2668
|
s < 0 && (p = -p), r = this.x0 + p;
|
2669
2669
|
var y = l + d;
|
@@ -2671,7 +2671,7 @@ function H0(i) {
|
|
2671
2671
|
}
|
2672
2672
|
function j0(i) {
|
2673
2673
|
var t, e, s, r, n, a, o, l, c, u, d, f, g;
|
2674
|
-
return i.x -= this.x0, i.y -= this.y0, d = Math.PI * this.R, s = i.x / d, r = i.y / d, n = s * s + r * r, a = -Math.abs(r) * (1 + n), o = a - 2 * r * r + s * s, l = -2 * a + 1 + 2 * r * r + n * n, g = r * r / l + (2 * o * o * o / l / l / l - 9 * a * o / l / l) / 27, c = (a - o * o / 3 / l) / l, u = 2 * Math.sqrt(-c / 3), d = 3 * g / c / u, Math.abs(d) > 1 && (d >= 0 ? d = 1 : d = -1), f = Math.acos(d) / 3, i.y >= 0 ? e = (-u * Math.cos(f + Math.PI / 3) - o / 3 / l) * Math.PI : e = -(-u * Math.cos(f + Math.PI / 3) - o / 3 / l) * Math.PI, Math.abs(s) <
|
2674
|
+
return i.x -= this.x0, i.y -= this.y0, d = Math.PI * this.R, s = i.x / d, r = i.y / d, n = s * s + r * r, a = -Math.abs(r) * (1 + n), o = a - 2 * r * r + s * s, l = -2 * a + 1 + 2 * r * r + n * n, g = r * r / l + (2 * o * o * o / l / l / l - 9 * a * o / l / l) / 27, c = (a - o * o / 3 / l) / l, u = 2 * Math.sqrt(-c / 3), d = 3 * g / c / u, Math.abs(d) > 1 && (d >= 0 ? d = 1 : d = -1), f = Math.acos(d) / 3, i.y >= 0 ? e = (-u * Math.cos(f + Math.PI / 3) - o / 3 / l) * Math.PI : e = -(-u * Math.cos(f + Math.PI / 3) - o / 3 / l) * Math.PI, Math.abs(s) < N ? t = this.long0 : t = R(this.long0 + Math.PI * (n - 1 + Math.sqrt(1 + 2 * (s * s - r * r) + n * n)) / 2 / s), i.x = t, i.y = e, i;
|
2675
2675
|
}
|
2676
2676
|
var $0 = ["Van_der_Grinten_I", "VanDerGrinten", "vandg"];
|
2677
2677
|
const U0 = {
|
@@ -2684,13 +2684,13 @@ function q0() {
|
|
2684
2684
|
this.sin_p12 = Math.sin(this.lat0), this.cos_p12 = Math.cos(this.lat0);
|
2685
2685
|
}
|
2686
2686
|
function W0(i) {
|
2687
|
-
var t = i.x, e = i.y, s = Math.sin(i.y), r = Math.cos(i.y), n = R(t - this.long0), a, o, l, c, u, d, f, g, m, p, y, v, S, b,
|
2688
|
-
return this.sphere ? Math.abs(this.sin_p12 - 1) <=
|
2687
|
+
var t = i.x, e = i.y, s = Math.sin(i.y), r = Math.cos(i.y), n = R(t - this.long0), a, o, l, c, u, d, f, g, m, p, y, v, S, b, D, C, M, E, O, F, Y, te, A;
|
2688
|
+
return this.sphere ? Math.abs(this.sin_p12 - 1) <= N ? (i.x = this.x0 + this.a * (I - e) * Math.sin(n), i.y = this.y0 - this.a * (I - e) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= N ? (i.x = this.x0 + this.a * (I + e) * Math.sin(n), i.y = this.y0 + this.a * (I + e) * Math.cos(n), i) : (E = this.sin_p12 * s + this.cos_p12 * r * Math.cos(n), C = Math.acos(E), M = C ? C / Math.sin(C) : 1, i.x = this.x0 + this.a * M * r * Math.sin(n), i.y = this.y0 + this.a * M * (this.cos_p12 * s - this.sin_p12 * r * Math.cos(n)), i) : (a = Zn(this.es), o = Jn(this.es), l = Kn(this.es), c = Qn(this.es), Math.abs(this.sin_p12 - 1) <= N ? (u = this.a * wt(a, o, l, c, I), d = this.a * wt(a, o, l, c, e), i.x = this.x0 + (u - d) * Math.sin(n), i.y = this.y0 - (u - d) * Math.cos(n), i) : Math.abs(this.sin_p12 + 1) <= N ? (u = this.a * wt(a, o, l, c, I), d = this.a * wt(a, o, l, c, e), i.x = this.x0 + (u + d) * Math.sin(n), i.y = this.y0 + (u + d) * Math.cos(n), i) : (f = s / r, g = gr(this.a, this.e, this.sin_p12), m = gr(this.a, this.e, s), p = Math.atan((1 - this.es) * f + this.es * g * this.sin_p12 / (m * r)), y = Math.atan2(Math.sin(n), this.cos_p12 * Math.tan(p) - this.sin_p12 * Math.cos(n)), y === 0 ? O = Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : Math.abs(Math.abs(y) - Math.PI) <= N ? O = -Math.asin(this.cos_p12 * Math.sin(p) - this.sin_p12 * Math.cos(p)) : O = Math.asin(Math.sin(n) * Math.cos(p) / Math.sin(y)), v = this.e * this.sin_p12 / Math.sqrt(1 - this.es), S = this.e * this.cos_p12 * Math.cos(y) / Math.sqrt(1 - this.es), b = v * S, D = S * S, F = O * O, Y = F * O, te = Y * O, A = te * O, C = g * O * (1 - F * D * (1 - D) / 6 + Y / 8 * b * (1 - 2 * D) + te / 120 * (D * (4 - 7 * D) - 3 * v * v * (1 - 7 * D)) - A / 48 * b), i.x = this.x0 + C * Math.sin(y), i.y = this.y0 + C * Math.cos(y), i));
|
2689
2689
|
}
|
2690
2690
|
function Y0(i) {
|
2691
2691
|
i.x -= this.x0, i.y -= this.y0;
|
2692
|
-
var t, e, s, r, n, a, o, l, c, u, d, f, g, m, p, y, v, S, b,
|
2693
|
-
return this.sphere ? (t = Math.sqrt(i.x * i.x + i.y * i.y), t > 2 * I * this.a ? void 0 : (e = t / this.a, s = Math.sin(e), r = Math.cos(e), n = this.long0, Math.abs(t) <=
|
2692
|
+
var t, e, s, r, n, a, o, l, c, u, d, f, g, m, p, y, v, S, b, D, C, M, E, O;
|
2693
|
+
return this.sphere ? (t = Math.sqrt(i.x * i.x + i.y * i.y), t > 2 * I * this.a ? void 0 : (e = t / this.a, s = Math.sin(e), r = Math.cos(e), n = this.long0, Math.abs(t) <= N ? a = this.lat0 : (a = as(r * this.sin_p12 + i.y * s * this.cos_p12 / t), o = Math.abs(this.lat0) - I, Math.abs(o) <= N ? this.lat0 >= 0 ? n = R(this.long0 + Math.atan2(i.x, -i.y)) : n = R(this.long0 - Math.atan2(-i.x, i.y)) : n = R(this.long0 + Math.atan2(i.x * s, t * this.cos_p12 * r - i.y * this.sin_p12 * s))), i.x = n, i.y = a, i)) : (l = Zn(this.es), c = Jn(this.es), u = Kn(this.es), d = Qn(this.es), Math.abs(this.sin_p12 - 1) <= N ? (f = this.a * wt(l, c, u, d, I), t = Math.sqrt(i.x * i.x + i.y * i.y), g = f - t, a = io(g / this.a, l, c, u, d), n = R(this.long0 + Math.atan2(i.x, -1 * i.y)), i.x = n, i.y = a, i) : Math.abs(this.sin_p12 + 1) <= N ? (f = this.a * wt(l, c, u, d, I), t = Math.sqrt(i.x * i.x + i.y * i.y), g = t - f, a = io(g / this.a, l, c, u, d), n = R(this.long0 + Math.atan2(i.x, i.y)), i.x = n, i.y = a, i) : (t = Math.sqrt(i.x * i.x + i.y * i.y), y = Math.atan2(i.x, i.y), m = gr(this.a, this.e, this.sin_p12), v = Math.cos(y), S = this.e * this.cos_p12 * v, b = -S * S / (1 - this.es), D = 3 * this.es * (1 - b) * this.sin_p12 * this.cos_p12 * v / (1 - this.es), C = t / m, M = C - b * (1 + b) * Math.pow(C, 3) / 6 - D * (1 + 3 * b) * Math.pow(C, 4) / 24, E = 1 - b * M * M / 2 - C * M * M * M / 6, p = Math.asin(this.sin_p12 * Math.cos(M) + this.cos_p12 * Math.sin(M) * v), n = R(this.long0 + Math.asin(Math.sin(y) * Math.sin(M) / Math.cos(p))), O = Math.sin(p), a = Math.atan2((O - this.es * E * this.sin_p12) * Math.tan(p), O * (1 - this.es)), i.x = n, i.y = a, i));
|
2694
2694
|
}
|
2695
2695
|
var X0 = ["Azimuthal_Equidistant", "aeqd"];
|
2696
2696
|
const Z0 = {
|
@@ -2704,11 +2704,11 @@ function J0() {
|
|
2704
2704
|
}
|
2705
2705
|
function K0(i) {
|
2706
2706
|
var t, e, s, r, n, a, o, l, c = i.x, u = i.y;
|
2707
|
-
return s = R(c - this.long0), t = Math.sin(u), e = Math.cos(u), r = Math.cos(s), a = this.sin_p14 * t + this.cos_p14 * e * r, n = 1, (a > 0 || Math.abs(a) <=
|
2707
|
+
return s = R(c - this.long0), t = Math.sin(u), e = Math.cos(u), r = Math.cos(s), a = this.sin_p14 * t + this.cos_p14 * e * r, n = 1, (a > 0 || Math.abs(a) <= N) && (o = this.a * n * e * Math.sin(s), l = this.y0 + this.a * n * (this.cos_p14 * t - this.sin_p14 * e * r)), i.x = o, i.y = l, i;
|
2708
2708
|
}
|
2709
2709
|
function Q0(i) {
|
2710
2710
|
var t, e, s, r, n, a, o;
|
2711
|
-
return i.x -= this.x0, i.y -= this.y0, t = Math.sqrt(i.x * i.x + i.y * i.y), e = as(t / this.a), s = Math.sin(e), r = Math.cos(e), a = this.long0, Math.abs(t) <=
|
2711
|
+
return i.x -= this.x0, i.y -= this.y0, t = Math.sqrt(i.x * i.x + i.y * i.y), e = as(t / this.a), s = Math.sin(e), r = Math.cos(e), a = this.long0, Math.abs(t) <= N ? (o = this.lat0, i.x = a, i.y = o, i) : (o = as(r * this.sin_p14 + i.y * s * this.cos_p14 / t), n = Math.abs(this.lat0) - I, Math.abs(n) <= N ? (this.lat0 >= 0 ? a = R(this.long0 + Math.atan2(i.x, -i.y)) : a = R(this.long0 - Math.atan2(-i.x, i.y)), i.x = a, i.y = o, i) : (a = R(this.long0 + Math.atan2(i.x * s, t * this.cos_p14 * r - i.y * this.sin_p14 * s)), i.x = a, i.y = o, i));
|
2712
2712
|
}
|
2713
2713
|
var ew = ["ortho"];
|
2714
2714
|
const tw = {
|
@@ -2763,7 +2763,7 @@ function rw(i) {
|
|
2763
2763
|
}
|
2764
2764
|
function Sa(i, t, e, s) {
|
2765
2765
|
var r;
|
2766
|
-
return i <
|
2766
|
+
return i < N ? (s.value = ue.AREA_0, r = 0) : (r = Math.atan2(t, e), Math.abs(r) <= ce ? s.value = ue.AREA_0 : r > ce && r <= I + ce ? (s.value = ue.AREA_1, r -= I) : r > I + ce || r <= -(I + ce) ? (s.value = ue.AREA_2, r = r >= 0 ? r - Ie : r + Ie) : (s.value = ue.AREA_3, r += I)), r;
|
2767
2767
|
}
|
2768
2768
|
function lr(i, t) {
|
2769
2769
|
var e = i + t;
|
@@ -2860,7 +2860,7 @@ function dw(i) {
|
|
2860
2860
|
var s = Ur[e], r = 5 * (t.y - s[0]) / (Ur[e + 1][0] - s[0]);
|
2861
2861
|
r = hw(function(n) {
|
2862
2862
|
return (so(s, n) - t.y) / lw(s, n);
|
2863
|
-
}, r,
|
2863
|
+
}, r, N, 100), t.x /= so(nh[e], r), t.y = (5 * e + r) * et, i.y < 0 && (t.y = -t.y);
|
2864
2864
|
}
|
2865
2865
|
return t.x = R(t.x + this.long0), t;
|
2866
2866
|
}
|
@@ -2916,7 +2916,7 @@ function ww() {
|
|
2916
2916
|
Ar[e].num && (this[e] = parseFloat(this[e]));
|
2917
2917
|
}
|
2918
2918
|
Ar[e].degrees && (this[e] = this[e] * et);
|
2919
|
-
}).bind(this)), Math.abs(Math.abs(this.lat0) - I) <
|
2919
|
+
}).bind(this)), Math.abs(Math.abs(this.lat0) - I) < N ? this.mode = this.lat0 < 0 ? ot.S_POLE : ot.N_POLE : Math.abs(this.lat0) < N ? this.mode = ot.EQUIT : (this.mode = ot.OBLIQ, this.sinph0 = Math.sin(this.lat0), this.cosph0 = Math.cos(this.lat0)), this.pn1 = this.h / this.a, this.pn1 <= 0 || this.pn1 > 1e10)
|
2920
2920
|
throw new Error("Invalid height");
|
2921
2921
|
this.p = 1 + this.pn1, this.rp = 1 / this.p, this.h1 = 1 / this.pn1, this.pfact = (this.p + 1) * this.h1, this.es = 0;
|
2922
2922
|
var i = this.tilt, t = this.azi;
|
@@ -2961,7 +2961,7 @@ function bw(i) {
|
|
2961
2961
|
var t = { x: i.x, y: i.y }, e, s, r;
|
2962
2962
|
r = 1 / (this.pn1 - i.y * this.sw), e = this.pn1 * i.x * r, s = this.pn1 * i.y * this.cw * r, i.x = e * this.cg + s * this.sg, i.y = s * this.cg - e * this.sg;
|
2963
2963
|
var n = Et(i.x, i.y);
|
2964
|
-
if (Math.abs(n) <
|
2964
|
+
if (Math.abs(n) < N)
|
2965
2965
|
t.x = 0, t.y = i.y;
|
2966
2966
|
else {
|
2967
2967
|
var a, o;
|
@@ -3048,12 +3048,12 @@ function Aw(i) {
|
|
3048
3048
|
;
|
3049
3049
|
return r = s * s, n = r * r * r, i.x = ro * i.x * (tn + 3 * sn * r + n * (7 * rn + 9 * nn * r)) / Math.cos(s), i.y = Math.asin(Math.sin(s) / ro), i.x = R(i.x + this.long0), i;
|
3050
3050
|
}
|
3051
|
-
var
|
3052
|
-
const
|
3051
|
+
var Dw = ["eqearth", "Equal Earth", "Equal_Earth"];
|
3052
|
+
const Nw = {
|
3053
3053
|
init: Iw,
|
3054
3054
|
forward: Tw,
|
3055
3055
|
inverse: Aw,
|
3056
|
-
names:
|
3056
|
+
names: Dw
|
3057
3057
|
};
|
3058
3058
|
var wn = 1e-10;
|
3059
3059
|
function Rw() {
|
@@ -3099,7 +3099,7 @@ const Bw = {
|
|
3099
3099
|
names: zw
|
3100
3100
|
};
|
3101
3101
|
function Hw(i) {
|
3102
|
-
i.Proj.projections.add(Va), i.Proj.projections.add(za), i.Proj.projections.add(F_), i.Proj.projections.add(q_), i.Proj.projections.add(K_), i.Proj.projections.add(sv), i.Proj.projections.add(hv), i.Proj.projections.add(gv), i.Proj.projections.add(vv), i.Proj.projections.add(Mv), i.Proj.projections.add(Bv), i.Proj.projections.add(Wv), i.Proj.projections.add(Kv), i.Proj.projections.add(r0), i.Proj.projections.add(h0), i.Proj.projections.add(g0), i.Proj.projections.add(v0), i.Proj.projections.add(M0), i.Proj.projections.add(I0), i.Proj.projections.add(R0), i.Proj.projections.add(z0), i.Proj.projections.add(U0), i.Proj.projections.add(Z0), i.Proj.projections.add(tw), i.Proj.projections.add(aw), i.Proj.projections.add(gw), i.Proj.projections.add(vw), i.Proj.projections.add(Mw), i.Proj.projections.add(Lw), i.Proj.projections.add(
|
3102
|
+
i.Proj.projections.add(Va), i.Proj.projections.add(za), i.Proj.projections.add(F_), i.Proj.projections.add(q_), i.Proj.projections.add(K_), i.Proj.projections.add(sv), i.Proj.projections.add(hv), i.Proj.projections.add(gv), i.Proj.projections.add(vv), i.Proj.projections.add(Mv), i.Proj.projections.add(Bv), i.Proj.projections.add(Wv), i.Proj.projections.add(Kv), i.Proj.projections.add(r0), i.Proj.projections.add(h0), i.Proj.projections.add(g0), i.Proj.projections.add(v0), i.Proj.projections.add(M0), i.Proj.projections.add(I0), i.Proj.projections.add(R0), i.Proj.projections.add(z0), i.Proj.projections.add(U0), i.Proj.projections.add(Z0), i.Proj.projections.add(tw), i.Proj.projections.add(aw), i.Proj.projections.add(gw), i.Proj.projections.add(vw), i.Proj.projections.add(Mw), i.Proj.projections.add(Lw), i.Proj.projections.add(Nw), i.Proj.projections.add(Bw);
|
3103
3103
|
}
|
3104
3104
|
je.defaultDatum = "WGS84";
|
3105
3105
|
je.Proj = pi;
|
@@ -3297,7 +3297,7 @@ function Ss(i) {
|
|
3297
3297
|
function yf(i, t) {
|
3298
3298
|
return ee.fromDegrees(i[0], i[1], i[2], t);
|
3299
3299
|
}
|
3300
|
-
function
|
3300
|
+
function Dt(i, t) {
|
3301
3301
|
const e = B.mercatorToWgs84(i);
|
3302
3302
|
return _.fromDegrees(e[0], e[1], e[2], void 0, t ?? new _());
|
3303
3303
|
}
|
@@ -3318,7 +3318,7 @@ function qo(i, t) {
|
|
3318
3318
|
function $w(i, t) {
|
3319
3319
|
let e;
|
3320
3320
|
i[2] > t[2] ? (e = i.slice(), e[2] = t[2]) : (e = t.slice(), e[2] = i[2]);
|
3321
|
-
const s =
|
3321
|
+
const s = Dt(i), r = Dt(t), n = Dt(e);
|
3322
3322
|
_.subtract(r, s, r), _.subtract(n, s, n), _.normalize(r, r), _.normalize(n, n);
|
3323
3323
|
let a;
|
3324
3324
|
return i[2] > t[2] ? a = x.toDegrees(Math.acos(_.dot(r, n))) - 90 : a = x.toDegrees(Math.acos(_.dot(r, n))), a;
|
@@ -3338,7 +3338,7 @@ function qw(i, t) {
|
|
3338
3338
|
}
|
3339
3339
|
let fl = new _(), gl = new _();
|
3340
3340
|
function Ww(i, t) {
|
3341
|
-
return fl =
|
3341
|
+
return fl = Dt(i, fl), gl = Dt(t, gl), _.distance(fl, gl);
|
3342
3342
|
}
|
3343
3343
|
Ft.prototype.getCoordinates = function() {
|
3344
3344
|
return [this.getCenter(), this.getLastCoordinate()];
|
@@ -3515,7 +3515,7 @@ Ii.ERROR = Te.ERROR | Te.WARN | Te.INFO | Te.DEBUG;
|
|
3515
3515
|
Ii.WARN = Te.WARN | Te.INFO | Te.DEBUG;
|
3516
3516
|
Ii.INFO = Te.INFO | Te.DEBUG;
|
3517
3517
|
Ii.DEBUG = Te.DEBUG;
|
3518
|
-
const
|
3518
|
+
const Dr = {
|
3519
3519
|
useTimestamp: !1,
|
3520
3520
|
logLevel: Te.INFO
|
3521
3521
|
}, ta = /* @__PURE__ */ new Map();
|
@@ -3536,7 +3536,7 @@ class vf {
|
|
3536
3536
|
* @param {...any} optArgs
|
3537
3537
|
*/
|
3538
3538
|
error(t, ...e) {
|
3539
|
-
|
3539
|
+
Dr.logLevel & Ii.ERROR && this._log(String(t), Te.ERROR, e);
|
3540
3540
|
}
|
3541
3541
|
/**
|
3542
3542
|
* Logs a warning message
|
@@ -3544,7 +3544,7 @@ class vf {
|
|
3544
3544
|
* @param {...any} optArgs
|
3545
3545
|
*/
|
3546
3546
|
warning(t, ...e) {
|
3547
|
-
|
3547
|
+
Dr.logLevel & Ii.WARN && this._log(String(t), Te.WARN, e);
|
3548
3548
|
}
|
3549
3549
|
/**
|
3550
3550
|
* Deprecate a function. deprecations are stored on the logger
|
@@ -3565,7 +3565,7 @@ class vf {
|
|
3565
3565
|
* @param {...any} optArgs
|
3566
3566
|
*/
|
3567
3567
|
info(t, ...e) {
|
3568
|
-
|
3568
|
+
Dr.logLevel & Ii.INFO && this._log(String(t), Te.INFO, e);
|
3569
3569
|
}
|
3570
3570
|
/**
|
3571
3571
|
* Logs a debug message
|
@@ -3573,7 +3573,7 @@ class vf {
|
|
3573
3573
|
* @param {...any} optArgs
|
3574
3574
|
*/
|
3575
3575
|
debug(t, ...e) {
|
3576
|
-
|
3576
|
+
Dr.logLevel & Ii.DEBUG && this._log(String(t), Te.DEBUG, e);
|
3577
3577
|
}
|
3578
3578
|
/**
|
3579
3579
|
* Alias for debug
|
@@ -3581,7 +3581,7 @@ class vf {
|
|
3581
3581
|
* @param {...any} optArgs
|
3582
3582
|
*/
|
3583
3583
|
log(t, ...e) {
|
3584
|
-
|
3584
|
+
Dr.logLevel & Ii.DEBUG && this._log(String(t), Te.DEBUG, e);
|
3585
3585
|
}
|
3586
3586
|
/**
|
3587
3587
|
* Logs a message
|
@@ -4581,7 +4581,7 @@ class _e extends wi {
|
|
4581
4581
|
}, super.destroy();
|
4582
4582
|
}
|
4583
4583
|
}
|
4584
|
-
const
|
4584
|
+
const Ds = new _e(xf());
|
4585
4585
|
ia.registerClass(_e.className, _e);
|
4586
4586
|
function mS(i) {
|
4587
4587
|
var e;
|
@@ -4590,11 +4590,11 @@ function mS(i) {
|
|
4590
4590
|
fill: { color: t },
|
4591
4591
|
stroke: {
|
4592
4592
|
color: t,
|
4593
|
-
width: (e =
|
4593
|
+
width: (e = Ds.stroke) == null ? void 0 : e.getWidth()
|
4594
4594
|
}
|
4595
4595
|
});
|
4596
4596
|
}
|
4597
|
-
const
|
4597
|
+
const Ni = Symbol("originalStyle"), Ne = Symbol("highlighted"), ht = Symbol("hidden"), Nt = Symbol("globalHidden");
|
4598
4598
|
var ye;
|
4599
4599
|
(function(i) {
|
4600
4600
|
i[i.HIGHLIGHT = 1] = "HIGHLIGHT", i[i.UNHIGHLIGHT = 2] = "UNHIGHLIGHT", i[i.HIDE = 3] = "HIDE", i[i.SHOW = 4] = "SHOW";
|
@@ -4606,28 +4606,28 @@ function Cn(i) {
|
|
4606
4606
|
(i instanceof ds || i instanceof fs) && ra(i) || i instanceof gs ? i.show = !1 : i instanceof he && i.changed();
|
4607
4607
|
}
|
4608
4608
|
function uo(i) {
|
4609
|
-
Reflect.has(i,
|
4609
|
+
Reflect.has(i, Ni) || ((i instanceof ds || i instanceof fs) && ra(i) ? i[Ni] = i.color.clone() : i instanceof he && (i[Ni] = i.getStyle()));
|
4610
4610
|
}
|
4611
4611
|
function Of(i) {
|
4612
|
-
if (!(i[
|
4613
|
-
const t = i[
|
4614
|
-
t && (i instanceof ds || i instanceof fs) && ra(i) ? i.color = t : i instanceof he && i.changed(), delete i[
|
4612
|
+
if (!(i[Nt] || i[ht] || i[Ne])) {
|
4613
|
+
const t = i[Ni];
|
4614
|
+
t && (i instanceof ds || i instanceof fs) && ra(i) ? i.color = t : i instanceof he && i.changed(), delete i[Ni];
|
4615
4615
|
}
|
4616
4616
|
}
|
4617
4617
|
function Mn(i) {
|
4618
|
-
if (!(i[
|
4619
|
-
const t = i[
|
4618
|
+
if (!(i[Nt] || i[ht])) {
|
4619
|
+
const t = i[Ne];
|
4620
4620
|
(i instanceof ds || i instanceof fs) && ra(i) && t ? i.color = t.cesiumFillColor : i instanceof he && i.changed();
|
4621
4621
|
}
|
4622
4622
|
}
|
4623
4623
|
function Yh(i) {
|
4624
|
-
delete i[
|
4624
|
+
delete i[Ni], uo(i), i[ht] || i[Nt] ? Cn(i) : i[Ne] && Mn(i);
|
4625
4625
|
}
|
4626
4626
|
function pS(i) {
|
4627
|
-
delete i[
|
4627
|
+
delete i[Ne], Of(i);
|
4628
4628
|
}
|
4629
4629
|
function Pf(i, t) {
|
4630
|
-
delete i[t], i[ht] || i[
|
4630
|
+
delete i[t], i[ht] || i[Nt] || (((i instanceof ds || i instanceof fs) && ra(i) || i instanceof gs) && (i.show = !0), i[Ne] ? Mn(i) : Of(i));
|
4631
4631
|
}
|
4632
4632
|
function Lf(i, t) {
|
4633
4633
|
function e({ action: n, ids: a }) {
|
@@ -4670,7 +4670,7 @@ class na {
|
|
4670
4670
|
o && !Array.isArray(o) && (n.label = String(o)), n.style = r;
|
4671
4671
|
} else qi(r, Function) ? (n = new _e({}), n.style = r) : n = r;
|
4672
4672
|
this.highlightedObjects[s] ? this.highlightedObjects[s].style !== n && (this.highlightedObjects[s].style = n, this.highlightedObjects[s].features.forEach((o, l) => {
|
4673
|
-
l[
|
4673
|
+
l[Ne] = n, Mn(l);
|
4674
4674
|
})) : (this.highlightedObjects[s] = {
|
4675
4675
|
style: n,
|
4676
4676
|
features: /* @__PURE__ */ new Set()
|
@@ -4705,7 +4705,7 @@ class na {
|
|
4705
4705
|
return this.highlightedObjects[t] && this.highlightedObjects[t].features.has(e);
|
4706
4706
|
}
|
4707
4707
|
addHighlightFeature(t, e) {
|
4708
|
-
this.highlightedObjects[t] && (uo(e), this.highlightedObjects[t].features.add(e), e[
|
4708
|
+
this.highlightedObjects[t] && (uo(e), this.highlightedObjects[t].features.add(e), e[Ne] = this.highlightedObjects[t].style, Mn(e));
|
4709
4709
|
}
|
4710
4710
|
/**
|
4711
4711
|
* hides a number of objects
|
@@ -4778,14 +4778,14 @@ he.prototype.getPropertyInherited = function(t) {
|
|
4778
4778
|
};
|
4779
4779
|
const yS = he.prototype.getStyleFunction;
|
4780
4780
|
he.prototype.getStyleFunction = function() {
|
4781
|
-
return this[ht] || this[
|
4781
|
+
return this[ht] || this[Nt] ? () => [] : this[Ne] ? (t, e) => {
|
4782
4782
|
var s, r, n;
|
4783
|
-
return typeof ((s = this[
|
4783
|
+
return typeof ((s = this[Ne]) == null ? void 0 : s.style) == "function" ? (r = this[Ne]) == null ? void 0 : r.style(t, e) : [(n = this[Ne]) == null ? void 0 : n.style];
|
4784
4784
|
} : yS.bind(this)();
|
4785
4785
|
};
|
4786
4786
|
const _S = he.prototype.getStyle;
|
4787
4787
|
he.prototype.getStyle = function() {
|
4788
|
-
return this[ht] || this[
|
4788
|
+
return this[ht] || this[Nt] ? new Q({}) : this[Ne] ? this[Ne].style : _S.bind(this)();
|
4789
4789
|
};
|
4790
4790
|
jt._materialCache.addMaterial("Wallpaper", {
|
4791
4791
|
fabric: {
|
@@ -5322,7 +5322,7 @@ function _l() {
|
|
5322
5322
|
return U("OverrideCollection");
|
5323
5323
|
}
|
5324
5324
|
const oh = Symbol("OverrideCollection");
|
5325
|
-
function
|
5325
|
+
function DS(i) {
|
5326
5326
|
return i.toJSON ? i.toJSON() : structuredClone(i);
|
5327
5327
|
}
|
5328
5328
|
function Qt(i, t, e, s, r, n) {
|
@@ -5331,7 +5331,7 @@ function Qt(i, t, e, s, r, n) {
|
|
5331
5331
|
if (a[oh])
|
5332
5332
|
throw new Error("Cannot transform collection, collection already is an OverrideCollection");
|
5333
5333
|
a[oh] = !0;
|
5334
|
-
const o = s || ((d) => d), l = e ||
|
5334
|
+
const o = s || ((d) => d), l = e || DS, c = n || ((d, f, g) => g);
|
5335
5335
|
a.shadowMap = /* @__PURE__ */ new Map(), a.replace = function(f) {
|
5336
5336
|
const g = f[a.uniqueKey], m = a.getByKey(g);
|
5337
5337
|
if ((m == null ? void 0 : m[Qe]) === t()) {
|
@@ -5458,7 +5458,7 @@ class xn {
|
|
5458
5458
|
const e = [];
|
5459
5459
|
t.forEach((s) => {
|
5460
5460
|
this.hiddenObjects[s] && (this.hiddenObjects[s] -= 1, this.hiddenObjects[s] === 0 && (this._hiddenObjectFeatures[s] && (this._hiddenObjectFeatures[s].forEach((r) => {
|
5461
|
-
Pf(r,
|
5461
|
+
Pf(r, Nt);
|
5462
5462
|
}), this._hiddenObjectFeatures[s].clear()), delete this.hiddenObjects[s], e.push(s)));
|
5463
5463
|
}), e.length > 0 && this.changed.raiseEvent({
|
5464
5464
|
action: ye.SHOW,
|
@@ -5466,7 +5466,7 @@ class xn {
|
|
5466
5466
|
});
|
5467
5467
|
}
|
5468
5468
|
addFeature(t, e) {
|
5469
|
-
this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), uo(e), this._hiddenObjectFeatures[t].add(e), e[
|
5469
|
+
this._hiddenObjectFeatures[t] || (this._hiddenObjectFeatures[t] = /* @__PURE__ */ new Set()), uo(e), this._hiddenObjectFeatures[t].add(e), e[Nt] = !0, Cn(e);
|
5470
5470
|
}
|
5471
5471
|
hasFeature(t, e) {
|
5472
5472
|
return this._hiddenObjectFeatures[t] ? this._hiddenObjectFeatures[t].has(e) : !1;
|
@@ -5809,7 +5809,7 @@ class ft extends bt {
|
|
5809
5809
|
}
|
5810
5810
|
}
|
5811
5811
|
ze.registerClass(ft.className, ft);
|
5812
|
-
const ri = Symbol("alreadyTransformedToMercator"), qe = Symbol("alreadyTransformedToImage"), Jt = Symbol("obliqueGeometry"), aa = Symbol("doNotTransform"), mr = Symbol("OriginalFeature"), En = Symbol("ActuallyIsCircle"), Se = Symbol("createSync"), On = Symbol("primitives"), _s = new X(),
|
5812
|
+
const ri = Symbol("alreadyTransformedToMercator"), qe = Symbol("alreadyTransformedToImage"), Jt = Symbol("obliqueGeometry"), aa = Symbol("doNotTransform"), mr = Symbol("OriginalFeature"), En = Symbol("ActuallyIsCircle"), Se = Symbol("createSync"), On = Symbol("primitives"), _s = new X(), NS = new Wn({
|
5813
5813
|
font: "30px sans-serif",
|
5814
5814
|
fill: new lt({ color: Ha }),
|
5815
5815
|
textAlign: "left",
|
@@ -5901,7 +5901,7 @@ class ct extends wi {
|
|
5901
5901
|
if (this.cesiumStyle.labelText) {
|
5902
5902
|
const a = this.cesiumStyle.labelText.evaluate(e);
|
5903
5903
|
if (a) {
|
5904
|
-
const o =
|
5904
|
+
const o = NS.clone();
|
5905
5905
|
if (o.setText(a.toString()), this.cesiumStyle.font) {
|
5906
5906
|
const l = this.cesiumStyle.font.evaluate(e);
|
5907
5907
|
l && o.setFont(l);
|
@@ -6080,7 +6080,7 @@ function Ys(i, t) {
|
|
6080
6080
|
}
|
6081
6081
|
return t ? Array.isArray(t) ? t : [t] : [];
|
6082
6082
|
}
|
6083
|
-
function
|
6083
|
+
function Nr(i) {
|
6084
6084
|
for (const [t, e] of Object.entries(Wr))
|
6085
6085
|
if (e === i)
|
6086
6086
|
return t;
|
@@ -6458,7 +6458,7 @@ class It {
|
|
6458
6458
|
*/
|
6459
6459
|
setVcsMeta(t) {
|
6460
6460
|
const e = It.getDefaultOptions();
|
6461
|
-
t.altitudeMode || (t.altitudeMode =
|
6461
|
+
t.altitudeMode || (t.altitudeMode = Nr(this.altitudeMode)), Object.assign(e, t), this.setValues(e);
|
6462
6462
|
}
|
6463
6463
|
/**
|
6464
6464
|
* sets given values only raises propertyChanged event if a value has been set;
|
@@ -6546,7 +6546,7 @@ class It {
|
|
6546
6546
|
}
|
6547
6547
|
getValues() {
|
6548
6548
|
return {
|
6549
|
-
altitudeMode:
|
6549
|
+
altitudeMode: Nr(this.altitudeMode),
|
6550
6550
|
allowPicking: this.allowPicking,
|
6551
6551
|
classificationType: ba(this.classificationType),
|
6552
6552
|
scaleByDistance: Ca(this.scaleByDistance),
|
@@ -6585,7 +6585,7 @@ class It {
|
|
6585
6585
|
return A.every((at, kt, Ut) => kt === 0 ? !0 : Re(at, Ut[0]));
|
6586
6586
|
}
|
6587
6587
|
const r = t.map((A) => this.getAltitudeMode(A));
|
6588
|
-
s(r) && (e.altitudeMode =
|
6588
|
+
s(r) && (e.altitudeMode = Nr(r[0]));
|
6589
6589
|
const n = t.map((A) => this.getAllowPicking(A));
|
6590
6590
|
s(n) && (e.allowPicking = n[0]);
|
6591
6591
|
const a = t.map((A) => this.getClassificationType(A));
|
@@ -6616,8 +6616,8 @@ class It {
|
|
6616
6616
|
s(S) && (e.modelScaleX = S[0]);
|
6617
6617
|
const b = t.map((A) => this.getModelScaleY(A));
|
6618
6618
|
s(b) && (e.modelScaleY = b[0]);
|
6619
|
-
const
|
6620
|
-
s(
|
6619
|
+
const D = t.map((A) => this.getModelScaleZ(A));
|
6620
|
+
s(D) && (e.modelScaleZ = D[0]);
|
6621
6621
|
const C = t.map((A) => this.getModelHeading(A));
|
6622
6622
|
s(C) && (e.modelHeading = C[0]);
|
6623
6623
|
const M = t.map((A) => this.getModelPitch(A));
|
@@ -6657,7 +6657,7 @@ class It {
|
|
6657
6657
|
// XXX ugly design, this does NOT return a VcsMeta (missing version) but is missued to get config objects too often to change
|
6658
6658
|
getVcsMeta(t) {
|
6659
6659
|
const e = t || It.getDefaultOptions(), s = {};
|
6660
|
-
return
|
6660
|
+
return Nr(this.altitudeMode) !== e.altitudeMode && (s.altitudeMode = Nr(this.altitudeMode)), this.allowPicking !== e.allowPicking && (s.allowPicking = this.allowPicking), ba(this.classificationType) !== e.classificationType && (s.classificationType = ba(this.classificationType)), Re(Ca(this.scaleByDistance), e.scaleByDistance) || (s.scaleByDistance = Ca(this.scaleByDistance)), Re(Ma(this.eyeOffset), e.eyeOffset) || (s.eyeOffset = Ma(this.eyeOffset)), this.heightAboveGround !== e.heightAboveGround && (s.heightAboveGround = this.heightAboveGround), this.skirt !== e.skirt && (s.skirt = this.skirt), this.groundLevel !== e.groundLevel && (s.groundLevel = this.groundLevel), this.extrudedHeight !== e.extrudedHeight && (s.extrudedHeight = this.extrudedHeight), this.storeysAboveGround !== e.storeysAboveGround && (s.storeysAboveGround = this.storeysAboveGround), this.storeysBelowGround !== e.storeysBelowGround && (s.storeysBelowGround = this.storeysBelowGround), Re(this.storeyHeightsAboveGround, e.storeyHeightsAboveGround) || (s.storeyHeightsAboveGround = this.storeyHeightsAboveGround), Re(this.storeyHeightsBelowGround, e.storeyHeightsBelowGround) || (s.storeyHeightsBelowGround = this.storeyHeightsBelowGround), this.modelUrl !== e.modelUrl && (s.modelUrl = this.modelUrl), this.modelScaleX !== e.modelScaleX && (s.modelScaleX = this.modelScaleX), this.modelScaleY !== e.modelScaleY && (s.modelScaleY = this.modelScaleY), this.modelScaleZ !== e.modelScaleZ && (s.modelScaleZ = this.modelScaleZ), this.modelHeading !== e.modelHeading && (s.modelHeading = this.modelHeading), this.modelPitch !== e.modelPitch && (s.modelPitch = this.modelPitch), this.modelRoll !== e.modelRoll && (s.modelRoll = this.modelRoll), this.baseUrl !== e.baseUrl && (s.baseUrl = this.baseUrl), s;
|
6661
6661
|
}
|
6662
6662
|
/**
|
6663
6663
|
* destroys the vectorProperties and removes all listeners
|
@@ -6666,7 +6666,7 @@ class It {
|
|
6666
6666
|
this.propertyChanged.destroy();
|
6667
6667
|
}
|
6668
6668
|
}
|
6669
|
-
function
|
6669
|
+
function Df(i, t) {
|
6670
6670
|
if (i.image && i.image.src && /^data:/.test(i.image.src))
|
6671
6671
|
if (t) {
|
6672
6672
|
let e = t.indexOf(i.image.src);
|
@@ -6679,7 +6679,7 @@ function Nf(i, t) {
|
|
6679
6679
|
return i;
|
6680
6680
|
}
|
6681
6681
|
function FS(i, t = { version: Ri }) {
|
6682
|
-
return i instanceof _e ? t.style =
|
6682
|
+
return i instanceof _e ? t.style = Df(i.toJSON(), t.embeddedIcons) : i instanceof ct && (t.style = i.toJSON()), t;
|
6683
6683
|
}
|
6684
6684
|
function fo(i, t) {
|
6685
6685
|
if (qi(i, ke(wi, { type: String }))) {
|
@@ -7175,7 +7175,7 @@ var ch;
|
|
7175
7175
|
(function(i) {
|
7176
7176
|
i[i.INACTIVE = 1] = "INACTIVE", i[i.ACTIVE = 2] = "ACTIVE", i[i.LOADING = 4] = "LOADING";
|
7177
7177
|
})(ch || (ch = {}));
|
7178
|
-
const Vt = ch, J = Symbol("vcsLayerName"),
|
7178
|
+
const Vt = ch, J = Symbol("vcsLayerName"), Nf = Symbol("allowPicking"), vt = Symbol("vectorClusterGroupName");
|
7179
7179
|
function tu() {
|
7180
7180
|
return U("vcMap");
|
7181
7181
|
}
|
@@ -7731,7 +7731,7 @@ class be extends Pn {
|
|
7731
7731
|
}, f = d.width / d.height, g = Math.atan(Math.tan(c * 0.5) / f) * 2, m = 2 * (o ?? 1) * Math.tan(g / 2), p = r.getProjection().getMetersPerUnit() ?? 1, y = Math.cos(Math.abs(x.toRadians(a[1]))), S = m / p / y / d.height;
|
7732
7732
|
if (e.animate) {
|
7733
7733
|
let b = 0;
|
7734
|
-
return !this.fixedNorthOrientation && s != null && (b = -x.toRadians(s)), new Promise((
|
7734
|
+
return !this.fixedNorthOrientation && s != null && (b = -x.toRadians(s)), new Promise((D) => {
|
7735
7735
|
r.animate({
|
7736
7736
|
duration: e.duration ? e.duration * 1e3 : 100,
|
7737
7737
|
center: l,
|
@@ -7740,7 +7740,7 @@ class be extends Pn {
|
|
7740
7740
|
resolution: S,
|
7741
7741
|
rotation: b
|
7742
7742
|
}, () => {
|
7743
|
-
|
7743
|
+
D();
|
7744
7744
|
});
|
7745
7745
|
});
|
7746
7746
|
} else
|
@@ -7971,10 +7971,10 @@ function ai(i, t) {
|
|
7971
7971
|
return BS(i);
|
7972
7972
|
const e = t;
|
7973
7973
|
let s = null;
|
7974
|
-
return i instanceof
|
7974
|
+
return i instanceof De ? s = [e] : i instanceof St ? s = e : i instanceof Ze ? s = e.reduce((r, n) => r.concat(n)) : i instanceof zo ? s = e : i instanceof Yn ? s = e.reduce((r, n) => r.concat(n)) : i instanceof Ps ? s = e.reduce((r, n) => r.concat(n)).reduce((r, n) => r.concat(n)) : i instanceof Ft ? s = e : i instanceof us && (s = i.getGeometries().map((r, n) => ai(r, e == null ? void 0 : e[n])).reduce((r, n) => r.concat(n))), s;
|
7975
7975
|
}
|
7976
7976
|
function Ff(i, t) {
|
7977
|
-
const e =
|
7977
|
+
const e = Na(B.mercatorToWgs84(i), t, Math.PI / 2), s = B.wgs84ToMercator(e), r = i[0] - s[0], n = i[1] - s[1], a = r * r, o = n * n, l = Math.sqrt(a + o);
|
7978
7978
|
return new Ft(i, l);
|
7979
7979
|
}
|
7980
7980
|
function Gf(i) {
|
@@ -8682,7 +8682,7 @@ async function fb(i, t, e, s, r, n, a) {
|
|
8682
8682
|
function Cl(i, t, e) {
|
8683
8683
|
var r, n;
|
8684
8684
|
let s;
|
8685
|
-
return bs(i, Bt.CYLINDER) ? s = e ? new sp(i.geometryOptions) : new Ad(i.geometryOptions) : bs(i, Bt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new rp(i.geometryOptions) : new
|
8685
|
+
return bs(i, Bt.CYLINDER) ? s = e ? new sp(i.geometryOptions) : new Ad(i.geometryOptions) : bs(i, Bt.ELLIPSOID) && (Array.isArray((r = i.geometryOptions) == null ? void 0 : r.radii) && (i.geometryOptions.radii = _.fromArray(i.geometryOptions.radii)), Array.isArray((n = i.geometryOptions) == null ? void 0 : n.innerRadii) && (i.geometryOptions.innerRadii = _.fromArray(i.geometryOptions.innerRadii)), s = e ? new rp(i.geometryOptions) : new Dd(i.geometryOptions)), bs(i, Bt.SPHERE) && (s = e ? new np(i.geometryOptions) : new ap(i.geometryOptions)), bs(i, Bt.BOX) && (Array.isArray(i.geometryOptions.minimum) && (i.geometryOptions.minimum = _.fromArray(i.geometryOptions.minimum)), Array.isArray(i.geometryOptions.maximum) && (i.geometryOptions.maximum = _.fromArray(i.geometryOptions.maximum)), s = e ? new op(i.geometryOptions) : new Th(i.geometryOptions)), s ? new st({
|
8686
8686
|
geometry: s,
|
8687
8687
|
attributes: {
|
8688
8688
|
color: fn.fromColor(t)
|
@@ -8706,10 +8706,10 @@ function Zf(i, t, e, s, r, n, a) {
|
|
8706
8706
|
let v;
|
8707
8707
|
((E = o.primitiveOptions.offset) == null ? void 0 : E.length) === 3 && (v = _.fromArray(o.primitiveOptions.offset), G.setTranslation(y, _.multiplyComponents(v, g, new _()), y));
|
8708
8708
|
const S = zi.headingPitchRollToFixedFrame(e, m), b = G.multiply(S, y, new G());
|
8709
|
-
let
|
8709
|
+
let D;
|
8710
8710
|
if (o.primitiveOptions.depthFailColor) {
|
8711
8711
|
const O = yi(o.primitiveOptions.depthFailColor, [255, 255, 255, 0.4]);
|
8712
|
-
|
8712
|
+
D = new Xa({
|
8713
8713
|
translucent: O.alpha < 1,
|
8714
8714
|
material: jt.fromType("Color", {
|
8715
8715
|
color: O
|
@@ -8732,12 +8732,12 @@ function Zf(i, t, e, s, r, n, a) {
|
|
8732
8732
|
return o.autoScale && (v ? db(te, S, g, v) : _.ONE.equals(g) || Yf(te, g)), bi(a.heightReference) && a.groundLevel == null && Xf(te, g, m, a.heightReference, n, s, v), te;
|
8733
8733
|
}, M = [];
|
8734
8734
|
if (d)
|
8735
|
-
M.push(C(d.alpha < 1 || !!
|
8736
|
-
else if (
|
8735
|
+
M.push(C(d.alpha < 1 || !!D, [Cl(o.primitiveOptions, d)], D));
|
8736
|
+
else if (D) {
|
8737
8737
|
const O = X.TRANSPARENT;
|
8738
|
-
M.push(C(!0, [Cl(o.primitiveOptions, O)],
|
8738
|
+
M.push(C(!0, [Cl(o.primitiveOptions, O)], D));
|
8739
8739
|
}
|
8740
|
-
return f && M.push(C(f.alpha < 1 || !!
|
8740
|
+
return f && M.push(C(f.alpha < 1 || !!D, [
|
8741
8741
|
Cl(o.primitiveOptions, f, !0)
|
8742
8742
|
])), M.map((O) => ({
|
8743
8743
|
type: "primitive",
|
@@ -8879,7 +8879,7 @@ function _b(i, t, e, s, r, n) {
|
|
8879
8879
|
return [];
|
8880
8880
|
const c = t.getOlcsStyle();
|
8881
8881
|
return a.map((d) => {
|
8882
|
-
const f = new
|
8882
|
+
const f = new De(d.location), g = new Ge({
|
8883
8883
|
...i.getProperties(),
|
8884
8884
|
olcs_primitiveOptions: t.primitiveOptions,
|
8885
8885
|
olcs_modelHeading: d.heading,
|
@@ -9030,13 +9030,13 @@ function xb(i, t, e, s, r, n) {
|
|
9030
9030
|
const o = Hi(i, t), l = new _(i[0], i[1], i[2] ?? 0), c = new _(a[0], a[1], a[2] ?? 0), u = new _(t[0], t[1], t[2] ?? 0);
|
9031
9031
|
let d;
|
9032
9032
|
if (n > 0) {
|
9033
|
-
const v = 1 / _.distance(l, c) * n, S = e / 4, b = (v > 0.5 ? Math.abs(1 - v) : v) * S,
|
9034
|
-
|
9033
|
+
const v = 1 / _.distance(l, c) * n, S = e / 4, b = (v > 0.5 ? Math.abs(1 - v) : v) * S, D = _.lerp(l, c, v, new _());
|
9034
|
+
D.z += b;
|
9035
9035
|
const C = _.lerp(u, c, v, new _());
|
9036
|
-
C.z += b, d = [
|
9036
|
+
C.z += b, d = [D, c, C];
|
9037
9037
|
} else
|
9038
9038
|
d = [l, c, u];
|
9039
|
-
const f = (o - n * 2) / 64, g = new
|
9039
|
+
const f = (o - n * 2) / 64, g = new Nd({
|
9040
9040
|
times: [0, 0.5, 1],
|
9041
9041
|
points: d,
|
9042
9042
|
firstTangent: new _(0, 0, r * f),
|
@@ -9286,7 +9286,7 @@ function Ab(i, t, e, s) {
|
|
9286
9286
|
})
|
9287
9287
|
};
|
9288
9288
|
}
|
9289
|
-
function
|
9289
|
+
function Db(i, t, e, s) {
|
9290
9290
|
var c;
|
9291
9291
|
const r = e.getAllowPicking(i), n = s.map(({ geometry: u }) => new st({
|
9292
9292
|
geometry: u
|
@@ -9320,7 +9320,7 @@ function Nb(i, t, e, s) {
|
|
9320
9320
|
})
|
9321
9321
|
};
|
9322
9322
|
}
|
9323
|
-
function
|
9323
|
+
function Nb(i, t, e, s) {
|
9324
9324
|
var u;
|
9325
9325
|
const r = e.getAllowPicking(i), n = s.map(({ geometry: d }) => new st({
|
9326
9326
|
geometry: d
|
@@ -9382,7 +9382,7 @@ function Ln(i, t, e = 1) {
|
|
9382
9382
|
}) : i instanceof Q && s.push(i), s;
|
9383
9383
|
}
|
9384
9384
|
function Qh(i) {
|
9385
|
-
if (i instanceof
|
9385
|
+
if (i instanceof De || i instanceof Ze || i instanceof St || i instanceof Ft)
|
9386
9386
|
return [i];
|
9387
9387
|
if (i instanceof zo)
|
9388
9388
|
return i.getPoints();
|
@@ -9397,7 +9397,7 @@ function Qh(i) {
|
|
9397
9397
|
async function Fb(i, t, e, s, r) {
|
9398
9398
|
var u, d, f, g;
|
9399
9399
|
const n = Zh(i, t, s);
|
9400
|
-
if (t instanceof
|
9400
|
+
if (t instanceof De)
|
9401
9401
|
return !e.getImage() && !((u = e.getText()) != null && u.getText()) || !Kf(t) ? [] : await yb(i, t, e, s, r, n);
|
9402
9402
|
let a, o;
|
9403
9403
|
if (t instanceof Ze ? a = ib() : t instanceof St ? e instanceof Jo ? ((d = i[gi]) != null && d.coordinates ? a = wb((f = i[gi]) == null ? void 0 : f.coordinates, n.heightReference) : a = hu(), o = e) : a = hu() : a = hb(), !e.getFill() && !e.getStroke() || !a.validateGeometry(t))
|
@@ -9442,7 +9442,7 @@ function Vb(i, t, e, s) {
|
|
9442
9442
|
}
|
9443
9443
|
function lg(i, t, e, s, r) {
|
9444
9444
|
const n = [];
|
9445
|
-
return i.classificationPrimitive.length && n.push(Lb(t, e, s, i.classificationPrimitive)), i.solidPrimitive.length && n.push(Ib(t, e, s, r, i.solidPrimitive)), i.outlinePrimitive.length && n.push(Ab(t, e, s, i.outlinePrimitive)), i.linePrimitive.length && n.push(
|
9445
|
+
return i.classificationPrimitive.length && n.push(Lb(t, e, s, i.classificationPrimitive)), i.solidPrimitive.length && n.push(Ib(t, e, s, r, i.solidPrimitive)), i.outlinePrimitive.length && n.push(Ab(t, e, s, i.outlinePrimitive)), i.linePrimitive.length && n.push(Db(t, e, s, i.linePrimitive)), i.groundLinePrimitive.length && n.push(Nb(t, e, s, i.groundLinePrimitive)), i.groundPrimitive.length && n.push(Tb(t, e, s, r, i.groundPrimitive)), i.clampedPrimitives.forEach((a, o) => {
|
9446
9446
|
const [l, c, u] = o.split(":").map(Number), d = Vb(a, t, s, r), f = lg(d, t, e, s, r);
|
9447
9447
|
f.forEach(({ item: g }) => {
|
9448
9448
|
Pb(r, g, [l, c], u);
|
@@ -9825,13 +9825,13 @@ function Ub(i, t, e, s, r) {
|
|
9825
9825
|
], b = Rr(v, S);
|
9826
9826
|
if (b == null || b / (Math.PI * 180) > 5)
|
9827
9827
|
continue;
|
9828
|
-
const
|
9828
|
+
const D = [
|
9829
9829
|
n[m][0] - n[p][0],
|
9830
9830
|
n[m][1] - n[p][1]
|
9831
9831
|
], C = [
|
9832
9832
|
n[p][0] - n[m][0],
|
9833
9833
|
n[p][1] - n[m][1]
|
9834
|
-
], M = Rr(v,
|
9834
|
+
], M = Rr(v, D);
|
9835
9835
|
if (M == null)
|
9836
9836
|
continue;
|
9837
9837
|
const E = Rr(v, C);
|
@@ -9883,14 +9883,14 @@ function Ub(i, t, e, s, r) {
|
|
9883
9883
|
], b = [
|
9884
9884
|
v[0] + S[0] * d[1].ratioStart2End,
|
9885
9885
|
v[1] + S[1] * d[1].ratioStart2End
|
9886
|
-
],
|
9886
|
+
], D = [
|
9887
9887
|
p[0] - a[d[0].cornerPoint][0],
|
9888
9888
|
p[1] - a[d[0].cornerPoint][1]
|
9889
9889
|
], C = [
|
9890
9890
|
b[0] - a[d[1].cornerPoint][0],
|
9891
9891
|
b[1] - a[d[1].cornerPoint][1]
|
9892
9892
|
];
|
9893
|
-
return !(Rr(
|
9893
|
+
return !(Rr(D, C) == null || (c = gu([a[d[0].cornerPoint], p], [a[d[1].cornerPoint], b]), c.x == null || c.y == null));
|
9894
9894
|
}), c;
|
9895
9895
|
}
|
9896
9896
|
function mE(i, t, e = {}) {
|
@@ -10492,9 +10492,9 @@ function Qb(i, t) {
|
|
10492
10492
|
centerPointOnGround: d
|
10493
10493
|
};
|
10494
10494
|
if (g && f) {
|
10495
|
-
const y = e[f], v = se.fromRowMajorArray([].concat(...y["camera-matrix"])), S = se.inverse(v, new se()), b = se.fromRowMajorArray([].concat(...n["rotation-matrix"])),
|
10495
|
+
const y = e[f], v = se.fromRowMajorArray([].concat(...y["camera-matrix"])), S = se.inverse(v, new se()), b = se.fromRowMajorArray([].concat(...n["rotation-matrix"])), D = se.transpose(b, new se()), C = y["focal-length"] * -1;
|
10496
10496
|
se.multiplyByScalar(S, C, S);
|
10497
|
-
const M = se.multiply(
|
10497
|
+
const M = se.multiply(D, S, new se()), E = G.fromRotationTranslation(v, _.ZERO, new G()), O = _.fromArray(l), F = G.fromTranslation(_.multiplyByScalar(O, -1, new _()), new G()), Y = G.fromRotationTranslation(b, _.ZERO, new G()), te = G.multiply(E, G.multiply(Y, F, new G()), new G());
|
10498
10498
|
p.projectionCenter = O, p.pToRealworld = M, p.pToImage = te;
|
10499
10499
|
}
|
10500
10500
|
return new ic(p);
|
@@ -10506,7 +10506,7 @@ async function oa(i, t) {
|
|
10506
10506
|
throw new Error(`Failed fetching url ${i} with status: ${e.status}`);
|
10507
10507
|
return e;
|
10508
10508
|
}
|
10509
|
-
async function
|
10509
|
+
async function Ns(i, t) {
|
10510
10510
|
return (await oa(i, t)).json();
|
10511
10511
|
}
|
10512
10512
|
async function eC(i, t) {
|
@@ -10572,7 +10572,7 @@ class wu {
|
|
10572
10572
|
if (!this._loadingPromise) {
|
10573
10573
|
this._state = Ee.LOADING;
|
10574
10574
|
const t = ni(this.url, this._headers);
|
10575
|
-
this._loadingPromise =
|
10575
|
+
this._loadingPromise = Ns(this.url, t).then((e) => this._initialize(e)).catch((e) => Promise.reject(e));
|
10576
10576
|
}
|
10577
10577
|
return this._loadingPromise;
|
10578
10578
|
}
|
@@ -10664,7 +10664,7 @@ class wu {
|
|
10664
10664
|
if (this._tiles.get(t) !== Ee.PENDING)
|
10665
10665
|
return Promise.resolve();
|
10666
10666
|
this._tiles.set(t, Ee.LOADING);
|
10667
|
-
const e = ni(this.url, this._headers), s =
|
10667
|
+
const e = ni(this.url, this._headers), s = Ns(`${this.baseUrl}/${t}.json`, e).then((r) => {
|
10668
10668
|
const n = vu(r, this._imageMetas);
|
10669
10669
|
n.length > 0 && (this._images = this._images.concat(n), this.imagesLoaded.raiseEvent({
|
10670
10670
|
images: n,
|
@@ -12508,7 +12508,7 @@ class z extends Si {
|
|
12508
12508
|
indexChanged(e) {
|
12509
12509
|
const s = this.getVisualizationsForLayer(e);
|
12510
12510
|
s && s.forEach((r) => {
|
12511
|
-
r instanceof si ? yC(this.getScene().primitives, r, this.layerCollection) : r instanceof Vs ? _C(this.getScene().imageryLayers, r, this.layerCollection) : r instanceof
|
12511
|
+
r instanceof si ? yC(this.getScene().primitives, r, this.layerCollection) : r instanceof Vs ? _C(this.getScene().imageryLayers, r, this.layerCollection) : r instanceof Dh && vC(this.dataSourceDisplay.dataSources, r, this.layerCollection);
|
12512
12512
|
});
|
12513
12513
|
}
|
12514
12514
|
/**
|
@@ -12753,7 +12753,7 @@ class rt extends ji {
|
|
12753
12753
|
return !this.visibility || this.vectorClusterGroup ? [] : e instanceof be ? [new Rf(e, this.getImplementationOptions())] : e instanceof z ? [new Hb(e, this.getImplementationOptions())] : e instanceof Me ? [new yg(e, this.getImplementationOptions())] : [];
|
12754
12754
|
}
|
12755
12755
|
getStyleOrDefaultStyle(e, s) {
|
12756
|
-
return super.getStyleOrDefaultStyle(e, s ||
|
12756
|
+
return super.getStyleOrDefaultStyle(e, s || Ds.clone());
|
12757
12757
|
}
|
12758
12758
|
setStyle(e, s) {
|
12759
12759
|
super.setStyle(e, s), this._trackStyleChanges();
|
@@ -12761,7 +12761,7 @@ class rt extends ji {
|
|
12761
12761
|
this.getFeatures().forEach((n) => {
|
12762
12762
|
if (n[Ot]) {
|
12763
12763
|
let a;
|
12764
|
-
r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[Ot].style && (a = !0, n.setStyle(n[Ot].style)), a && Reflect.has(n,
|
12764
|
+
r ? (a = !0, n.setStyle(void 0)) : n.getStyle() !== n[Ot].style && (a = !0, n.setStyle(n[Ot].style)), a && Reflect.has(n, Ni) && Yh(n);
|
12765
12765
|
}
|
12766
12766
|
});
|
12767
12767
|
}
|
@@ -12974,9 +12974,9 @@ class Ai {
|
|
12974
12974
|
}
|
12975
12975
|
}
|
12976
12976
|
const wC = "EPSG:3857";
|
12977
|
-
let
|
12977
|
+
let Dl;
|
12978
12978
|
function rc() {
|
12979
|
-
return
|
12979
|
+
return Dl || (Dl = new Od()), Dl;
|
12980
12980
|
}
|
12981
12981
|
function SC(i) {
|
12982
12982
|
const { crs: t } = i;
|
@@ -13047,11 +13047,11 @@ function Lu(i, t) {
|
|
13047
13047
|
return null;
|
13048
13048
|
const e = i.geometry.olcs_radius;
|
13049
13049
|
let s = rc().readGeometry(i.geometry, t.formatOptions);
|
13050
|
-
if (i.radius && s instanceof
|
13050
|
+
if (i.radius && s instanceof De) {
|
13051
13051
|
const o = s.getCoordinates();
|
13052
13052
|
s = new Ft(o, i.radius);
|
13053
13053
|
}
|
13054
|
-
if (e && s instanceof
|
13054
|
+
if (e && s instanceof De) {
|
13055
13055
|
const o = s.getCoordinates();
|
13056
13056
|
s = Ff(o, e);
|
13057
13057
|
}
|
@@ -13076,12 +13076,12 @@ function is(i, t = {}) {
|
|
13076
13076
|
readLegacyStyleOptions: t.readLegacyStyleOptions,
|
13077
13077
|
defaultStyle: t.defaultStyle
|
13078
13078
|
};
|
13079
|
-
if (t.dynamicStyle && !n.defaultStyle && (n.defaultStyle =
|
13079
|
+
if (t.dynamicStyle && !n.defaultStyle && (n.defaultStyle = Ds), e.type === "FeatureCollection") {
|
13080
13080
|
e.vcsMeta = e.vcsMeta || {
|
13081
13081
|
embeddedIcons: e.vcsEmbeddedIcons
|
13082
13082
|
};
|
13083
13083
|
let a;
|
13084
|
-
return e.vcsMeta.embeddedIcons && (n.embeddedIcons = e.vcsMeta.embeddedIcons), e.vcsMeta.style && t.dynamicStyle && (e.vcsMeta.style.type === ct.className ? a = new ct(e.vcsMeta.style) : (e.vcsMeta.style = Sg(e.vcsMeta.style, n), n.defaultStyle = (n.defaultStyle ??
|
13084
|
+
return e.vcsMeta.embeddedIcons && (n.embeddedIcons = e.vcsMeta.embeddedIcons), e.vcsMeta.style && t.dynamicStyle && (e.vcsMeta.style.type === ct.className ? a = new ct(e.vcsMeta.style) : (e.vcsMeta.style = Sg(e.vcsMeta.style, n), n.defaultStyle = (n.defaultStyle ?? Ds).clone().assign(new _e(e.vcsMeta.style)), a = n.defaultStyle)), {
|
13085
13085
|
features: e.features.map((o) => Lu(o, n)).filter((o) => o),
|
13086
13086
|
style: e.vcsMeta.style ? a : void 0,
|
13087
13087
|
vcsMeta: e.vcsMeta ? e.vcsMeta : void 0
|
@@ -13096,14 +13096,14 @@ function is(i, t = {}) {
|
|
13096
13096
|
return { features: [CC(e, n)] };
|
13097
13097
|
return { features: [] };
|
13098
13098
|
}
|
13099
|
-
function
|
13099
|
+
function Dn(i, t = {}, e = []) {
|
13100
13100
|
let s = i.getGeometry();
|
13101
13101
|
if (!s)
|
13102
13102
|
throw new Error("Cannot write geometry less feature to geojson");
|
13103
13103
|
let r = null;
|
13104
13104
|
if (s instanceof Ft) {
|
13105
13105
|
const l = s.getCoordinates();
|
13106
|
-
r = pd(B.mercatorToWgs84(l[0], !0), B.mercatorToWgs84(l[1], !0)), s = new
|
13106
|
+
r = pd(B.mercatorToWgs84(l[0], !0), B.mercatorToWgs84(l[1], !0)), s = new De(s.getCenter());
|
13107
13107
|
} else if (s instanceof Ze) {
|
13108
13108
|
const l = s.getCoordinates();
|
13109
13109
|
l.forEach((c) => {
|
@@ -13129,14 +13129,14 @@ function Nn(i, t = {}, e = []) {
|
|
13129
13129
|
};
|
13130
13130
|
return t.writeId && (o.id = i.getId()), r && (o.geometry.olcs_radius = r), o.vcsMeta = {
|
13131
13131
|
version: Ri
|
13132
|
-
}, t.writeStyle && i[Ot] && (o.vcsMeta.style =
|
13132
|
+
}, t.writeStyle && i[Ot] && (o.vcsMeta.style = Df(i[Ot].getOptionsForFeature(i), e)), o;
|
13133
13133
|
}
|
13134
13134
|
function yE(i, t) {
|
13135
13135
|
const e = i.vcsMeta || { version: Ri };
|
13136
13136
|
e.version = Ri;
|
13137
13137
|
const r = {
|
13138
13138
|
type: "FeatureCollection",
|
13139
|
-
features: i.features.map((a) =>
|
13139
|
+
features: i.features.map((a) => Dn(a, t, e.embeddedIcons)),
|
13140
13140
|
vcsMeta: e
|
13141
13141
|
};
|
13142
13142
|
return t != null && t.asObject ? r : JSON.stringify(r, void 0, t != null && t.prettyPrint ? 2 : void 0);
|
@@ -13187,7 +13187,7 @@ function EC(i, t) {
|
|
13187
13187
|
}
|
13188
13188
|
t.vectorProperties && i.vectorProperties.setValues(t.vectorProperties), t.zIndex != null && (i.zIndex = t.zIndex);
|
13189
13189
|
}
|
13190
|
-
function
|
13190
|
+
function Nl(i, t, e, s) {
|
13191
13191
|
if (s == null ? t !== e : s !== t)
|
13192
13192
|
throw new Error(`Cannot merge options, values of ${i} do not match`);
|
13193
13193
|
}
|
@@ -13284,7 +13284,7 @@ class ss extends bt {
|
|
13284
13284
|
*/
|
13285
13285
|
mergeOptions(e) {
|
13286
13286
|
const s = ss.getDefaultConfig();
|
13287
|
-
|
13287
|
+
Nl("classRegistryName", this._classRegistryName, s.classRegistryName, e.classRegistryName), Nl("featureProperty", this._featureProperty, s.featureProperty, e.featureProperty), Nl("keyProperty", this._keyProperty, s.keyProperty, e.keyProperty), this.title = e.title || this.title, e.layerOptions && this._layer && EC(this._layer, e.layerOptions);
|
13288
13288
|
}
|
13289
13289
|
/**
|
13290
13290
|
* When setting the category, it MUST use the same uniqueKey as the previous collection (default is "name").
|
@@ -13324,7 +13324,7 @@ class ss extends bt {
|
|
13324
13324
|
const s = JSON.parse(JSON.stringify(e));
|
13325
13325
|
if (this._featureProperty && this._layer) {
|
13326
13326
|
const r = this._layer.getFeatureById(e[this._keyProperty]);
|
13327
|
-
r && (s[this._featureProperty] =
|
13327
|
+
r && (s[this._featureProperty] = Dn(r));
|
13328
13328
|
}
|
13329
13329
|
return s;
|
13330
13330
|
}
|
@@ -13435,7 +13435,7 @@ class pr extends bt {
|
|
13435
13435
|
*/
|
13436
13436
|
h(this, "mapTypes");
|
13437
13437
|
const r = pr.getDefaultOptions();
|
13438
|
-
this.layerName = e, this.style = s.style ? fo(s.style,
|
13438
|
+
this.layerName = e, this.style = s.style ? fo(s.style, Ds.clone()) : void 0, this.showGeometry = ae(s.showGeometry, r.showGeometry), this.vectorProperties = s.vectorProperties instanceof It ? s.vectorProperties : new It({
|
13439
13439
|
...r.vectorProperties,
|
13440
13440
|
...s.vectorProperties
|
13441
13441
|
}), this.mapTypes = Array.isArray(s.mapTypes) ? s.mapTypes : r.mapTypes;
|
@@ -13524,7 +13524,7 @@ var ut;
|
|
13524
13524
|
})(ut || (ut = {}));
|
13525
13525
|
function Cg(i) {
|
13526
13526
|
const t = {};
|
13527
|
-
return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === ut.MERCATOR ? new
|
13527
|
+
return i.numberOfLevelZeroTilesX && i.numberOfLevelZeroTilesX > 1 && (t.numberOfLevelZeroTilesX = i.numberOfLevelZeroTilesX), i.numberOfLevelZeroTilesY && i.numberOfLevelZeroTilesY > 1 && (t.numberOfLevelZeroTilesY = i.numberOfLevelZeroTilesY), i.tilingSchema === ut.MERCATOR ? new Nh(t) : new Bd(t);
|
13528
13528
|
}
|
13529
13529
|
function LC(i, t, e, s = 0) {
|
13530
13530
|
if (!i.isValid())
|
@@ -13711,7 +13711,7 @@ const TC = {
|
|
13711
13711
|
"application/vnd.geo+json",
|
13712
13712
|
"application/geo+json"
|
13713
13713
|
];
|
13714
|
-
function
|
13714
|
+
function DC(i, t = {}) {
|
13715
13715
|
if (i === "text/xml") {
|
13716
13716
|
const e = t.gmlFormat ? new TC[t.gmlFormat]() : new Yl();
|
13717
13717
|
return new Xl({ ...t, gmlFormat: e });
|
@@ -13749,7 +13749,7 @@ class Fs extends pr {
|
|
13749
13749
|
tileSize: s.tileSize || r.tileSize,
|
13750
13750
|
parameters: s.parameters,
|
13751
13751
|
version: s.version || r.version
|
13752
|
-
}, this._wmsSource = xg(this._wmsSourceOptions), this.featureInfoResponseType = s.responseType || r.responseType, this._formatOptions = s.formatOptions || r.formatOptions, this.featureFormat =
|
13752
|
+
}, this._wmsSource = xg(this._wmsSourceOptions), this.featureInfoResponseType = s.responseType || r.responseType, this._formatOptions = s.formatOptions || r.formatOptions, this.featureFormat = DC(this.featureInfoResponseType, s.formatOptions), this.projection = s.projection ? new B(s.projection) : void 0;
|
13753
13753
|
}
|
13754
13754
|
static get className() {
|
13755
13755
|
return "WMSFeatureProvider";
|
@@ -13790,7 +13790,7 @@ class Fs extends pr {
|
|
13790
13790
|
return this.getLogger().warning("Features could not be read, please verify the featureInfoResponseType with the capabilities from the server"), [];
|
13791
13791
|
}
|
13792
13792
|
return Array.isArray(r) ? (r.forEach((n) => {
|
13793
|
-
n.getGeometry() || n.setGeometry(new
|
13793
|
+
n.getGeometry() || n.setGeometry(new De(s));
|
13794
13794
|
}), r) : [];
|
13795
13795
|
}
|
13796
13796
|
async getFeaturesByCoordinate(e, s, r) {
|
@@ -13993,11 +13993,11 @@ function Tu(i, t, e) {
|
|
13993
13993
|
return !0;
|
13994
13994
|
}, { hitTolerance: e }), s;
|
13995
13995
|
}
|
13996
|
-
function
|
13996
|
+
function NC(i) {
|
13997
13997
|
let t;
|
13998
13998
|
if (i.primitive && i.primitive.olFeature)
|
13999
13999
|
t = i.primitive.olFeature;
|
14000
|
-
else if (i.primitive && i.primitive[J] && (i instanceof ds || i instanceof fs) && i.primitive[
|
14000
|
+
else if (i.primitive && i.primitive[J] && (i instanceof ds || i instanceof fs) && i.primitive[Nf] !== !1) {
|
14001
14001
|
t = i;
|
14002
14002
|
const e = Object.getOwnPropertySymbols(i.primitive), s = e.length;
|
14003
14003
|
for (let r = 0; r < s; r++)
|
@@ -14008,7 +14008,7 @@ function DC(i) {
|
|
14008
14008
|
function RC(i, t, e) {
|
14009
14009
|
const s = i.pick(t, e, e);
|
14010
14010
|
let r;
|
14011
|
-
return s && (r =
|
14011
|
+
return s && (r = NC(s)), { pickObject: s, feature: r };
|
14012
14012
|
}
|
14013
14013
|
class FC extends fe {
|
14014
14014
|
constructor() {
|
@@ -14096,7 +14096,7 @@ class GC extends fe {
|
|
14096
14096
|
if (r.length > 0)
|
14097
14097
|
if (r.length > 1) {
|
14098
14098
|
const n = new he({ features: r });
|
14099
|
-
n[bg] = !0, n[PC] = !0, n.setGeometry(new
|
14099
|
+
n[bg] = !0, n[PC] = !0, n.setGeometry(new De(t.position)), t.feature = n;
|
14100
14100
|
} else t.feature || (t.feature = r[0]);
|
14101
14101
|
}
|
14102
14102
|
return t;
|
@@ -14351,7 +14351,7 @@ class Cs extends ys {
|
|
14351
14351
|
}
|
14352
14352
|
this.tilesetProperties && this.tilesetProperties.forEach(({ key: e, value: s }) => {
|
14353
14353
|
this.cesium3DTileset[e] = s;
|
14354
|
-
}), this.cesium3DTileset[J] = this.name, this.cesium3DTileset[
|
14354
|
+
}), this.cesium3DTileset[J] = this.name, this.cesium3DTileset[Nf] = this.allowPicking, this.cesium3DTileset.tileVisible.addEventListener(this.applyStyle.bind(this)), this.cesium3DTileset.tileUnload.addEventListener((e) => {
|
14355
14355
|
delete e[Ji], delete e.content[Ji], delete e.content[Oa];
|
14356
14356
|
}), this._originalOrigin = _.clone(this.cesium3DTileset.boundingSphere.center), this.modelMatrix ? this.cesium3DTileset.modelMatrix = this.modelMatrix : this.offset && this._calculateOffset(), this.map.addPrimitiveCollection(this.cesium3DTileset), await super.initialize(), this.splitDirection && (this.cesium3DTileset.splitDirection = this.splitDirection), this.updateStyle(this.style);
|
14357
14357
|
}
|
@@ -14416,7 +14416,7 @@ class Cs extends ys {
|
|
14416
14416
|
let f = d.getProperty("id");
|
14417
14417
|
f || (f = `${e.url}${u}`);
|
14418
14418
|
let g = !0;
|
14419
|
-
this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, d) && (this.featureVisibility.addHighlightFeature(f, d), c.highlight.push([f, d]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, d) && (this.featureVisibility.addHiddenFeature(f, d), c.hideLocal.push([f, d])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, d)) && ((a = this.globalHider) == null || a.addFeature(f, d), c.hideGlobal.push([f, d])), g && this._styleLastUpdated > (e[Ji] ?? 0) && d[
|
14419
|
+
this.featureVisibility.highlightedObjects[f] && !this.featureVisibility.hasHighlightFeature(f, d) && (this.featureVisibility.addHighlightFeature(f, d), c.highlight.push([f, d]), g = !1), this.featureVisibility.hiddenObjects[f] && !this.featureVisibility.hasHiddenFeature(f, d) && (this.featureVisibility.addHiddenFeature(f, d), c.hideLocal.push([f, d])), (r = this.globalHider) != null && r.hiddenObjects[f] && !((n = this.globalHider) != null && n.hasFeature(f, d)) && ((a = this.globalHider) == null || a.addFeature(f, d), c.hideGlobal.push([f, d])), g && this._styleLastUpdated > (e[Ji] ?? 0) && d[Ni] && Yh(d);
|
14420
14420
|
}
|
14421
14421
|
}
|
14422
14422
|
(c.hideLocal.length > 0 || c.hideGlobal.length > 0 || c.highlight.length > 0) && (e[Oa] = () => {
|
@@ -14464,7 +14464,7 @@ class BC extends ys {
|
|
14464
14464
|
// eslint-disable-next-line class-methods-use-this
|
14465
14465
|
h(this, "_collectionListener", () => {
|
14466
14466
|
});
|
14467
|
-
this.dataSource = new
|
14467
|
+
this.dataSource = new Dh(this.name), this.dataSource[J] = this.name, this.entities = s.entities, this.clock = s.clock;
|
14468
14468
|
}
|
14469
14469
|
static get className() {
|
14470
14470
|
return "DataSourceCesiumImpl";
|
@@ -14669,7 +14669,7 @@ class nt extends bt {
|
|
14669
14669
|
/**
|
14670
14670
|
* Cesium Webmercator TilingScheme
|
14671
14671
|
*/
|
14672
|
-
h(this, "tilingScheme", new
|
14672
|
+
h(this, "tilingScheme", new Nh());
|
14673
14673
|
/**
|
14674
14674
|
* sorted baseLevels, maximumLevel first example: [18,17,16]
|
14675
14675
|
*/
|
@@ -15225,7 +15225,7 @@ class JC extends Or {
|
|
15225
15225
|
const a = this.extent.getCoordinatesInProjection(de);
|
15226
15226
|
a && (s.rectangle = dt.fromDegrees(a[0], a[1], a[2], a[3]));
|
15227
15227
|
}
|
15228
|
-
this.tilingSchema === "mercator" && (s.tilingScheme = new
|
15228
|
+
this.tilingSchema === "mercator" && (s.tilingScheme = new Nh());
|
15229
15229
|
const r = new Pp(s), n = this.getCesiumLayerOptions();
|
15230
15230
|
return Promise.resolve(new Vs(r, n));
|
15231
15231
|
}
|
@@ -15489,7 +15489,7 @@ class s1 {
|
|
15489
15489
|
const t = this._map.getScene();
|
15490
15490
|
this.state = We.PROCESSING;
|
15491
15491
|
const e = oc(this._tile, this._tileProvider.tilingScheme), s = new Ge({
|
15492
|
-
geometry: new
|
15492
|
+
geometry: new De(B.wgs84ToMercator(Ls(e))),
|
15493
15493
|
olcs_altitudeMode: "relativeToGround",
|
15494
15494
|
olcs_heightAboveGround: 5
|
15495
15495
|
});
|
@@ -15804,7 +15804,7 @@ class yo extends po {
|
|
15804
15804
|
*/
|
15805
15805
|
constructor(e) {
|
15806
15806
|
super(e);
|
15807
|
-
h(this, "_dataSource", new
|
15807
|
+
h(this, "_dataSource", new Dp());
|
15808
15808
|
h(this, "sourceUri");
|
15809
15809
|
// eslint-disable-next-line class-methods-use-this
|
15810
15810
|
h(this, "_loadedResolve", () => {
|
@@ -15867,7 +15867,7 @@ ze.registerClass(yo.className, yo);
|
|
15867
15867
|
function l1(i, t, e) {
|
15868
15868
|
const s = [];
|
15869
15869
|
return i.forEach((r) => {
|
15870
|
-
const n =
|
15870
|
+
const n = Dn(r, {
|
15871
15871
|
writeStyle: !0
|
15872
15872
|
});
|
15873
15873
|
s.push({
|
@@ -15879,7 +15879,7 @@ function l1(i, t, e) {
|
|
15879
15879
|
}
|
15880
15880
|
});
|
15881
15881
|
}), t.forEach((r) => {
|
15882
|
-
const n =
|
15882
|
+
const n = Dn(r, {
|
15883
15883
|
writeStyle: !0
|
15884
15884
|
});
|
15885
15885
|
n._id = r.getId(), s.push({
|
@@ -16073,7 +16073,7 @@ class c1 extends na {
|
|
16073
16073
|
s && this._changeTracker.pauseTracking("changefeature"), super.showObjects(e), s && this._changeTracker.track();
|
16074
16074
|
}
|
16075
16075
|
}
|
16076
|
-
const
|
16076
|
+
const Nn = Symbol("isTiledFeature");
|
16077
16077
|
class ls extends rt {
|
16078
16078
|
constructor(e) {
|
16079
16079
|
const s = ls.getDefaultOptions();
|
@@ -16170,14 +16170,14 @@ class ls extends rt {
|
|
16170
16170
|
return Promise.resolve();
|
16171
16171
|
const { twoDim: e } = this.staticRepresentation;
|
16172
16172
|
return this._twoDimLoaded || (this._twoDimLoaded = (async () => {
|
16173
|
-
const s = await
|
16173
|
+
const s = await Ns(e, {
|
16174
16174
|
headers: this.headers
|
16175
16175
|
}), { features: r } = is(s, {
|
16176
16176
|
targetProjection: q,
|
16177
16177
|
dynamicStyle: !0
|
16178
16178
|
}), n = this.style instanceof ct;
|
16179
16179
|
r.forEach((a) => {
|
16180
|
-
a[J] = this.name, a[
|
16180
|
+
a[J] = this.name, a[Nn] = !0, n && a[Ot] && a.setStyle(), this._setEditing && this._setEditing.featureType != null && (a[this._setEditing.symbol] = this._setEditing.featureType);
|
16181
16181
|
}), this._twoDimStaticSource.addFeatures(r);
|
16182
16182
|
})()), this._twoDimLoaded;
|
16183
16183
|
}
|
@@ -16199,7 +16199,7 @@ class ls extends rt {
|
|
16199
16199
|
},
|
16200
16200
|
tilesetProperties: [
|
16201
16201
|
{
|
16202
|
-
key:
|
16202
|
+
key: Nn,
|
16203
16203
|
value: !0
|
16204
16204
|
}
|
16205
16205
|
],
|
@@ -16235,7 +16235,7 @@ class ls extends rt {
|
|
16235
16235
|
this._twoDimStaticSource.getFeatures().forEach((a) => {
|
16236
16236
|
if (a[Ot]) {
|
16237
16237
|
let o;
|
16238
|
-
n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[Ot].style && (o = !0, a.setStyle(a[Ot].style)), o && Reflect.has(a,
|
16238
|
+
n ? (o = !0, a.setStyle(void 0)) : a.getStyle() !== a[Ot].style && (o = !0, a.setStyle(a[Ot].style)), o && Reflect.has(a, Ni) && Yh(a);
|
16239
16239
|
}
|
16240
16240
|
}), r && (this.changeTracker.track(), this.changeTracker.changed.raiseEvent());
|
16241
16241
|
}
|
@@ -16285,7 +16285,7 @@ class ls extends rt {
|
|
16285
16285
|
return this.hiddenStaticFeatureIds.has(e) ? Promise.resolve(this.getFeatureById(e)) : this.injectedFetchDynamicFeatureFunc ? this.injectedFetchDynamicFeatureFunc(e).then((s) => {
|
16286
16286
|
const { features: r } = is(s, {
|
16287
16287
|
targetProjection: q,
|
16288
|
-
defaultStyle: this.defaultStyle instanceof _e ? this.defaultStyle :
|
16288
|
+
defaultStyle: this.defaultStyle instanceof _e ? this.defaultStyle : Ds
|
16289
16289
|
});
|
16290
16290
|
return this._staticFeatureVisibility.hideObjects([e]), this.hiddenStaticFeatureIds.add(e), this.addFeatures(r), r[0];
|
16291
16291
|
}).catch((s) => {
|
@@ -16327,7 +16327,7 @@ class ls extends rt {
|
|
16327
16327
|
}
|
16328
16328
|
}
|
16329
16329
|
ze.registerClass(ls.className, ls);
|
16330
|
-
const Gr = 4, kr = 4, la = 4, Ki = new Int32Array(2), Au = new Float32Array(Ki.buffer),
|
16330
|
+
const Gr = 4, kr = 4, la = 4, Ki = new Int32Array(2), Au = new Float32Array(Ki.buffer), Du = new Float64Array(Ki.buffer), Pa = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
|
16331
16331
|
var vh;
|
16332
16332
|
(function(i) {
|
16333
16333
|
i[i.UTF8_BYTES = 1] = "UTF8_BYTES", i[i.UTF16_STRING = 2] = "UTF16_STRING";
|
@@ -16400,7 +16400,7 @@ class _o {
|
|
16400
16400
|
return Ki[0] = this.readInt32(t), Au[0];
|
16401
16401
|
}
|
16402
16402
|
readFloat64(t) {
|
16403
|
-
return Ki[Pa ? 0 : 1] = this.readInt32(t), Ki[Pa ? 1 : 0] = this.readInt32(t + 4),
|
16403
|
+
return Ki[Pa ? 0 : 1] = this.readInt32(t), Ki[Pa ? 1 : 0] = this.readInt32(t + 4), Du[0];
|
16404
16404
|
}
|
16405
16405
|
writeInt8(t, e) {
|
16406
16406
|
this.bytes_[t] = e;
|
@@ -16430,7 +16430,7 @@ class _o {
|
|
16430
16430
|
Au[0] = e, this.writeInt32(t, Ki[0]);
|
16431
16431
|
}
|
16432
16432
|
writeFloat64(t, e) {
|
16433
|
-
|
16433
|
+
Du[0] = e, this.writeInt32(t, Ki[Pa ? 0 : 1]), this.writeInt32(t + 4, Ki[Pa ? 1 : 0]);
|
16434
16434
|
}
|
16435
16435
|
/**
|
16436
16436
|
* Return the file identifier. Behavior is undefined for FlatBuffers whose
|
@@ -16907,7 +16907,7 @@ class Li {
|
|
16907
16907
|
}
|
16908
16908
|
}
|
16909
16909
|
new TextEncoder();
|
16910
|
-
let
|
16910
|
+
let Nu = new TextDecoder();
|
16911
16911
|
function u1(i, t, e, s, r) {
|
16912
16912
|
let n = e.columns;
|
16913
16913
|
return r(i, s(t.geometry(), e.geometryType), d1(t, n));
|
@@ -16959,13 +16959,13 @@ function d1(i, t) {
|
|
16959
16959
|
case Ke.DateTime:
|
16960
16960
|
case Ke.String: {
|
16961
16961
|
let u = r.getUint32(a, !0);
|
16962
|
-
a += 4, e[c] =
|
16962
|
+
a += 4, e[c] = Nu.decode(s.subarray(a, a + u)), a += u;
|
16963
16963
|
break;
|
16964
16964
|
}
|
16965
16965
|
case Ke.Json: {
|
16966
16966
|
let u = r.getUint32(a, !0);
|
16967
16967
|
a += 4;
|
16968
|
-
let d =
|
16968
|
+
let d = Nu.decode(s.subarray(a, a + u));
|
16969
16969
|
e[c] = JSON.parse(d), a += u;
|
16970
16970
|
break;
|
16971
16971
|
}
|
@@ -16988,7 +16988,7 @@ function Og(i, t) {
|
|
16988
16988
|
let r = Array.from(s), n = i.endsArray(), a = n ? Array.from(n.map((o) => o << 1)) : [r.length];
|
16989
16989
|
switch (e) {
|
16990
16990
|
case Xt.Point:
|
16991
|
-
return new
|
16991
|
+
return new De(r);
|
16992
16992
|
case Xt.MultiPoint:
|
16993
16993
|
return new zo(r, "XY");
|
16994
16994
|
case Xt.LineString:
|
@@ -18124,9 +18124,9 @@ async function* L1(i, t, e, s) {
|
|
18124
18124
|
return m && b < S ? b + 1 : b;
|
18125
18125
|
})(), y = p - g, v = new DataView(await s(40 * g, 40 * y));
|
18126
18126
|
for (let S = g; S < p; S++) {
|
18127
|
-
let b = S - g,
|
18128
|
-
if (o < v.getFloat64(
|
18129
|
-
let C = v.getBigUint64(
|
18127
|
+
let b = S - g, D = 40 * b;
|
18128
|
+
if (o < v.getFloat64(D + 0, !0) || l < v.getFloat64(D + 8, !0) || n > v.getFloat64(D + 16, !0) || a > v.getFloat64(D + 24, !0)) continue;
|
18129
|
+
let C = v.getBigUint64(D + 32, !0);
|
18130
18130
|
if (m) {
|
18131
18131
|
let F = (() => {
|
18132
18132
|
if (S < i - 1) {
|
@@ -18352,7 +18352,7 @@ class Fn extends rt {
|
|
18352
18352
|
e[Gl] = !0;
|
18353
18353
|
}), this._featuresToLoad = void 0), this.url) {
|
18354
18354
|
const e = ni(this.url, this.headers);
|
18355
|
-
this._dataFetchedPromise =
|
18355
|
+
this._dataFetchedPromise = Ns(this.url, e).then((s) => this._parseGeojsonData(s)).catch((s) => (this.getLogger().warning(`Could not send request for loading layer content (${String(s)})`), Promise.reject(s)));
|
18356
18356
|
} else
|
18357
18357
|
this._dataFetchedPromise = Promise.resolve();
|
18358
18358
|
return this._dataFetchedPromise;
|
@@ -18373,7 +18373,7 @@ class Fn extends rt {
|
|
18373
18373
|
e.features = this._featuresToLoad.slice();
|
18374
18374
|
else {
|
18375
18375
|
const n = this.getFeatures().filter((a) => a[Gl]);
|
18376
|
-
n.length > 0 && (e.features = n.map((a) =>
|
18376
|
+
n.length > 0 && (e.features = n.map((a) => Dn(a, { writeStyle: !0, writeId: !0 })));
|
18377
18377
|
}
|
18378
18378
|
return e;
|
18379
18379
|
}
|
@@ -18601,7 +18601,7 @@ class A1 extends ca {
|
|
18601
18601
|
return this.extent && this.extent.isValid() && (s.extent = this.extent.getCoordinatesInProjection(q)), new Sr(s);
|
18602
18602
|
}
|
18603
18603
|
}
|
18604
|
-
class
|
18604
|
+
class D1 extends Yo {
|
18605
18605
|
constructor(e, s) {
|
18606
18606
|
super(e, s);
|
18607
18607
|
h(this, "tileProvider");
|
@@ -18617,7 +18617,7 @@ class N1 extends Yo {
|
|
18617
18617
|
return "VectorTileOpenlayersImpl";
|
18618
18618
|
}
|
18619
18619
|
getOLLayer() {
|
18620
|
-
this.source = new
|
18620
|
+
this.source = new Dm({
|
18621
18621
|
minZoom: 0,
|
18622
18622
|
maxZoom: 26,
|
18623
18623
|
tileSize: this.tileSize,
|
@@ -18632,7 +18632,7 @@ class N1 extends Yo {
|
|
18632
18632
|
url: "/{z}/{x}/{y}"
|
18633
18633
|
});
|
18634
18634
|
const e = this.extent && this.extent.isValid() ? this.extent.getCoordinatesInProjection(q) : void 0, s = this.minLevel ? this.minLevel : void 0, r = this.maxLevel ? this.maxLevel + 1 : void 0;
|
18635
|
-
return new
|
18635
|
+
return new Nm({
|
18636
18636
|
visible: !1,
|
18637
18637
|
source: this.source,
|
18638
18638
|
renderBuffer: 200,
|
@@ -18662,7 +18662,7 @@ class N1 extends Yo {
|
|
18662
18662
|
this.source && (this.source.clear(), this.source = null), this.tileProvider = null, super.destroy();
|
18663
18663
|
}
|
18664
18664
|
}
|
18665
|
-
class
|
18665
|
+
class N1 extends ca {
|
18666
18666
|
constructor(e, s) {
|
18667
18667
|
super(e, s);
|
18668
18668
|
h(this, "parameters");
|
@@ -19014,7 +19014,7 @@ class xo extends nt {
|
|
19014
19014
|
this.locale !== e && (super.locale = e, this.url.includes("{locale}") && this.clearCache());
|
19015
19015
|
}
|
19016
19016
|
async loader(e, s, r, n) {
|
19017
|
-
const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = Tg(this.url, e, s, r, a, this.locale), l = ni(this.url, n), c = await
|
19017
|
+
const a = this.tilingScheme.tileXYToRectangle(e, s, r), o = Tg(this.url, e, s, r, a, this.locale), l = ni(this.url, n), c = await Ns(o, l), { features: u } = is(c, { dynamicStyle: !0 });
|
19018
19018
|
return u;
|
19019
19019
|
}
|
19020
19020
|
toJSON() {
|
@@ -19082,7 +19082,7 @@ class Oo extends nt {
|
|
19082
19082
|
}
|
19083
19083
|
// eslint-disable-next-line no-unused-vars
|
19084
19084
|
async loader(e, s, r, n) {
|
19085
|
-
const a = ni(this.url, n), o = await
|
19085
|
+
const a = ni(this.url, n), o = await Ns(this.url, a), { features: l } = is(o, { dynamicStyle: !0 });
|
19086
19086
|
return l;
|
19087
19087
|
}
|
19088
19088
|
toJSON() {
|
@@ -19182,7 +19182,7 @@ function Po(i, t, e) {
|
|
19182
19182
|
return e === Id ? !1 : "";
|
19183
19183
|
}
|
19184
19184
|
}
|
19185
|
-
function
|
19185
|
+
function Dg(i, t, e) {
|
19186
19186
|
const s = /\{\{([^}]+)}}/g;
|
19187
19187
|
return i.replace(s, (r, n) => {
|
19188
19188
|
const a = n.trim();
|
@@ -19200,7 +19200,7 @@ function nr(i, t) {
|
|
19200
19200
|
e.push(s);
|
19201
19201
|
return e;
|
19202
19202
|
}
|
19203
|
-
function
|
19203
|
+
function Ng(i, t, e, s) {
|
19204
19204
|
const r = i.slice(), n = t.slice();
|
19205
19205
|
for (; r.length > 0; ) {
|
19206
19206
|
let a, o;
|
@@ -19220,7 +19220,7 @@ function Hu(i) {
|
|
19220
19220
|
throw new Error("Template failed to render, missing opening tag for each statements");
|
19221
19221
|
if (s.length < e.length)
|
19222
19222
|
throw new Error("Template failed to render, missing closing tag for each statements");
|
19223
|
-
return
|
19223
|
+
return Ng(e, s, (r) => {
|
19224
19224
|
t.push(r);
|
19225
19225
|
}, () => {
|
19226
19226
|
}), t;
|
@@ -19236,7 +19236,7 @@ function k1(i, t) {
|
|
19236
19236
|
const l = (c) => {
|
19237
19237
|
n = n.filter((u) => !Vr(u, c)), a = a.filter((u) => !Vr(u, c));
|
19238
19238
|
};
|
19239
|
-
return
|
19239
|
+
return Ng(s, r, (c) => {
|
19240
19240
|
const u = n.filter((f) => Vr(f, c)), d = a.find((f) => Vr(f, c));
|
19241
19241
|
if (d && u.length > 0 && d.index < u.at(-1).index)
|
19242
19242
|
throw new Error("{{else}} must be the last entry in a block");
|
@@ -19297,7 +19297,7 @@ function Ch(i, t, e) {
|
|
19297
19297
|
const p = structuredClone(t);
|
19298
19298
|
p[u] = m[1], d && (p[d] = m[0]), f && (p[f] = c);
|
19299
19299
|
const y = Ch(g, p, e);
|
19300
|
-
l.push(
|
19300
|
+
l.push(Dg(y, p, e)), c += 1;
|
19301
19301
|
}
|
19302
19302
|
}
|
19303
19303
|
s = $u(s, n, l.join(""));
|
@@ -19309,7 +19309,7 @@ function V1(i) {
|
|
19309
19309
|
function z1(i, t, e = V1) {
|
19310
19310
|
const s = Array.isArray(i) ? i.join(`
|
19311
19311
|
`) : i, r = Ch(s, t, e);
|
19312
|
-
return
|
19312
|
+
return Dg(r, t, e);
|
19313
19313
|
}
|
19314
19314
|
function Uu(i) {
|
19315
19315
|
return (t, e) => ({
|
@@ -19475,7 +19475,7 @@ class Gi extends bt {
|
|
19475
19475
|
const c = a[0][mr] || a[0];
|
19476
19476
|
if (c[J]) {
|
19477
19477
|
const u = e(c[J]);
|
19478
|
-
let d = ((l = c[
|
19478
|
+
let d = ((l = c[Ne]) == null ? void 0 : l.style) ?? c.getStyle();
|
19479
19479
|
if (!d && u && ({ style: d } = u.style), d instanceof Q)
|
19480
19480
|
return d;
|
19481
19481
|
if (typeof d == "function")
|
@@ -19564,7 +19564,7 @@ class H1 extends cc {
|
|
19564
19564
|
h(this, "_context");
|
19565
19565
|
h(this, "_sourceVectorContextSync");
|
19566
19566
|
h(this, "_getLayerByName");
|
19567
|
-
this._rootCollection = new
|
19567
|
+
this._rootCollection = new Dh(this.name), this._rootCollection.clustering.clusterLabels = !0, this._rootCollection.clustering.clusterPoints = !1, this._rootCollection.clustering.enabled = !0, this._rootCollection.clustering.minimumClusterSize = 2, this._rootCollection.clustering.pixelRange = s.clusterDistance, this._getLayerByName = s.getLayerByName;
|
19568
19568
|
}
|
19569
19569
|
static get className() {
|
19570
19570
|
return "VectorClusterGroupCesiumImpl";
|
@@ -19581,19 +19581,24 @@ class H1 extends cc {
|
|
19581
19581
|
x.toDegrees(zr.latitude),
|
19582
19582
|
zr.height
|
19583
19583
|
], !0);
|
19584
|
-
a.setGeometry(new
|
19584
|
+
a.setGeometry(new De(l)), a.on("change", () => {
|
19585
19585
|
s.billboard.show = !a[ht];
|
19586
19586
|
});
|
19587
19587
|
const c = Jf(a, o, this.vectorProperties.getAltitudeMode(a), this.vectorProperties);
|
19588
19588
|
c ? (s.billboard.image = c.image, s.billboard.scale = c.scale, s.billboard.heightReference = c.heightReference, s.billboard.verticalOrigin = c.verticalOrigin, c.eyeOffset && (s.billboard.eyeOffset = c.eyeOffset), c.scaleByDistance && (s.billboard.scaleByDistance = c.scaleByDistance), s.billboard.olFeature = a, s.label.show = !1, s.billboard.show = !0) : (s.label.show = !1, s.billboard.show = !1);
|
19589
19589
|
}
|
19590
19590
|
async initialize() {
|
19591
|
-
|
19592
|
-
|
19593
|
-
|
19594
|
-
|
19595
|
-
|
19596
|
-
|
19591
|
+
if (!this.initialized) {
|
19592
|
+
if (this._context = new G1(this._rootCollection), this._rootCollection[vt] = this.name, await this.map.addClusterDataSource(this._rootCollection), this.isDestroyed)
|
19593
|
+
return;
|
19594
|
+
this._sourceVectorContextSync = ug(this._source, this._context, this.map.getScene(), this.style, (e) => {
|
19595
|
+
var s;
|
19596
|
+
return ((s = this._getLayerByName(e[J])) == null ? void 0 : s.vectorProperties) ?? this.vectorProperties;
|
19597
|
+
}), this._removeClusterEventListener = this._rootCollection.clustering.clusterEvent.addEventListener((e, s) => {
|
19598
|
+
this._onCluster(e, s);
|
19599
|
+
});
|
19600
|
+
}
|
19601
|
+
await super.initialize();
|
19597
19602
|
}
|
19598
19603
|
async activate() {
|
19599
19604
|
var e;
|
@@ -19984,7 +19989,7 @@ class q1 extends ys {
|
|
19984
19989
|
h(this, "_quadtreeProvider");
|
19985
19990
|
h(this, "_quadtreePrimitive");
|
19986
19991
|
h(this, "_primitiveCollection", new si());
|
19987
|
-
this._quadtreeProvider = new o1(e, this._primitiveCollection, s), this._quadtreePrimitive = new
|
19992
|
+
this._quadtreeProvider = new o1(e, this._primitiveCollection, s), this._quadtreePrimitive = new Np({
|
19988
19993
|
tileProvider: this._quadtreeProvider
|
19989
19994
|
}), this._primitiveCollection.add(this._quadtreePrimitive), this._primitiveCollection[J] = this.name, this._primitiveCollection.show = !1;
|
19990
19995
|
}
|
@@ -20016,7 +20021,7 @@ class q1 extends ys {
|
|
20016
20021
|
function Wu(i, t, e) {
|
20017
20022
|
const s = e.getId();
|
20018
20023
|
let r = !1;
|
20019
|
-
i.hiddenObjects[s] ? (e[ht] = !0, r = !0) : e[ht] && (delete e[ht], r = !0), i.highlightedObjects[s] ? (e[
|
20024
|
+
i.hiddenObjects[s] ? (e[ht] = !0, r = !0) : e[ht] && (delete e[ht], r = !0), i.highlightedObjects[s] ? (e[Ne] = i.highlightedObjects[s].style, r = !0) : e[Ne] && (delete e[Ne], r = !0), t != null && t.hiddenObjects[s] ? (e[Nt] = !0, r = !0) : e[Nt] && (delete e[Nt], r = !0), r && e.changed();
|
20020
20025
|
}
|
20021
20026
|
const W1 = ["image", "primitive"];
|
20022
20027
|
class Hn extends ji {
|
@@ -20125,7 +20130,7 @@ class Hn extends ji {
|
|
20125
20130
|
const c = this.tileProvider.rtreeCache.get(o).all().find((u) => u.value.getId() === n);
|
20126
20131
|
if (c) {
|
20127
20132
|
const u = c.value;
|
20128
|
-
r.add(o), e === ye.HIGHLIGHT ? u[
|
20133
|
+
r.add(o), e === ye.HIGHLIGHT ? u[Ne] = this.featureVisibility.highlightedObjects[n].style : e === ye.UNHIGHLIGHT ? delete u[Ne] : e === ye.HIDE ? u[ht] = !0 : e === ye.SHOW && delete u[ht], u.changed();
|
20129
20134
|
}
|
20130
20135
|
});
|
20131
20136
|
}), this._updateTiles([...r], !0);
|
@@ -20138,7 +20143,7 @@ class Hn extends ji {
|
|
20138
20143
|
const c = this.tileProvider.rtreeCache.get(o).all().find((u) => u.value.getId() === n);
|
20139
20144
|
if (c) {
|
20140
20145
|
const u = c.value;
|
20141
|
-
r.add(o), e === ye.HIDE ? u[
|
20146
|
+
r.add(o), e === ye.HIDE ? u[Nt] = !0 : e === ye.SHOW && delete u[Nt], u.changed();
|
20142
20147
|
}
|
20143
20148
|
});
|
20144
20149
|
}), this._updateTiles([...r], !0);
|
@@ -20161,7 +20166,7 @@ class Hn extends ji {
|
|
20161
20166
|
*/
|
20162
20167
|
_featureStyle(e, s) {
|
20163
20168
|
let r;
|
20164
|
-
return e[ht] || e[
|
20169
|
+
return e[ht] || e[Nt] ? [] : (e[Ne] ? { style: r } = e[Ne] : this.style instanceof ct ? { style: r } = this.style : r = e.getStyle() || this.style.style, Ln(r, e, s));
|
20165
20170
|
}
|
20166
20171
|
getImplementationOptions() {
|
20167
20172
|
return {
|
@@ -20180,11 +20185,11 @@ class Hn extends ji {
|
|
20180
20185
|
return e instanceof z ? [
|
20181
20186
|
this._renderer === "image" ? new ZC(e, this.getImplementationOptions()) : new q1(e, this.getImplementationOptions())
|
20182
20187
|
] : e instanceof be ? [
|
20183
|
-
new
|
20188
|
+
new D1(e, this.getImplementationOptions())
|
20184
20189
|
] : [];
|
20185
20190
|
}
|
20186
20191
|
getStyleOrDefaultStyle(e, s) {
|
20187
|
-
return super.getStyleOrDefaultStyle(e, s ||
|
20192
|
+
return super.getStyleOrDefaultStyle(e, s || Ds.clone());
|
20188
20193
|
}
|
20189
20194
|
async activate() {
|
20190
20195
|
await super.activate(), this._setupFeatureVisibilityHandlers(), this.tileProvider.trackFeaturesToTiles && this.tileProvider.forEachFeature((e) => {
|
@@ -20356,7 +20361,7 @@ class jn extends $t {
|
|
20356
20361
|
};
|
20357
20362
|
}
|
20358
20363
|
createImplementationsForMap(e) {
|
20359
|
-
return e instanceof z ? [new JC(e, this.getImplementationOptions())] : e instanceof be ? [new
|
20364
|
+
return e instanceof z ? [new JC(e, this.getImplementationOptions())] : e instanceof be ? [new N1(e, this.getImplementationOptions())] : [];
|
20360
20365
|
}
|
20361
20366
|
/**
|
20362
20367
|
* Sets the layers to request from the WmsLayer
|
@@ -20630,7 +20635,7 @@ function Yu(i, t) {
|
|
20630
20635
|
return mn.fromPlane(s);
|
20631
20636
|
}
|
20632
20637
|
function X1(i) {
|
20633
|
-
const t = [], e = i.map((s) =>
|
20638
|
+
const t = [], e = i.map((s) => Dt(s));
|
20634
20639
|
for (let s = 0; s < e.length - 1; s++) {
|
20635
20640
|
const r = s + 1, n = new _();
|
20636
20641
|
_.cross(e[r], e[s], n), _.normalize(n, n);
|
@@ -20648,7 +20653,7 @@ function Xu(i, t, e = {}) {
|
|
20648
20653
|
return e.createBottomPlane && s.push(Yu(u, d)), o && e.createTopPlane && s.push(Yu(d, u)), s;
|
20649
20654
|
}
|
20650
20655
|
function Z1(i) {
|
20651
|
-
const t = [], e = i.map((n) =>
|
20656
|
+
const t = [], e = i.map((n) => Dt(n)), s = new _();
|
20652
20657
|
_.cross(e[0], e[1], s), _.normalize(s, s);
|
20653
20658
|
function r(n) {
|
20654
20659
|
const a = _.add(n, s, new _()), o = new _();
|
@@ -20724,7 +20729,7 @@ function bE(i, t, e = !1, s = 25, r = 0) {
|
|
20724
20729
|
w(i, [Number]), w(e, Boolean), w(s, Number);
|
20725
20730
|
let n;
|
20726
20731
|
if (e) {
|
20727
|
-
const o =
|
20732
|
+
const o = Na(i, -s, t.heading + r), l = Na(i, s, t.heading + r);
|
20728
20733
|
n = new St([
|
20729
20734
|
[o[0], o[1], i[2] - s],
|
20730
20735
|
[l[0], l[1], i[2] - s]
|
@@ -20733,7 +20738,7 @@ function bE(i, t, e = !1, s = 25, r = 0) {
|
|
20733
20738
|
n = new Ze([[]], "XYZ");
|
20734
20739
|
let o = 2 * Math.PI - Math.PI / 4 + r;
|
20735
20740
|
const l = [...new Array(4)].map(() => {
|
20736
|
-
const c =
|
20741
|
+
const c = Na(i, s, o);
|
20737
20742
|
return o -= Math.PI / 2, [c[0], c[1], i[2]];
|
20738
20743
|
});
|
20739
20744
|
n.setCoordinates([l]);
|
@@ -21452,7 +21457,7 @@ class nM extends fe {
|
|
21452
21457
|
this.setActive();
|
21453
21458
|
}
|
21454
21459
|
pipe(e) {
|
21455
|
-
return this._geometry = new
|
21460
|
+
return this._geometry = new De(e.positionOrPixel), e.map instanceof Me ? this._geometry[qe] = !0 : this._geometry[ri] = !0, this.created.raiseEvent(this._geometry), this.finish(), Promise.resolve(e);
|
21456
21461
|
}
|
21457
21462
|
/**
|
21458
21463
|
* Finish the current creation. Calls finish and sets the interaction to be inactive
|
@@ -21587,9 +21592,9 @@ class Ui {
|
|
21587
21592
|
}
|
21588
21593
|
}
|
21589
21594
|
const _M = new _(), vM = new Vi();
|
21590
|
-
class
|
21595
|
+
class Do extends Ui {
|
21591
21596
|
constructor(e, s) {
|
21592
|
-
const r =
|
21597
|
+
const r = Do.getDefaultOptions();
|
21593
21598
|
super(e, { ...r, ...s });
|
21594
21599
|
h(this, "moveThreshold");
|
21595
21600
|
h(this, "_scene");
|
@@ -21621,7 +21626,7 @@ class No extends Ui {
|
|
21621
21626
|
}
|
21622
21627
|
}
|
21623
21628
|
toJSON() {
|
21624
|
-
const e =
|
21629
|
+
const e = Do.getDefaultOptions(), s = super.toJSON();
|
21625
21630
|
return this.moveThreshold !== e.moveThreshold && (s.moveThreshold = this.moveThreshold), s;
|
21626
21631
|
}
|
21627
21632
|
}
|
@@ -21653,9 +21658,9 @@ class wM extends Ui {
|
|
21653
21658
|
Bg(this._map, t.input, this.baseTranSpeed);
|
21654
21659
|
}
|
21655
21660
|
}
|
21656
|
-
class
|
21661
|
+
class No extends Ui {
|
21657
21662
|
constructor(e, s) {
|
21658
|
-
const r =
|
21663
|
+
const r = No.getDefaultOptions();
|
21659
21664
|
super(e, { ...r, ...s });
|
21660
21665
|
h(this, "rotatingThreshold");
|
21661
21666
|
h(this, "rotatingTimeout");
|
@@ -21702,7 +21707,7 @@ class Do extends Ui {
|
|
21702
21707
|
}
|
21703
21708
|
}
|
21704
21709
|
toJSON() {
|
21705
|
-
const e = super.toJSON(), s =
|
21710
|
+
const e = super.toJSON(), s = No.getDefaultOptions();
|
21706
21711
|
return this.rotatingThreshold !== s.rotatingThreshold && (e.rotatingThreshold = this.rotatingThreshold), this.rotatingTimeout !== s.rotatingTimeout && (e.rotatingTimeout = this.rotatingTimeout), e;
|
21707
21712
|
}
|
21708
21713
|
}
|
@@ -21781,11 +21786,11 @@ function IM(i) {
|
|
21781
21786
|
}
|
21782
21787
|
function TM(i) {
|
21783
21788
|
if (i instanceof z)
|
21784
|
-
return new
|
21789
|
+
return new Do(i);
|
21785
21790
|
if (i instanceof be)
|
21786
21791
|
return new wM(i);
|
21787
21792
|
if (i instanceof Me)
|
21788
|
-
return new
|
21793
|
+
return new No(i);
|
21789
21794
|
}
|
21790
21795
|
class AM {
|
21791
21796
|
constructor() {
|
@@ -22029,7 +22034,7 @@ class fc extends Un {
|
|
22029
22034
|
this._keyState.clear(), this._removeKeyListeners(), this._removeFocusListener(), super.destroy();
|
22030
22035
|
}
|
22031
22036
|
}
|
22032
|
-
async function
|
22037
|
+
async function DM(i, t) {
|
22033
22038
|
const e = i.getViewpointSync();
|
22034
22039
|
if (!e)
|
22035
22040
|
return;
|
@@ -22218,7 +22223,7 @@ class gc extends Ht {
|
|
22218
22223
|
const s = this.getByKey(e);
|
22219
22224
|
if (!s)
|
22220
22225
|
return U("MapCollection").warning(`could not find map with name ${e}`), Promise.resolve();
|
22221
|
-
this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await
|
22226
|
+
this._activeMap && this._activeMap.className === "CesiumMap" && s.className === "OpenlayersMap" && await DM(this._activeMap, s);
|
22222
22227
|
try {
|
22223
22228
|
await s.initialize();
|
22224
22229
|
} catch (o) {
|
@@ -22304,7 +22309,7 @@ class gc extends Ht {
|
|
22304
22309
|
}), this._mapPointerListeners = [], this._target = null;
|
22305
22310
|
}
|
22306
22311
|
}
|
22307
|
-
function
|
22312
|
+
function NM() {
|
22308
22313
|
return navigator.language ? navigator.language.substring(0, 2) : "en";
|
22309
22314
|
}
|
22310
22315
|
function RM(i, t) {
|
@@ -22341,7 +22346,7 @@ function Hg(i) {
|
|
22341
22346
|
let u = s[r - 2].duration;
|
22342
22347
|
u || (u = _.distance(n[r - 2], n[r - 1]) / 300 || 1), o[r - 1] = o[r - 2] + u;
|
22343
22348
|
}
|
22344
|
-
const l = i.interpolation === "spline" ? new
|
22349
|
+
const l = i.interpolation === "spline" ? new Nd({ times: o, points: n }) : new kp({ times: o, points: n }), c = new Vp({ times: o, points: a });
|
22345
22350
|
return {
|
22346
22351
|
destinationSpline: l,
|
22347
22352
|
quaternionSpline: c,
|
@@ -22557,7 +22562,7 @@ class vr extends bt {
|
|
22557
22562
|
}
|
22558
22563
|
initialize() {
|
22559
22564
|
if (!this._readyPromise) {
|
22560
|
-
this._url ? this._readyPromise =
|
22565
|
+
this._url ? this._readyPromise = Ns(this._url).then((e) => {
|
22561
22566
|
const s = FM(e);
|
22562
22567
|
(s.anchors ?? []).map(rd).filter((r) => !!r).forEach((r) => this.anchors.add(r)), this._multiplier = s.multiplier ?? this._multiplier, this._loop = s.loop ?? this._loop, this._interpolation = s.interpolation ?? this._interpolation;
|
22563
22568
|
}) : this._readyPromise = Promise.resolve();
|
@@ -22726,15 +22731,15 @@ async function zM(i, t) {
|
|
22726
22731
|
const E = p(s.currentTime);
|
22727
22732
|
E && ((M = e.getScene()) == null || M.camera.setView(E));
|
22728
22733
|
}
|
22729
|
-
}, b = new L(),
|
22734
|
+
}, b = new L(), D = () => {
|
22730
22735
|
c && (c(), c = void 0), u && (u(), u = void 0), d != null && clearTimeout(d), m.forEach((C) => {
|
22731
22736
|
C();
|
22732
22737
|
}), s.destroy(), n.destroy(), b.raiseEvent(), b.destroy();
|
22733
22738
|
};
|
22734
22739
|
return m.push(t.flights.removed.addEventListener((C) => {
|
22735
|
-
C === i &&
|
22740
|
+
C === i && D();
|
22736
22741
|
}), t.flights.added.addEventListener((C) => {
|
22737
|
-
C.name === i.name &&
|
22742
|
+
C.name === i.name && D();
|
22738
22743
|
})), {
|
22739
22744
|
get flightInstanceName() {
|
22740
22745
|
return i.name;
|
@@ -22776,7 +22781,7 @@ async function zM(i, t) {
|
|
22776
22781
|
d = void 0;
|
22777
22782
|
}, 700);
|
22778
22783
|
},
|
22779
|
-
destroy:
|
22784
|
+
destroy: D
|
22780
22785
|
};
|
22781
22786
|
}
|
22782
22787
|
class BM extends Ht {
|
@@ -22857,7 +22862,7 @@ class qg {
|
|
22857
22862
|
h(this, "_featureProviderClassRegistry");
|
22858
22863
|
this._id = (t == null ? void 0 : t._id) || $e(), this.name = t.name ?? this._id, this.description = t.description, this.properties = t.properties, this._defaultDynamicModule = new ph({ _id: HM }), this._dynamicModule = this._defaultDynamicModule;
|
22859
22864
|
const e = () => this._dynamicModule._id;
|
22860
|
-
this._dynamicModuleIdChanged = new L(), this._locale =
|
22865
|
+
this._dynamicModuleIdChanged = new L(), this._locale = NM(), this._localeChanged = new L(), this._mapClassRegistry = new Pi(xr), this._maps = Qt(new gc(), e, void 0, PS.bind(null, this), Si), this._layerClassRegistry = new Pi(ze), this._layers = Qt(this._maps.layerCollection, e, TS.bind(null, this), IS.bind(null, this), ft, AS), this._layers.locale = this.locale, this._vectorClusterGroups = Qt(this._layers.vectorClusterGroups, e, void 0, (s) => new zn(s), zn), this._obliqueCollections = Qt(new Ht(), e, void 0, (s) => new Rs(s), Rs), this._viewpoints = Qt(new Ht(), e, void 0, LS, Lt), this._styleClassRegistry = new Pi(ia), this._styles = Qt(new Ht(), e, void 0, (s) => fi(this._styleClassRegistry, s), wi), this._modules = new os("_id"), this._modules.add(this._dynamicModule), this._hiddenObjects = RM(e, this._layers.globalHider), this._clippingPolygons = Qt(new tM(this), e, void 0, (s) => new ar(s)), this._flights = Qt(new BM(this), e, void 0, (s) => new vr(s)), this._categoryClassRegistry = new Pi(wf), this._categories = new OC(this), this._displayQuality = new To(this), this._destroyed = new L(), this._moduleMutationChain = { running: !1, items: [] }, this._categoryItemClassRegistry = new Pi(new ps()), this._tileProviderClassRegistry = new Pi(Bs), this._featureProviderClassRegistry = new Pi(Uh), Ro.set(this._id, this);
|
22861
22866
|
}
|
22862
22867
|
get id() {
|
22863
22868
|
return this._id;
|
@@ -23122,7 +23127,7 @@ function Lr(i) {
|
|
23122
23127
|
}), t;
|
23123
23128
|
}
|
23124
23129
|
function Ir(i, t, e) {
|
23125
|
-
const s = new
|
23130
|
+
const s = new De(i);
|
23126
23131
|
s[qe] = !0;
|
23127
23132
|
const r = new he({
|
23128
23133
|
geometry: s,
|
@@ -23171,10 +23176,10 @@ function $M(i, t, e, s) {
|
|
23171
23176
|
return r < H.magnitude(ui) || r < H.magnitude(Bl) ? !1 : (Le = H.normalize(Le, Le), ui = H.normalize(ui, ui), Le.equalsEpsilon(ui, s || x.EPSILON5));
|
23172
23177
|
}
|
23173
23178
|
function Xg(i, t) {
|
23174
|
-
return yt =
|
23179
|
+
return yt = Dt(i, yt), Be = t.globe.ellipsoid.geodeticSurfaceNormal(yt, Be), Be = _.cross(t.camera.rightWC, Be, Be), Be = _.normalize(Be, Be), ge.fromPointNormal(yt, Be);
|
23175
23180
|
}
|
23176
23181
|
function IE(i, t) {
|
23177
|
-
return yt =
|
23182
|
+
return yt = Dt(i, yt), Be = t.globe.ellipsoid.geodeticSurfaceNormal(yt, Be), ge.fromPointNormal(yt, Be);
|
23178
23183
|
}
|
23179
23184
|
function di(i, t, e) {
|
23180
23185
|
const s = t.getPickRay(e, new Vd()), r = zp.rayPlane(s, i);
|
@@ -23386,15 +23391,15 @@ function _c(i, t, e) {
|
|
23386
23391
|
let n;
|
23387
23392
|
if ((r == null ? void 0 : r.type) === "orthogonal" && r.otherVertexIndex > -1)
|
23388
23393
|
n = new Ge({
|
23389
|
-
geometry: new
|
23394
|
+
geometry: new De(t[r.otherVertexIndex])
|
23390
23395
|
}), n.setStyle(YM);
|
23391
23396
|
else if ((r == null ? void 0 : r.type) === "parallel" && r.parallelIndex > -1) {
|
23392
23397
|
const { parallelIndex: a } = r, o = a !== t.length - 1 ? a + 1 : 0, l = qo(t[a], t[o]);
|
23393
23398
|
n = new Ge({
|
23394
|
-
geometry: new
|
23399
|
+
geometry: new De(l)
|
23395
23400
|
}), n.setStyle(ZM());
|
23396
23401
|
} else (r == null ? void 0 : r.type) === "vertex" ? (n = new Ge({
|
23397
|
-
geometry: new
|
23402
|
+
geometry: new De(r.snapped),
|
23398
23403
|
olcs_primitiveOptions: {
|
23399
23404
|
type: Bt.BOX,
|
23400
23405
|
geometryOptions: {
|
@@ -23405,7 +23410,7 @@ function _c(i, t, e) {
|
|
23405
23410
|
},
|
23406
23411
|
olcs_modelAutoScale: !0
|
23407
23412
|
}), n.setStyle(JM())) : (r == null ? void 0 : r.type) === "edge" && (n = new Ge({
|
23408
|
-
geometry: new
|
23413
|
+
geometry: new De(r.snapped),
|
23409
23414
|
olcs_primitiveOptions: {
|
23410
23415
|
type: Bt.SPHERE,
|
23411
23416
|
geometryOptions: {
|
@@ -23587,7 +23592,7 @@ function nx(i, t) {
|
|
23587
23592
|
function ax(i, t, e) {
|
23588
23593
|
const s = i.map((r) => {
|
23589
23594
|
const n = qo(r[0], r[1]), a = new Ge({
|
23590
|
-
geometry: new
|
23595
|
+
geometry: new De(n)
|
23591
23596
|
}), o = e ? Ww(r[0], r[1]) : qw(r[0], r[1]);
|
23592
23597
|
return a.setStyle(new Q({
|
23593
23598
|
text: new Wn({
|
@@ -23668,12 +23673,12 @@ function lx(i) {
|
|
23668
23673
|
throw new Error(`Unexpected geometry tpye ${i}`);
|
23669
23674
|
return t;
|
23670
23675
|
}
|
23671
|
-
function
|
23676
|
+
function DE(i, t, e, s, r) {
|
23672
23677
|
var ie, Pe;
|
23673
23678
|
w(i, qg), w(t, rt), w(e, Ka(Fe));
|
23674
23679
|
let n = ((ie = r == null ? void 0 : r.snapTo) == null ? void 0 : ie.slice()) ?? rl.slice();
|
23675
23680
|
const a = !(r != null && r.hideSegmentLength), { interactionChain: o, removed: l, destroy: c } = sl(i.maps.eventHandler), { layer: u, destroy: d } = dc(i.layers, i.maps.eventHandler.featureInteraction), f = new L(), g = new L(), m = new L();
|
23676
|
-
let p = !1, y = null, v = null, S = null, b = null,
|
23681
|
+
let p = !1, y = null, v = null, S = null, b = null, D = null, C = ((Pe = r == null ? void 0 : r.initialSnapToLayers) == null ? void 0 : Pe.slice()) ?? [
|
23677
23682
|
t
|
23678
23683
|
], M = !1, E = s;
|
23679
23684
|
const O = Gg(i), F = () => {
|
@@ -23686,11 +23691,11 @@ function NE(i, t, e, s, r) {
|
|
23686
23691
|
let te = () => {
|
23687
23692
|
}, A = [];
|
23688
23693
|
const at = () => {
|
23689
|
-
te(), y && (o.removeInteraction(y), y.destroy(), y = null), S && (o.removeInteraction(S), S.destroy(), S = null), b && (o.removeInteraction(b), b.destroy(), b = null),
|
23694
|
+
te(), y && (o.removeInteraction(y), y.destroy(), y = null), S && (o.removeInteraction(S), S.destroy(), S = null), b && (o.removeInteraction(b), b.destroy(), b = null), D && (o.removeInteraction(D), D.destroy(), D = null), A.forEach(($) => {
|
23690
23695
|
$();
|
23691
23696
|
}), A = [];
|
23692
23697
|
}, kt = () => {
|
23693
|
-
at(), y = lx(e), b = new Jg(C, u, ($) => v !== $, n), (e === Fe.Polygon || e === Fe.LineString) && (S = new rx(u, n)), a && (e === Fe.Polygon || e === Fe.LineString || e === Fe.BBox || e === Fe.Circle) && (
|
23698
|
+
at(), y = lx(e), b = new Jg(C, u, ($) => v !== $, n), (e === Fe.Polygon || e === Fe.LineString) && (S = new rx(u, n)), a && (e === Fe.Polygon || e === Fe.LineString || e === Fe.BBox || e === Fe.Circle) && (D = new ga(u, !0)), A = [
|
23694
23699
|
y.created.addEventListener(($) => {
|
23695
23700
|
M && (i.maps.activeMap.switchEnabled = !1), v = new Ge({ geometry: $ }), v[Se] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(v), E && v.set("olcs_altitudeMode", E), v.set("olcs_allowPicking", !0);
|
23696
23701
|
const xe = v.on("propertychange", (Ct) => {
|
@@ -23698,14 +23703,14 @@ function NE(i, t, e, s, r) {
|
|
23698
23703
|
});
|
23699
23704
|
te = () => {
|
23700
23705
|
me(xe);
|
23701
|
-
}, t.addFeatures([v]), f.raiseEvent(v), S && S.setGeometry($),
|
23706
|
+
}, t.addFeatures([v]), f.raiseEvent(v), S && S.setGeometry($), D && D.setGeometry($);
|
23702
23707
|
}),
|
23703
23708
|
y.finished.addEventListener(($) => {
|
23704
23709
|
M && (i.maps.activeMap.switchEnabled = !0), v && (delete v[Se], i.maps.eventHandler.featureInteraction.includeInPickPosition(v), (!$ || v.getGeometry() !== $ || !Wg($)) && (t.removeFeaturesById([
|
23705
23710
|
v.getId()
|
23706
23711
|
]), v = null), te()), F(), g.raiseEvent(v), v = null, p || kt();
|
23707
23712
|
})
|
23708
|
-
], o.addInteraction(b), S && o.addInteraction(S), o.addInteraction(y),
|
23713
|
+
], o.addInteraction(b), S && o.addInteraction(S), o.addInteraction(y), D && o.addInteraction(D);
|
23709
23714
|
};
|
23710
23715
|
kt();
|
23711
23716
|
const Ut = () => {
|
@@ -23819,7 +23824,7 @@ function Hr(i, t, e = !1) {
|
|
23819
23824
|
asynchronous: !1,
|
23820
23825
|
geometryInstances: [
|
23821
23826
|
new st({
|
23822
|
-
geometry: new
|
23827
|
+
geometry: new Dd({
|
23823
23828
|
radii: new _(0.5, 0.5, 0.5),
|
23824
23829
|
innerRadii: new _(0.45, 0.45, 0.45),
|
23825
23830
|
minimumCone: x.toRadians(88),
|
@@ -24087,7 +24092,7 @@ function mx(i, t) {
|
|
24087
24092
|
}));
|
24088
24093
|
},
|
24089
24094
|
setCenter(g) {
|
24090
|
-
a = g.slice(), zi.headingPitchRollToFixedFrame(
|
24095
|
+
a = g.slice(), zi.headingPitchRollToFixedFrame(Dt(a), new Vi(0, 0, 0), void 0, void 0, s), G.multiplyByUniformScale(s, o, s);
|
24091
24096
|
for (let m = 0; m < e.length; m++)
|
24092
24097
|
e.get(m).modelMatrix = s;
|
24093
24098
|
},
|
@@ -24155,7 +24160,7 @@ function xh(i, t, e) {
|
|
24155
24160
|
t === ve.TRANSLATE ? a = '<svg height="13" width="13" xmlns="http://www.w3.org/2000/svg"><polygon points="0,13 13,13 6,0" style="fill:white;" /></svg>' : a = '<svg height="13" width="13" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 13,0 13,13 0,13" style="fill:white" /></svg>', a = `data:image/svg+xml,${encodeURIComponent(a)}`;
|
24156
24161
|
const o = [
|
24157
24162
|
new Ge({
|
24158
|
-
geometry: new
|
24163
|
+
geometry: new De(r[1].slice()),
|
24159
24164
|
axis: i
|
24160
24165
|
}),
|
24161
24166
|
new Ge({
|
@@ -24399,7 +24404,7 @@ class Mx extends fe {
|
|
24399
24404
|
_dragAlongAxis3D(e, s) {
|
24400
24405
|
const r = s.map.getScene();
|
24401
24406
|
if (e !== P.Z) {
|
24402
|
-
const n =
|
24407
|
+
const n = Dt(this._transformationHandler.center);
|
24403
24408
|
let a = ge.clone(ge.ORIGIN_XY_PLANE);
|
24404
24409
|
a = ge.transform(a, zi.eastNorthUpToFixedFrame(n), a);
|
24405
24410
|
let o = di(a, r.camera, s.windowPosition), l = B.wgs84ToMercator(Ss(o));
|
@@ -24418,7 +24423,7 @@ class Mx extends fe {
|
|
24418
24423
|
}
|
24419
24424
|
}
|
24420
24425
|
_dragAlongPlane3D(e, s) {
|
24421
|
-
const r = s.map.getScene(), n =
|
24426
|
+
const r = s.map.getScene(), n = Dt(this._transformationHandler.center);
|
24422
24427
|
let a;
|
24423
24428
|
e === P.YZ ? a = ge.clone(ge.ORIGIN_YZ_PLANE) : e === P.XZ ? a = ge.clone(ge.ORIGIN_ZX_PLANE) : a = ge.clone(ge.ORIGIN_XY_PLANE), a = ge.transform(a, zi.eastNorthUpToFixedFrame(n), a);
|
24424
24429
|
let o = di(a, r.camera, s.windowPosition), l = B.wgs84ToMercator(Ss(o));
|
@@ -24488,7 +24493,7 @@ class Ex extends fe {
|
|
24488
24493
|
return Promise.resolve(e);
|
24489
24494
|
}
|
24490
24495
|
_dragAlongPlane3D(e, s) {
|
24491
|
-
const r = s.map.getScene(), n =
|
24496
|
+
const r = s.map.getScene(), n = Dt(this._transformationHandler.center);
|
24492
24497
|
let a;
|
24493
24498
|
return e === P.X ? a = ge.clone(ge.ORIGIN_YZ_PLANE) : e === P.Y ? a = ge.clone(ge.ORIGIN_ZX_PLANE) : a = ge.clone(ge.ORIGIN_XY_PLANE), a = ge.transform(a, zi.eastNorthUpToFixedFrame(n), a), hd((o, l) => {
|
24494
24499
|
const c = di(a, r.camera, l), u = B.wgs84ToMercator(Ss(c)), d = this._transformationHandler.center;
|
@@ -24517,9 +24522,9 @@ function cd(i, t, e, s) {
|
|
24517
24522
|
}, { distance: c } = l(t.positionOrPixel, t.windowPosition);
|
24518
24523
|
let u = c;
|
24519
24524
|
return (d, f) => {
|
24520
|
-
const { distance: g, dx: m, dy: p, dz: y } = l(d, f), v = g / u, S = m < 0, b = p < 0,
|
24525
|
+
const { distance: g, dx: m, dy: p, dz: y } = l(d, f), v = g / u, S = m < 0, b = p < 0, D = y < 0;
|
24521
24526
|
let C = v, M = v, E = v;
|
24522
|
-
return S !== n && (n = S, C *= -1), b !== a && (a = b, M *= -1),
|
24527
|
+
return S !== n && (n = S, C *= -1), b !== a && (a = b, M *= -1), D !== o && (o = D, E *= -1), u = g, s === P.X ? [C, 1, 1] : s === P.Y ? [1, M, 1] : s === P.XY ? [C, M, 1] : s === P.XYZ ? [C, M, E] : s === P.Z ? [1, 1, E] : [1, 1, 1];
|
24523
24528
|
};
|
24524
24529
|
}
|
24525
24530
|
class Ox extends fe {
|
@@ -24545,7 +24550,7 @@ class Ox extends fe {
|
|
24545
24550
|
return Promise.resolve(e);
|
24546
24551
|
}
|
24547
24552
|
_dragAlongPlane3D(e, s) {
|
24548
|
-
const r = s.map.getScene(), n =
|
24553
|
+
const r = s.map.getScene(), n = Dt(this._transformationHandler.center);
|
24549
24554
|
let a = ge.clone(e === P.Z ? ge.ORIGIN_ZX_PLANE : ge.ORIGIN_XY_PLANE);
|
24550
24555
|
return a = ge.transform(a, zi.eastNorthUpToFixedFrame(n), a), cd((o, l) => {
|
24551
24556
|
const c = di(a, r.camera, l);
|
@@ -24662,7 +24667,7 @@ class Ax extends fe {
|
|
24662
24667
|
this.rightClicked.destroy(), this.eventChainFinished.destroy(), super.destroy();
|
24663
24668
|
}
|
24664
24669
|
}
|
24665
|
-
function
|
24670
|
+
function Dx(i, t, e) {
|
24666
24671
|
const s = i.getId();
|
24667
24672
|
t.has(s) || t.set(s, i.get("olcs_allowPicking")), e !== k.CTRL && i.set("olcs_allowPicking", !1);
|
24668
24673
|
}
|
@@ -24670,7 +24675,7 @@ function ud(i, t) {
|
|
24670
24675
|
const e = t.get(i.getId());
|
24671
24676
|
e != null ? i.set("olcs_allowPicking", e) : i.unset("olcs_allowPicking");
|
24672
24677
|
}
|
24673
|
-
function
|
24678
|
+
function Nx(i, t) {
|
24674
24679
|
const e = i.getId(), s = !!i[Se];
|
24675
24680
|
t.set(e, s), i[Se] = !0;
|
24676
24681
|
}
|
@@ -24678,7 +24683,7 @@ function dd(i, t) {
|
|
24678
24683
|
const e = i.getId();
|
24679
24684
|
t.get(e) || delete i[Se], t.delete(e);
|
24680
24685
|
}
|
24681
|
-
function
|
24686
|
+
function NE(i, t, e, s = ve.TRANSLATE) {
|
24682
24687
|
const r = new L(), n = [], a = /* @__PURE__ */ new Map();
|
24683
24688
|
let o;
|
24684
24689
|
const l = i.maps.eventHandler.modifierChanged.addEventListener((j) => {
|
@@ -24702,7 +24707,7 @@ function DE(i, t, e, s = ve.TRANSLATE) {
|
|
24702
24707
|
f.addInteraction(v), f.addInteraction(new Lx(n));
|
24703
24708
|
const S = new Qg();
|
24704
24709
|
f.addInteraction(S);
|
24705
|
-
let b = s,
|
24710
|
+
let b = s, D = () => {
|
24706
24711
|
}, C;
|
24707
24712
|
const M = (j, ie, Pe) => {
|
24708
24713
|
var $;
|
@@ -24759,7 +24764,7 @@ function DE(i, t, e, s = ve.TRANSLATE) {
|
|
24759
24764
|
});
|
24760
24765
|
}
|
24761
24766
|
}, F = () => {
|
24762
|
-
|
24767
|
+
D(), C = Sx(i.maps.activeMap, t, u, b), C.setFeatures(n);
|
24763
24768
|
let j;
|
24764
24769
|
if (b === ve.TRANSLATE)
|
24765
24770
|
j = new Mx(C), j.translated.addEventListener(([ie, Pe, $]) => {
|
@@ -24782,7 +24787,7 @@ function DE(i, t, e, s = ve.TRANSLATE) {
|
|
24782
24787
|
});
|
24783
24788
|
else
|
24784
24789
|
throw new Error(`Unknown transformation mode ${String(b)}`);
|
24785
|
-
f.addInteraction(j),
|
24790
|
+
f.addInteraction(j), D = () => {
|
24786
24791
|
f.removeInteraction(j), j.destroy(), C == null || C.destroy(), C = void 0;
|
24787
24792
|
};
|
24788
24793
|
}, Y = new L(), te = (j) => {
|
@@ -24805,7 +24810,7 @@ function DE(i, t, e, s = ve.TRANSLATE) {
|
|
24805
24810
|
pc.includes(ie) && (C == null || C.setFeatures(n));
|
24806
24811
|
}));
|
24807
24812
|
}, $s = /* @__PURE__ */ new Map(), ya = () => {
|
24808
|
-
|
24813
|
+
D(), m(), A(), kt(), l(), me(Ut), n.forEach((j) => {
|
24809
24814
|
ud(j, a), dd(j, $s);
|
24810
24815
|
}), a.clear(), d(), Y.destroy(), y(), c.destroy(), r.raiseEvent(), r.destroy();
|
24811
24816
|
};
|
@@ -24825,7 +24830,7 @@ function DE(i, t, e, s = ve.TRANSLATE) {
|
|
24825
24830
|
n.forEach((ie) => {
|
24826
24831
|
ud(ie, a), dd(ie, $s);
|
24827
24832
|
}), n.length = 0, n.push(...j), n.forEach((ie) => {
|
24828
|
-
|
24833
|
+
Dx(ie, a, o), Nx(ie, $s);
|
24829
24834
|
}), js(), C == null || C.setFeatures(j);
|
24830
24835
|
},
|
24831
24836
|
get features() {
|
@@ -25073,8 +25078,8 @@ function kx(i, t, e) {
|
|
25073
25078
|
O[0] === y[0] ? O[1] = v[1] : O[0] = v[0], E.setCoordinates(O);
|
25074
25079
|
};
|
25075
25080
|
b(m), b(p), a = !0;
|
25076
|
-
const { coordinates:
|
25077
|
-
s.setCoordinates([
|
25081
|
+
const { coordinates: D, layout: C } = fa(n);
|
25082
|
+
s.setCoordinates([D], C), a = !1;
|
25078
25083
|
});
|
25079
25084
|
const l = s.on("change", () => {
|
25080
25085
|
if (!a) {
|
@@ -25173,12 +25178,12 @@ function RE(i, t, e, s = {}) {
|
|
25173
25178
|
o.vectorProperties.altitudeMode = g ? t.vectorProperties.getAltitudeMode(g) : t.vectorProperties.altitudeMode;
|
25174
25179
|
};
|
25175
25180
|
S();
|
25176
|
-
const b = Yg(o, t, S),
|
25181
|
+
const b = Yg(o, t, S), D = () => {
|
25177
25182
|
f && (r.removeInteraction(f.interactionChain), f.destroy(), f = null, m = null), g && (delete g[Se], Wg(g.getGeometry()) || t.removeFeaturesById([g.getId()])), g = null, S();
|
25178
25183
|
};
|
25179
25184
|
let C;
|
25180
25185
|
function M(A) {
|
25181
|
-
if (
|
25186
|
+
if (D(), C && me(C), A) {
|
25182
25187
|
C = A.on("propertychange", ({ key: Ut }) => {
|
25183
25188
|
pc.includes(Ut) && M(A);
|
25184
25189
|
}), g = A, g[Se] = !0, i.maps.eventHandler.featureInteraction.excludeFromPickPosition(A);
|
@@ -25191,7 +25196,7 @@ function RE(i, t, e, s = {}) {
|
|
25191
25196
|
}, O = i.maps.mapActivated.addEventListener(E);
|
25192
25197
|
E();
|
25193
25198
|
const F = () => {
|
25194
|
-
g && i.maps.eventHandler.featureInteraction.includeInPickPosition(g), l(), C && me(C), O(), c.reset(), u.reset(),
|
25199
|
+
g && i.maps.eventHandler.featureInteraction.includeInPickPosition(g), l(), C && me(C), O(), c.reset(), u.reset(), D(), a(), b(), v(), d.raiseEvent(), d.destroy();
|
25195
25200
|
};
|
25196
25201
|
return n.addEventListener(F), {
|
25197
25202
|
type: _r.EDIT_GEOMETRY,
|
@@ -25244,7 +25249,7 @@ class sm extends fe {
|
|
25244
25249
|
async setSelected(e) {
|
25245
25250
|
this._selectedFeatures.clear();
|
25246
25251
|
const s = Array.isArray(e) ? e : [e];
|
25247
|
-
(await Promise.all(s.map((n) => n[
|
25252
|
+
(await Promise.all(s.map((n) => n[Nn] ? this._layer.switchStaticFeatureToDynamic(n.getId()) : n))).forEach((n) => {
|
25248
25253
|
this._selectedFeatures.set(n.getId(), n);
|
25249
25254
|
}), this.featuresChanged.raiseEvent(this.selected);
|
25250
25255
|
}
|
@@ -25254,7 +25259,7 @@ class sm extends fe {
|
|
25254
25259
|
this._selectedFeatures.delete(s);
|
25255
25260
|
else {
|
25256
25261
|
let r = e;
|
25257
|
-
e[
|
25262
|
+
e[Nn] && (r = await this._layer.switchStaticFeatureToDynamic(s)), this._selectedFeatures.set(s, r);
|
25258
25263
|
}
|
25259
25264
|
this.featuresChanged.raiseEvent(this.selected);
|
25260
25265
|
}
|
@@ -25291,7 +25296,7 @@ class rm extends fe {
|
|
25291
25296
|
*/
|
25292
25297
|
async setSelected(e) {
|
25293
25298
|
let s = Array.isArray(e) ? e[0] : e;
|
25294
|
-
e[
|
25299
|
+
e[Nn] && (s = await this._layer.switchStaticFeatureToDynamic(s.getId())), this._selectedFeature = s, this.featureChanged.raiseEvent(this._selectedFeature);
|
25295
25300
|
}
|
25296
25301
|
/**
|
25297
25302
|
* Checks if a feature with a spicific id is selected.
|
@@ -25310,17 +25315,17 @@ class rm extends fe {
|
|
25310
25315
|
this._selectedFeature = null, this.featureChanged.destroy(), super.destroy();
|
25311
25316
|
}
|
25312
25317
|
}
|
25313
|
-
var
|
25318
|
+
var Di;
|
25314
25319
|
(function(i) {
|
25315
25320
|
i.SINGLE = "single", i.MULTI = "multi";
|
25316
|
-
})(
|
25321
|
+
})(Di || (Di = {}));
|
25317
25322
|
class Bx extends fe {
|
25318
25323
|
constructor(e, s) {
|
25319
25324
|
let r, n;
|
25320
25325
|
if (s instanceof rm)
|
25321
|
-
r = k.NONE, n =
|
25326
|
+
r = k.NONE, n = Di.SINGLE;
|
25322
25327
|
else if (s instanceof sm)
|
25323
|
-
r = k.NONE | k.CTRL, n =
|
25328
|
+
r = k.NONE | k.CTRL, n = Di.MULTI;
|
25324
25329
|
else
|
25325
25330
|
throw new Error("This interaction is not supported");
|
25326
25331
|
super(T.MOVE, r);
|
@@ -25354,7 +25359,7 @@ class Bx extends fe {
|
|
25354
25359
|
var s;
|
25355
25360
|
if (this.cursorStyle)
|
25356
25361
|
if (this._currentFeature) {
|
25357
|
-
const r = this.selectionMode ===
|
25362
|
+
const r = this.selectionMode === Di.MULTI && e & k.CTRL, n = this._selectFeatureInteraction.hasFeatureId(this._currentFeature.getId());
|
25358
25363
|
r ? this.cursorStyle.cursor = n ? Pt.removeFromSelection : Pt.addToSelection : this.cursorStyle.cursor = Pt.select, this.cursorStyle[ki] = this.id;
|
25359
25364
|
} else ((s = this.cursorStyle) == null ? void 0 : s[ki]) === this.id && (this.cursorStyle.cursor = Pt.auto, delete this.cursorStyle[ki]);
|
25360
25365
|
}
|
@@ -25401,7 +25406,7 @@ function jx() {
|
|
25401
25406
|
})
|
25402
25407
|
});
|
25403
25408
|
}
|
25404
|
-
function FE(i, t, e, s =
|
25409
|
+
function FE(i, t, e, s = Di.MULTI, r = jx()) {
|
25405
25410
|
const n = new L(), a = new L(), o = new L();
|
25406
25411
|
let l = null, c = null, u, d = null;
|
25407
25412
|
const { interactionChain: f, removed: g, destroy: m } = sl(i.maps.eventHandler, e), p = Hx(t, r);
|
@@ -25414,12 +25419,12 @@ function FE(i, t, e, s = Ni.MULTI, r = jx()) {
|
|
25414
25419
|
function S(E) {
|
25415
25420
|
if (E === u)
|
25416
25421
|
return;
|
25417
|
-
if (v(), E ===
|
25422
|
+
if (v(), E === Di.SINGLE)
|
25418
25423
|
l = new rm(t), y.push(l.featureChanged.addEventListener((F) => {
|
25419
25424
|
const Y = F ? [F] : [];
|
25420
25425
|
p.update(Y), o.raiseEvent(Y), d && (d.switchEnabled = !F);
|
25421
25426
|
}));
|
25422
|
-
else if (E ===
|
25427
|
+
else if (E === Di.MULTI)
|
25423
25428
|
l = new sm(t), y.push(l.featuresChanged.addEventListener((F) => {
|
25424
25429
|
p.update(F), o.raiseEvent(F), d && (d.switchEnabled = F.length === 0);
|
25425
25430
|
}));
|
@@ -25431,15 +25436,15 @@ function FE(i, t, e, s = Ni.MULTI, r = jx()) {
|
|
25431
25436
|
S(s);
|
25432
25437
|
let b = () => {
|
25433
25438
|
};
|
25434
|
-
const
|
25439
|
+
const D = (E) => {
|
25435
25440
|
var O;
|
25436
25441
|
b(), E instanceof Me ? (l == null || l.clear(), b = ((O = E.imageChanged) == null ? void 0 : O.addEventListener(() => {
|
25437
25442
|
l == null || l.clear();
|
25438
25443
|
})) ?? (() => {
|
25439
25444
|
}), d = E) : (d && (l == null || l.clear()), d = null, b = () => {
|
25440
25445
|
});
|
25441
|
-
}, C = i.maps.mapActivated.addEventListener(
|
25442
|
-
|
25446
|
+
}, C = i.maps.mapActivated.addEventListener(D);
|
25447
|
+
D(i.maps.activeMap);
|
25443
25448
|
const M = () => {
|
25444
25449
|
v(), m(), p.destroy(), C(), b(), d && (d.switchEnabled = !0), n.raiseEvent(), n.destroy(), a.destroy(), o.destroy();
|
25445
25450
|
};
|
@@ -25460,7 +25465,7 @@ function FE(i, t, e, s = Ni.MULTI, r = jx()) {
|
|
25460
25465
|
return u;
|
25461
25466
|
},
|
25462
25467
|
setMode(E) {
|
25463
|
-
w(E, Ka(
|
25468
|
+
w(E, Ka(Di)), S(E), a.raiseEvent(u);
|
25464
25469
|
},
|
25465
25470
|
modeChanged: a,
|
25466
25471
|
featuresChanged: o,
|
@@ -25469,10 +25474,10 @@ function FE(i, t, e, s = Ni.MULTI, r = jx()) {
|
|
25469
25474
|
}
|
25470
25475
|
};
|
25471
25476
|
}
|
25472
|
-
const
|
25477
|
+
const Da = Symbol("flightVisualization");
|
25473
25478
|
async function GE(i, t) {
|
25474
|
-
if (w(i, vr), i[
|
25475
|
-
return i[
|
25479
|
+
if (w(i, vr), i[Da])
|
25480
|
+
return i[Da];
|
25476
25481
|
await i.initialize();
|
25477
25482
|
let e = ur();
|
25478
25483
|
const s = new si();
|
@@ -25510,7 +25515,7 @@ async function GE(i, t) {
|
|
25510
25515
|
}), s.add(new ES({ camera: p, allowPicking: !1 }));
|
25511
25516
|
}
|
25512
25517
|
f.push(new he({
|
25513
|
-
geometry: new
|
25518
|
+
geometry: new De(m.coordinate, "XYZ"),
|
25514
25519
|
title: m.title ?? m.name,
|
25515
25520
|
duration: m.duration
|
25516
25521
|
}));
|
@@ -25534,7 +25539,7 @@ async function GE(i, t) {
|
|
25534
25539
|
], c = new L(), u = () => {
|
25535
25540
|
r.deactivate(), t.layers.remove(r), r.destroy(), n && n.primitives.contains(s) && n.primitives.remove(s), l.forEach((f) => {
|
25536
25541
|
f();
|
25537
|
-
}), c.raiseEvent(), c.destroy(), delete i[
|
25542
|
+
}), c.raiseEvent(), c.destroy(), delete i[Da];
|
25538
25543
|
};
|
25539
25544
|
l.push(t.flights.removed.addEventListener((f) => {
|
25540
25545
|
f === i && u();
|
@@ -25566,7 +25571,7 @@ async function GE(i, t) {
|
|
25566
25571
|
f && await ((g = t.maps.activeMap) == null ? void 0 : g.gotoViewpoint(f));
|
25567
25572
|
}
|
25568
25573
|
};
|
25569
|
-
return i[
|
25574
|
+
return i[Da] = d, d;
|
25570
25575
|
}
|
25571
25576
|
const $x = Symbol("rotationMapControlSymbol");
|
25572
25577
|
function Ux(i, t, e) {
|
@@ -25722,7 +25727,7 @@ export {
|
|
25722
25727
|
ss as Category,
|
25723
25728
|
OC as CategoryCollection,
|
25724
25729
|
z as CesiumMap,
|
25725
|
-
|
25730
|
+
Do as CesiumNavigation,
|
25726
25731
|
Cs as CesiumTilesetCesiumImpl,
|
25727
25732
|
Ci as CesiumTilesetLayer,
|
25728
25733
|
ps as ClassRegistry,
|
@@ -25797,7 +25802,7 @@ export {
|
|
25797
25802
|
ic as ObliqueImage,
|
25798
25803
|
ja as ObliqueImageMeta,
|
25799
25804
|
Me as ObliqueMap,
|
25800
|
-
|
25805
|
+
No as ObliqueNavigation,
|
25801
25806
|
sC as ObliqueProvider,
|
25802
25807
|
iC as ObliqueView,
|
25803
25808
|
Ae as ObliqueViewDirection,
|
@@ -25824,7 +25829,7 @@ export {
|
|
25824
25829
|
Bx as SelectFeatureMouseOverInteraction,
|
25825
25830
|
sm as SelectMultiFeatureInteraction,
|
25826
25831
|
rm as SelectSingleFeatureInteraction,
|
25827
|
-
|
25832
|
+
Di as SelectionMode,
|
25828
25833
|
_r as SessionType,
|
25829
25834
|
jC as SingleImageCesiumImpl,
|
25830
25835
|
Mo as SingleImageLayer,
|
@@ -25877,14 +25882,14 @@ export {
|
|
25877
25882
|
_e as VectorStyleItem,
|
25878
25883
|
XC as VectorTileImageryProvider,
|
25879
25884
|
Hn as VectorTileLayer,
|
25880
|
-
|
25885
|
+
D1 as VectorTileOpenlayersImpl,
|
25881
25886
|
Lt as Viewpoint,
|
25882
25887
|
Lo as WFSLayer,
|
25883
25888
|
Fs as WMSFeatureProvider,
|
25884
25889
|
jn as WMSLayer,
|
25885
25890
|
$n as WMTSLayer,
|
25886
25891
|
JC as WmsCesiumImpl,
|
25887
|
-
|
25892
|
+
N1 as WmsOpenlayersImpl,
|
25888
25893
|
KC as WmtsCesiumImpl,
|
25889
25894
|
R1 as WmtsOpenlayersImpl,
|
25890
25895
|
En as actuallyIsCircle,
|
@@ -25930,11 +25935,11 @@ export {
|
|
25930
25935
|
sd as createEasing,
|
25931
25936
|
zM as createFlightPlayer,
|
25932
25937
|
GE as createFlightVisualization,
|
25933
|
-
|
25938
|
+
Nb as createGroundLinePrimitiveItem,
|
25934
25939
|
Tb as createGroundPrimitiveItem,
|
25935
25940
|
RM as createHiddenObjectsCollection,
|
25936
25941
|
IE as createHorizontalPlane,
|
25937
|
-
|
25942
|
+
Db as createLinePrimitiveItem,
|
25938
25943
|
Ab as createOutlinePrimitiveItem,
|
25939
25944
|
lS as createPattern,
|
25940
25945
|
Ib as createSolidPrimitiveItem,
|
@@ -25947,17 +25952,17 @@ export {
|
|
25947
25952
|
Af as defaultDeclarativeStyle,
|
25948
25953
|
HM as defaultDynamicModuleId,
|
25949
25954
|
cE as defaultExtrudedHeightCondition,
|
25950
|
-
|
25955
|
+
Ds as defaultVectorStyle,
|
25951
25956
|
IS as deserializeLayer,
|
25952
25957
|
PS as deserializeMap,
|
25953
25958
|
LS as deserializeViewpoint,
|
25954
25959
|
Yt as destroyCollection,
|
25955
|
-
|
25960
|
+
NM as detectBrowserLocale,
|
25956
25961
|
aa as doNotTransform,
|
25957
25962
|
Vf as drapeGeometryOnSurface,
|
25958
25963
|
TE as drapeGeometryOnTerrain,
|
25959
25964
|
Ww as ecef3DDistance,
|
25960
|
-
|
25965
|
+
Df as embedIconsInStyle,
|
25961
25966
|
hE as emptyColor,
|
25962
25967
|
uS as emptyStyle,
|
25963
25968
|
uh as enforceEndingVertex,
|
@@ -25975,7 +25980,7 @@ export {
|
|
25975
25980
|
mS as fromCesiumColor,
|
25976
25981
|
Qs as fvLastUpdated,
|
25977
25982
|
Wg as geometryIsValid,
|
25978
|
-
|
25983
|
+
Nr as getAltitudeModeOptions,
|
25979
25984
|
es as getAngleSnapResult,
|
25980
25985
|
wb as getArcGeometryFactory,
|
25981
25986
|
_b as getArrowHeadPrimitives,
|
@@ -26003,13 +26008,13 @@ export {
|
|
26003
26008
|
SC as getEPSGCodeFromGeojson,
|
26004
26009
|
Eg as getExtentFromTileset,
|
26005
26010
|
WS as getExtrusionHeightInfo,
|
26006
|
-
|
26011
|
+
NC as getFeatureFromPickObject,
|
26007
26012
|
Sf as getFillFromOptions,
|
26008
26013
|
lo as getFillOptions,
|
26009
26014
|
ai as getFlatCoordinateReferences,
|
26010
26015
|
BS as getFlatCoordinatesFromSimpleGeometry,
|
26011
26016
|
jg as getFlightPathCoordinatesFromInstance,
|
26012
|
-
|
26017
|
+
DC as getFormat,
|
26013
26018
|
XS as getGeometryHeight,
|
26014
26019
|
yc as getGeometrySnapResult,
|
26015
26020
|
Er as getHeightFromTerrainProvider,
|
@@ -26063,7 +26068,7 @@ export {
|
|
26063
26068
|
cs as getZeroInput,
|
26064
26069
|
LM as getZeroMovement,
|
26065
26070
|
Wb as getZoom,
|
26066
|
-
|
26071
|
+
Nt as globalHidden,
|
26067
26072
|
Xr as globalHiderLastUpdated,
|
26068
26073
|
wE as globeLoaded,
|
26069
26074
|
ma as greyedOutColor,
|
@@ -26071,7 +26076,7 @@ export {
|
|
26071
26076
|
pE as hasSameOrigin,
|
26072
26077
|
aS as hexToOlColor,
|
26073
26078
|
ht as hidden,
|
26074
|
-
|
26079
|
+
Ne as highlighted,
|
26075
26080
|
Xb as imageGeometryToMercatorGeometry,
|
26076
26081
|
tE as initialBearingBetweenCoords,
|
26077
26082
|
id as inputEquals,
|
@@ -26089,7 +26094,7 @@ export {
|
|
26089
26094
|
bi as isRelativeHeightReference,
|
26090
26095
|
xi as isSameOrigin,
|
26091
26096
|
$b as isTerrainTileAvailable,
|
26092
|
-
|
26097
|
+
Nn as isTiledFeature,
|
26093
26098
|
da as isVertex,
|
26094
26099
|
ze as layerClassRegistry,
|
26095
26100
|
xM as lerp,
|
@@ -26101,7 +26106,7 @@ export {
|
|
26101
26106
|
Yb as mercatorGeometryToImageGeometry,
|
26102
26107
|
q as mercatorProjection,
|
26103
26108
|
mo as mercatorResolutionsToLevel,
|
26104
|
-
|
26109
|
+
Dt as mercatorToCartesian,
|
26105
26110
|
Zo as mercatorToCartesianTransformerForHeightInfo,
|
26106
26111
|
jh as mercatorToWgs84Transformer,
|
26107
26112
|
Bf as mercatorToWgs84TransformerForHeightInfo,
|
@@ -26115,7 +26120,7 @@ export {
|
|
26115
26120
|
oS as olColorToCesiumColor,
|
26116
26121
|
Zc as olColorToHex,
|
26117
26122
|
mr as originalFeatureSymbol,
|
26118
|
-
|
26123
|
+
Ni as originalStyle,
|
26119
26124
|
wl as parseCartesian3,
|
26120
26125
|
tt as parseColor,
|
26121
26126
|
FM as parseFlightOptionsFromGeoJson,
|
@@ -26138,7 +26143,7 @@ export {
|
|
26138
26143
|
VE as renderScreenshot,
|
26139
26144
|
z1 as renderTemplate,
|
26140
26145
|
eC as requestArrayBuffer,
|
26141
|
-
|
26146
|
+
Ns as requestJson,
|
26142
26147
|
oa as requestUrl,
|
26143
26148
|
$x as rotationMapControlSymbol,
|
26144
26149
|
TS as serializeLayer,
|
@@ -26155,8 +26160,8 @@ export {
|
|
26155
26160
|
rl as snapTypes,
|
26156
26161
|
fu as sortRealWordEdgeCoordinates,
|
26157
26162
|
qw as spherical2Distance,
|
26158
|
-
|
26159
|
-
|
26163
|
+
DE as startCreateFeatureSession,
|
26164
|
+
NE as startEditFeaturesSession,
|
26160
26165
|
RE as startEditGeometrySession,
|
26161
26166
|
kE as startRotation,
|
26162
26167
|
FE as startSelectFeaturesSession,
|
@@ -26190,6 +26195,6 @@ export {
|
|
26190
26195
|
no as wgs84ToMercatorTransformer,
|
26191
26196
|
Ha as whiteColor,
|
26192
26197
|
yE as writeGeoJSON,
|
26193
|
-
|
26198
|
+
Dn as writeGeoJSONFeature,
|
26194
26199
|
FS as writeStyle
|
26195
26200
|
};
|