rayshon-cesium-expander 1.5.0-test.3 → 1.5.0-test.4
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/lib/index.dev.js +548 -981
- package/lib/index.dev.js.map +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.dev.js
CHANGED
|
@@ -65903,6 +65903,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
65903
65903
|
/* harmony import */ var _mapbox_MVTImageryProvider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mapbox/MVTImageryProvider */ "./packages/cesium-expander/src/Plugins/mapbox/MVTImageryProvider.js");
|
|
65904
65904
|
/* harmony import */ var _BaiduImageryProvider_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaiduImageryProvider.js */ "./packages/cesium-expander/src/Plugins/BaiduImageryProvider.js");
|
|
65905
65905
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
65906
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
65907
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
65908
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
65906
65909
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
65907
65910
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
65908
65911
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
@@ -65919,43 +65922,60 @@ var TilePlugin = /*#__PURE__*/function () {
|
|
|
65919
65922
|
}
|
|
65920
65923
|
return _createClass(TilePlugin, [{
|
|
65921
65924
|
key: "toggleTile",
|
|
65922
|
-
value:
|
|
65925
|
+
value: (
|
|
65923
65926
|
/**
|
|
65924
65927
|
* 切换瓦片
|
|
65925
65928
|
* @author ZhengPeiWen
|
|
65926
65929
|
* @param type 地图类型,可以是颜色进制,或瓦片路径属性名
|
|
65927
65930
|
*/
|
|
65928
|
-
|
|
65929
|
-
|
|
65930
|
-
|
|
65931
|
-
|
|
65932
|
-
|
|
65933
|
-
|
|
65934
|
-
|
|
65935
|
-
|
|
65936
|
-
|
|
65937
|
-
|
|
65938
|
-
|
|
65939
|
-
|
|
65940
|
-
|
|
65941
|
-
|
|
65942
|
-
|
|
65943
|
-
|
|
65944
|
-
|
|
65945
|
-
|
|
65946
|
-
|
|
65947
|
-
|
|
65948
|
-
|
|
65949
|
-
|
|
65950
|
-
|
|
65931
|
+
function () {
|
|
65932
|
+
var _toggleTile = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(type) {
|
|
65933
|
+
var state, _TilePathMap$this$typ, typeMap, tile, tileLabel, format, formatLabel, params;
|
|
65934
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
65935
|
+
while (1) switch (_context.prev = _context.next) {
|
|
65936
|
+
case 0:
|
|
65937
|
+
this.type = type;
|
|
65938
|
+
// 判断是否是颜色
|
|
65939
|
+
state = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(type); // 判断为true时,打开单色地图,否则加载卫星、街道、山脉瓦片
|
|
65940
|
+
if (!state) {
|
|
65941
|
+
_context.next = 6;
|
|
65942
|
+
break;
|
|
65943
|
+
}
|
|
65944
|
+
this.addColorLayer(this.type);
|
|
65945
|
+
_context.next = 16;
|
|
65946
|
+
break;
|
|
65947
|
+
case 6:
|
|
65948
|
+
_TilePathMap$this$typ = TilePathMap[this.type], typeMap = _TilePathMap$this$typ.typeMap, tile = _TilePathMap$this$typ.tile, tileLabel = _TilePathMap$this$typ.tileLabel, format = _TilePathMap$this$typ.format, formatLabel = _TilePathMap$this$typ.formatLabel, params = _TilePathMap$this$typ.params;
|
|
65949
|
+
this.deleteLayer();
|
|
65950
|
+
_context.next = 10;
|
|
65951
|
+
return this.addImageLayer(tile, format, typeMap, params);
|
|
65952
|
+
case 10:
|
|
65953
|
+
this.tileLayer = _context.sent;
|
|
65954
|
+
_context.next = 13;
|
|
65955
|
+
return this.addImageLayer(tileLabel, formatLabel, typeMap, params);
|
|
65956
|
+
case 13:
|
|
65957
|
+
this.tileLabelLayer = _context.sent;
|
|
65958
|
+
if (type === 'mountains') {
|
|
65959
|
+
this.viewer.scene.globe.baseColor = cesium__WEBPACK_IMPORTED_MODULE_0__.Color.fromCssColorString('#9ab5ce');
|
|
65960
|
+
}
|
|
65961
|
+
this.toggleLabel(!!this.hasLabel);
|
|
65962
|
+
case 16:
|
|
65963
|
+
case "end":
|
|
65964
|
+
return _context.stop();
|
|
65965
|
+
}
|
|
65966
|
+
}, _callee, this);
|
|
65967
|
+
}));
|
|
65968
|
+
function toggleTile(_x) {
|
|
65969
|
+
return _toggleTile.apply(this, arguments);
|
|
65951
65970
|
}
|
|
65952
|
-
|
|
65953
|
-
|
|
65971
|
+
return toggleTile;
|
|
65972
|
+
}()
|
|
65954
65973
|
/**
|
|
65955
65974
|
* 是否显示地理信息
|
|
65956
65975
|
* @author ZhengPeiWen
|
|
65957
65976
|
* @param hasLabel 是否打开当前瓦片的地理信息
|
|
65958
65977
|
*/
|
|
65978
|
+
)
|
|
65959
65979
|
}, {
|
|
65960
65980
|
key: "toggleLabel",
|
|
65961
65981
|
value: function toggleLabel(hasLabel) {
|
|
@@ -65989,52 +66009,74 @@ var TilePlugin = /*#__PURE__*/function () {
|
|
|
65989
66009
|
*/
|
|
65990
66010
|
}, {
|
|
65991
66011
|
key: "addImageLayer",
|
|
65992
|
-
value: function
|
|
65993
|
-
var
|
|
65994
|
-
|
|
65995
|
-
|
|
65996
|
-
|
|
65997
|
-
|
|
65998
|
-
|
|
65999
|
-
|
|
66000
|
-
|
|
66001
|
-
|
|
66002
|
-
|
|
66003
|
-
|
|
66004
|
-
|
|
66005
|
-
|
|
66006
|
-
|
|
66007
|
-
|
|
66008
|
-
|
|
66009
|
-
|
|
66010
|
-
|
|
66011
|
-
|
|
66012
|
-
|
|
66013
|
-
|
|
66014
|
-
|
|
66015
|
-
|
|
66016
|
-
|
|
66017
|
-
|
|
66018
|
-
|
|
66019
|
-
|
|
66020
|
-
|
|
66021
|
-
|
|
66022
|
-
|
|
66023
|
-
|
|
66024
|
-
|
|
66025
|
-
|
|
66026
|
-
|
|
66027
|
-
|
|
66028
|
-
|
|
66029
|
-
|
|
66030
|
-
|
|
66031
|
-
|
|
66032
|
-
|
|
66033
|
-
|
|
66012
|
+
value: (function () {
|
|
66013
|
+
var _addImageLayer = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(url) {
|
|
66014
|
+
var format,
|
|
66015
|
+
type,
|
|
66016
|
+
params,
|
|
66017
|
+
imageProvider,
|
|
66018
|
+
style,
|
|
66019
|
+
_args2 = arguments;
|
|
66020
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
66021
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
66022
|
+
case 0:
|
|
66023
|
+
format = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : '4326';
|
|
66024
|
+
type = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : 'tianditu';
|
|
66025
|
+
params = _args2.length > 3 ? _args2[3] : undefined;
|
|
66026
|
+
imageProvider = null;
|
|
66027
|
+
_context2.t0 = type;
|
|
66028
|
+
_context2.next = _context2.t0 === 'tianditu' ? 7 : _context2.t0 === 'gaode' ? 9 : _context2.t0 === 'gaode2' ? 13 : _context2.t0 === 'baidu' ? 15 : _context2.t0 === 'mapbox' ? 17 : 21;
|
|
66029
|
+
break;
|
|
66030
|
+
case 7:
|
|
66031
|
+
imageProvider = new cesium__WEBPACK_IMPORTED_MODULE_0__.WebMapTileServiceImageryProvider(this.imageryLayerConfig(url, format));
|
|
66032
|
+
return _context2.abrupt("break", 22);
|
|
66033
|
+
case 9:
|
|
66034
|
+
_context2.next = 11;
|
|
66035
|
+
return cesium__WEBPACK_IMPORTED_MODULE_0__.TileMapServiceImageryProvider.fromUrl(url);
|
|
66036
|
+
case 11:
|
|
66037
|
+
imageProvider = _context2.sent;
|
|
66038
|
+
return _context2.abrupt("break", 22);
|
|
66039
|
+
case 13:
|
|
66040
|
+
imageProvider = new cesium__WEBPACK_IMPORTED_MODULE_0__.UrlTemplateImageryProvider({
|
|
66041
|
+
url: url,
|
|
66042
|
+
subdomains: ['1', '2', '3', '4']
|
|
66043
|
+
});
|
|
66044
|
+
return _context2.abrupt("break", 22);
|
|
66045
|
+
case 15:
|
|
66046
|
+
imageProvider = new _BaiduImageryProvider_js__WEBPACK_IMPORTED_MODULE_2__["default"]({
|
|
66047
|
+
url: url
|
|
66048
|
+
});
|
|
66049
|
+
return _context2.abrupt("break", 22);
|
|
66050
|
+
case 17:
|
|
66051
|
+
// eslint-disable-next-line no-case-declarations
|
|
66052
|
+
// const { username, styleId, accessToken } = params;
|
|
66053
|
+
// imageProvider = new MapboxStyleImageryProvider({
|
|
66054
|
+
// url,
|
|
66055
|
+
// username,
|
|
66056
|
+
// styleId,
|
|
66057
|
+
// accessToken,
|
|
66058
|
+
// });
|
|
66059
|
+
style = params.style;
|
|
66060
|
+
this.viewer.scene.globe.baseColor = cesium__WEBPACK_IMPORTED_MODULE_0__.Color.fromCssColorString('#0b0c28');
|
|
66061
|
+
imageProvider = new _mapbox_MVTImageryProvider__WEBPACK_IMPORTED_MODULE_1__["default"]({
|
|
66062
|
+
style: style
|
|
66063
|
+
});
|
|
66064
|
+
return _context2.abrupt("break", 22);
|
|
66065
|
+
case 21:
|
|
66066
|
+
return _context2.abrupt("break", 22);
|
|
66067
|
+
case 22:
|
|
66068
|
+
return _context2.abrupt("return", this.viewer.imageryLayers.addImageryProvider(imageProvider));
|
|
66069
|
+
case 23:
|
|
66070
|
+
case "end":
|
|
66071
|
+
return _context2.stop();
|
|
66072
|
+
}
|
|
66073
|
+
}, _callee2, this);
|
|
66074
|
+
}));
|
|
66075
|
+
function addImageLayer(_x2) {
|
|
66076
|
+
return _addImageLayer.apply(this, arguments);
|
|
66034
66077
|
}
|
|
66035
|
-
return
|
|
66036
|
-
}
|
|
66037
|
-
|
|
66078
|
+
return addImageLayer;
|
|
66079
|
+
}()
|
|
66038
66080
|
/**
|
|
66039
66081
|
* 创建瓦片与地理信息图层
|
|
66040
66082
|
* @author ZhengPeiWen
|
|
@@ -66042,6 +66084,7 @@ var TilePlugin = /*#__PURE__*/function () {
|
|
|
66042
66084
|
* @param format (string) 判断投影格式。
|
|
66043
66085
|
* @return ImageryLayer 配置项
|
|
66044
66086
|
*/
|
|
66087
|
+
)
|
|
66045
66088
|
}, {
|
|
66046
66089
|
key: "imageryLayerConfig",
|
|
66047
66090
|
value: function imageryLayerConfig(url, format) {
|
|
@@ -66092,16 +66135,18 @@ var TilePlugin = /*#__PURE__*/function () {
|
|
|
66092
66135
|
*/
|
|
66093
66136
|
// toggleTerrain(hasTerrain: boolean) {
|
|
66094
66137
|
// this.viewer.scene.terrainProvider = hasTerrain
|
|
66095
|
-
// ?
|
|
66138
|
+
// ? createWorldTerrainAsync()
|
|
66096
66139
|
// : new EllipsoidTerrainProvider();
|
|
66097
66140
|
// }
|
|
66098
66141
|
}, {
|
|
66099
66142
|
key: "toggleTerrain",
|
|
66100
66143
|
value: function toggleTerrain(hasTerrain, url) {
|
|
66101
|
-
|
|
66102
|
-
|
|
66103
|
-
|
|
66104
|
-
this.viewer.scene.terrainProvider = hasTerrain
|
|
66144
|
+
// const uri = url
|
|
66145
|
+
// ? new CesiumTerrainProvider({ url: TilePathMap[url].tile })
|
|
66146
|
+
// : createWorldTerrainAsync();
|
|
66147
|
+
// this.viewer.scene.terrainProvider = hasTerrain
|
|
66148
|
+
// ? uri
|
|
66149
|
+
// : new EllipsoidTerrainProvider();
|
|
66105
66150
|
}
|
|
66106
66151
|
|
|
66107
66152
|
/**
|
|
@@ -73326,10 +73371,9 @@ var MAGNIFY_OPTION = {
|
|
|
73326
73371
|
};
|
|
73327
73372
|
var CustomProfile = /*#__PURE__*/function () {
|
|
73328
73373
|
function CustomProfile(option) {
|
|
73329
|
-
var _option$opacity, _option$
|
|
73374
|
+
var _option$opacity, _option$drag, _option$zIndex, _option$wallCreated, _option$updatedPath, _option$renderPath, _option$boxScope, _option$outMessage;
|
|
73330
73375
|
_classCallCheck(this, CustomProfile);
|
|
73331
73376
|
_defineProperty(this, "opacity", 1);
|
|
73332
|
-
_defineProperty(this, "windZeroView", false);
|
|
73333
73377
|
_defineProperty(this, "points", []);
|
|
73334
73378
|
_defineProperty(this, "polyline", null);
|
|
73335
73379
|
_defineProperty(this, "renderScale", 1);
|
|
@@ -73377,7 +73421,6 @@ var CustomProfile = /*#__PURE__*/function () {
|
|
|
73377
73421
|
this.windWScale = option.windWScale;
|
|
73378
73422
|
this.heightLine = option.heightLine;
|
|
73379
73423
|
this.opacity = (_option$opacity = option.opacity) !== null && _option$opacity !== void 0 ? _option$opacity : 1;
|
|
73380
|
-
this.windZeroView = (_option$windZeroView = option.windZeroView) !== null && _option$windZeroView !== void 0 ? _option$windZeroView : this.windZeroView;
|
|
73381
73424
|
this.magnifyOption = Object.assign(MAGNIFY_OPTION, option.magnifyOption);
|
|
73382
73425
|
this.magnify = false;
|
|
73383
73426
|
this.keepDecimal = option.keepDecimal || 2;
|
|
@@ -73525,7 +73568,6 @@ var CustomProfile = /*#__PURE__*/function () {
|
|
|
73525
73568
|
viewHeight: this.viewHeight,
|
|
73526
73569
|
wallHeightScale: this.wallHeightScale,
|
|
73527
73570
|
opacity: this.opacity,
|
|
73528
|
-
windZeroView: this.windZeroView,
|
|
73529
73571
|
rectangle: this.rectangle,
|
|
73530
73572
|
lock: this.lock,
|
|
73531
73573
|
renderTypes: this.renderTypes,
|
|
@@ -73602,7 +73644,7 @@ var CustomProfile = /*#__PURE__*/function () {
|
|
|
73602
73644
|
var listDis = list[list.length - 1] - list[list.length - 2];
|
|
73603
73645
|
var lastDeg = deg[deg.length - 1];
|
|
73604
73646
|
var position = this.profile.position.getValue().slice();
|
|
73605
|
-
var extendPosition = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(position[position.length - 2], lastDeg, listDis + diffDistance);
|
|
73647
|
+
var extendPosition = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(position[position.length - 2], 360 - lastDeg + 90, listDis + diffDistance);
|
|
73606
73648
|
position.splice(-1, 1, extendPosition);
|
|
73607
73649
|
this.profile.changePosition(position);
|
|
73608
73650
|
}
|
|
@@ -74518,9 +74560,9 @@ var CustomProfile = /*#__PURE__*/function () {
|
|
|
74518
74560
|
}
|
|
74519
74561
|
}, {
|
|
74520
74562
|
key: "updatePathData",
|
|
74521
|
-
value: function updatePathData(pathData
|
|
74563
|
+
value: function updatePathData(pathData) {
|
|
74522
74564
|
var _this$profile;
|
|
74523
|
-
(_this$profile = this.profile) === null || _this$profile === void 0 || _this$profile.updatePathData(pathData
|
|
74565
|
+
(_this$profile = this.profile) === null || _this$profile === void 0 || _this$profile.updatePathData(pathData);
|
|
74524
74566
|
}
|
|
74525
74567
|
}, {
|
|
74526
74568
|
key: "innerImg",
|
|
@@ -74952,7 +74994,7 @@ var CustomProfile = /*#__PURE__*/function () {
|
|
|
74952
74994
|
var listDis = list[list.length - 1] - list[list.length - 2];
|
|
74953
74995
|
var lastDeg = deg[deg.length - 1];
|
|
74954
74996
|
var position = this.profile.position.getValue().slice();
|
|
74955
|
-
var extendPosition = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(position[position.length - 2], lastDeg, listDis + diffDistance);
|
|
74997
|
+
var extendPosition = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(position[position.length - 2], 360 - lastDeg + 90, listDis + diffDistance);
|
|
74956
74998
|
position.splice(-1, 1, extendPosition);
|
|
74957
74999
|
this.profile.changePosition(position);
|
|
74958
75000
|
}
|
|
@@ -85896,7 +85938,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
85896
85938
|
|
|
85897
85939
|
|
|
85898
85940
|
|
|
85899
|
-
var fs = "\n czm_material czm_getMaterial(czm_materialInput materialInput)\n {\n czm_material material = czm_getDefaultMaterial(materialInput);\n vec2 v_st = materialInput.st;\n float data_value =
|
|
85941
|
+
var fs = "\n czm_material czm_getMaterial(czm_materialInput materialInput)\n {\n czm_material material = czm_getDefaultMaterial(materialInput);\n vec2 v_st = materialInput.st;\n float data_value = texture(data, v_st).r;\n material.diffuse = vec3(data_value, 0.0, 0.0);\n // vec4 imgColor = texture(data, v_st);\n // material.diffuse = vec3(imgColor.rgb);\n // material.alpha = 1.0;\n\n if (gaussian) {\n // material.diffuse = vec3(0.0, 1.0, 0.0);\n // material.alpha = 1.0;\n // \u6C34\u5E73\u65B9\u5411\u9AD8\u65AF\u6A21\u7CCA\n vec4 blur_color = vec4(0.0);\n float total_weight = 0.0;\n\n for (float i = -5.0; i <= 5.0; i++) {\n vec2 offset = vec2(i, 0.0) / data_size;\n float weight = 1.0 / (sqrt(2.0 * 3.14159) * gaussian_number) * exp(-(i * i) / (2.0 * gaussian_number * gaussian_number));\n blur_color += texture(data, v_st + offset) * weight;\n total_weight += weight;\n }\n blur_color /= total_weight;\n\n // \u5782\u76F4\u65B9\u5411\u9AD8\u65AF\u6A21\u7CCA\n vec4 final_color = vec4(0.0);\n total_weight = 0.0;\n for (float i = -5.0; i <= 5.0; i++) {\n vec2 offset = vec2(0.0, i) / data_size;\n float weight = 1.0 / (sqrt(2.0 * 3.14159) * gaussian_number) * exp(-(i * i) / (2.0 * gaussian_number * gaussian_number));\n final_color += texture(data, v_st + offset) * weight;\n total_weight += weight;\n }\n final_color /= total_weight;\n\n data_value = mix(blur_color, final_color, 0.5).r; // \u4F7F\u7528\u6A21\u7CCA\u540E\u7684\u989C\u8272\u8FDB\u884C\u5904\u7406\n }\n\n if (data_value == data_invalid) {\n material.diffuse = vec3(1.0, 0.0, 0.0);\n material.alpha = 0.0;\n } else {\n float real_value = (data_value - data_offset) / data_scale;\n if (real_value >= color_min && real_value <= color_max) {\n float color_value = (real_value - color_min) / color_accuracy;\n vec4 color_result = texture(color, vec2(color_value / (color_size - 1.0), 0.5));\n material.diffuse = color_result.rgb;\n if (color_result.a == 0.0) {\n material.alpha = 0.0;\n } else {\n material.alpha = color_opacity;\n }\n } else {\n material.diffuse = vec3(0.0, 0.0, 1.0);\n material.alpha = 0.0;\n }\n }\n \n return material;\n }\n ";
|
|
85900
85942
|
var LayerPrimitive = /*#__PURE__*/function () {
|
|
85901
85943
|
function LayerPrimitive(option) {
|
|
85902
85944
|
_classCallCheck(this, LayerPrimitive);
|
|
@@ -86067,17 +86109,19 @@ var LayerPrimitive = /*#__PURE__*/function () {
|
|
|
86067
86109
|
LayerPrimitive.examples[this.zIndex].push(this.primitive);
|
|
86068
86110
|
LayerPrimitive.sortPrimitive(this.viewer.scene.groundPrimitives);
|
|
86069
86111
|
var _this = this;
|
|
86070
|
-
this.
|
|
86071
|
-
_this.primitive.
|
|
86072
|
-
|
|
86073
|
-
|
|
86074
|
-
|
|
86075
|
-
|
|
86076
|
-
|
|
86077
|
-
|
|
86078
|
-
|
|
86079
|
-
|
|
86080
|
-
|
|
86112
|
+
this.preRender = this.viewer.scene.preRender.addEventListener(function () {
|
|
86113
|
+
if (_this.primitive && _this.primitive.ready) {
|
|
86114
|
+
_this.primitive.show = true;
|
|
86115
|
+
if (oldPrimitive) {
|
|
86116
|
+
_this.viewer.scene.groundPrimitives.remove(oldPrimitive);
|
|
86117
|
+
LayerPrimitive.removeExamplesItem(oldPrimitive, _this.zIndex);
|
|
86118
|
+
oldPrimitive = null;
|
|
86119
|
+
}
|
|
86120
|
+
if (_this.destroyed) {
|
|
86121
|
+
_this.viewer.scene.groundPrimitives.remove(_this.primitive);
|
|
86122
|
+
LayerPrimitive.removeExamplesItem(oldPrimitive, _this.zIndex);
|
|
86123
|
+
_this.primitive = null;
|
|
86124
|
+
}
|
|
86081
86125
|
}
|
|
86082
86126
|
});
|
|
86083
86127
|
} else {
|
|
@@ -90383,7 +90427,6 @@ var Mark = /*#__PURE__*/function () {
|
|
|
90383
90427
|
this.data = data || [];
|
|
90384
90428
|
this.style = this.mergeStyle((options === null || options === void 0 ? void 0 : options.style) || {});
|
|
90385
90429
|
this.checkedCallback = options === null || options === void 0 ? void 0 : options.checkedCallback;
|
|
90386
|
-
this.doubleClickCallback = options === null || options === void 0 ? void 0 : options.doubleClickCallback;
|
|
90387
90430
|
this.moveCallback = options === null || options === void 0 ? void 0 : options.moveCallback;
|
|
90388
90431
|
this.scaleRate = (options === null || options === void 0 ? void 0 : options.scaleRate) || 1.2;
|
|
90389
90432
|
this.marks = [];
|
|
@@ -90398,9 +90441,6 @@ var Mark = /*#__PURE__*/function () {
|
|
|
90398
90441
|
if (this.checkedCallback) {
|
|
90399
90442
|
this.creatMouseLeft();
|
|
90400
90443
|
}
|
|
90401
|
-
if (this.doubleClickCallback) {
|
|
90402
|
-
this.creatDoubleClick();
|
|
90403
|
-
}
|
|
90404
90444
|
if (this.moveCallback) {
|
|
90405
90445
|
this.throttleTime = options.throttleTime || 500;
|
|
90406
90446
|
this.createMouseMove();
|
|
@@ -90514,9 +90554,6 @@ var Mark = /*#__PURE__*/function () {
|
|
|
90514
90554
|
if (this.checkedCallback) {
|
|
90515
90555
|
this.destroyMouseLeft();
|
|
90516
90556
|
}
|
|
90517
|
-
if (this.doubleClickCallback) {
|
|
90518
|
-
this.destroyDoubleClick();
|
|
90519
|
-
}
|
|
90520
90557
|
if (this.moveCallback) {
|
|
90521
90558
|
this.destroyMouseMove();
|
|
90522
90559
|
}
|
|
@@ -90556,38 +90593,6 @@ var Mark = /*#__PURE__*/function () {
|
|
|
90556
90593
|
this.handler.removeInputAction(cesium__WEBPACK_IMPORTED_MODULE_0__.ScreenSpaceEventType.LEFT_CLICK);
|
|
90557
90594
|
}
|
|
90558
90595
|
|
|
90559
|
-
/**
|
|
90560
|
-
* 创建鼠标左键事件
|
|
90561
|
-
* @author ZhangYuLong
|
|
90562
|
-
*/
|
|
90563
|
-
}, {
|
|
90564
|
-
key: "creatDoubleClick",
|
|
90565
|
-
value: function creatDoubleClick() {
|
|
90566
|
-
var _this3 = this;
|
|
90567
|
-
this.handler.setInputAction(function (event) {
|
|
90568
|
-
var _entity$id3, _entity$id4;
|
|
90569
|
-
var entity = _this3.viewer.scene.pick(event.position);
|
|
90570
|
-
if (entity !== null && entity !== void 0 && (_entity$id3 = entity.id) !== null && _entity$id3 !== void 0 && _entity$id3.index && String(entity === null || entity === void 0 || (_entity$id4 = entity.id) === null || _entity$id4 === void 0 ? void 0 : _entity$id4.index)) {
|
|
90571
|
-
var _this3$doubleClickCal;
|
|
90572
|
-
var index = Number(entity.id.index.split("".concat(_this3.nameSpace, "_mark_"))[1]);
|
|
90573
|
-
// 替换icon并放大
|
|
90574
|
-
_this3._replaceAndScaleIcon(index);
|
|
90575
|
-
// 调用传入的点击事件
|
|
90576
|
-
(_this3$doubleClickCal = _this3.doubleClickCallback) === null || _this3$doubleClickCal === void 0 || _this3$doubleClickCal.call(_this3, index);
|
|
90577
|
-
}
|
|
90578
|
-
}, cesium__WEBPACK_IMPORTED_MODULE_0__.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
|
|
90579
|
-
}
|
|
90580
|
-
|
|
90581
|
-
/**
|
|
90582
|
-
* 销毁鼠标左键事件
|
|
90583
|
-
* @author ZhangYuLong
|
|
90584
|
-
*/
|
|
90585
|
-
}, {
|
|
90586
|
-
key: "destroyDoubleClick",
|
|
90587
|
-
value: function destroyDoubleClick() {
|
|
90588
|
-
this.handler.removeInputAction(cesium__WEBPACK_IMPORTED_MODULE_0__.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
|
|
90589
|
-
}
|
|
90590
|
-
|
|
90591
90596
|
/**
|
|
90592
90597
|
* 创建鼠标移动事件
|
|
90593
90598
|
* @author ZhangYuLong
|
|
@@ -90595,21 +90600,21 @@ var Mark = /*#__PURE__*/function () {
|
|
|
90595
90600
|
}, {
|
|
90596
90601
|
key: "createMouseMove",
|
|
90597
90602
|
value: function createMouseMove() {
|
|
90598
|
-
var
|
|
90603
|
+
var _this3 = this;
|
|
90599
90604
|
var throttleMouseMove = (0,_common_throttle__WEBPACK_IMPORTED_MODULE_1__.throttle)(function (event) {
|
|
90600
90605
|
var _billBoard$id;
|
|
90601
|
-
var billBoard =
|
|
90602
|
-
if (billBoard !== null && billBoard !== void 0 && billBoard.id && String(billBoard === null || billBoard === void 0 || (_billBoard$id = billBoard.id) === null || _billBoard$id === void 0 ? void 0 : _billBoard$id.id).includes("".concat(
|
|
90603
|
-
var
|
|
90606
|
+
var billBoard = _this3.viewer.scene.pick(event.endPosition);
|
|
90607
|
+
if (billBoard !== null && billBoard !== void 0 && billBoard.id && String(billBoard === null || billBoard === void 0 || (_billBoard$id = billBoard.id) === null || _billBoard$id === void 0 ? void 0 : _billBoard$id.id).includes("".concat(_this3.nameSpace, "_mark"))) {
|
|
90608
|
+
var _this3$moveCallback;
|
|
90604
90609
|
var index = Number(billBoard.id.id.split('_').at(-1));
|
|
90605
|
-
(
|
|
90610
|
+
(_this3$moveCallback = _this3.moveCallback) === null || _this3$moveCallback === void 0 || _this3$moveCallback.call(_this3, {
|
|
90606
90611
|
x: event.endPosition.x,
|
|
90607
90612
|
y: event.endPosition.y,
|
|
90608
90613
|
index: index
|
|
90609
90614
|
});
|
|
90610
90615
|
} else {
|
|
90611
|
-
var
|
|
90612
|
-
(
|
|
90616
|
+
var _this3$moveCallback2;
|
|
90617
|
+
(_this3$moveCallback2 = _this3.moveCallback) === null || _this3$moveCallback2 === void 0 || _this3$moveCallback2.call(_this3, null);
|
|
90613
90618
|
}
|
|
90614
90619
|
}, this.throttleTime);
|
|
90615
90620
|
this.handler.setInputAction(function (event) {
|
|
@@ -93925,7 +93930,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
93925
93930
|
|
|
93926
93931
|
var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
93927
93932
|
function Profile(option) {
|
|
93928
|
-
var _this2$option$opacity,
|
|
93933
|
+
var _this2$option$opacity, _option$windDensity, _option$windViewType, _option$windWScale, _option$windStyle, _option$heightLine, _option$openHoverHeig, _option$cameraChangeR, _option$renderPath;
|
|
93929
93934
|
var _this2;
|
|
93930
93935
|
_classCallCheck(this, Profile);
|
|
93931
93936
|
_this2 = _callSuper(this, Profile, [option]);
|
|
@@ -93948,7 +93953,6 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
93948
93953
|
});
|
|
93949
93954
|
_defineProperty(_this2, "heightLine", []);
|
|
93950
93955
|
_defineProperty(_this2, "opacity", 1);
|
|
93951
|
-
_defineProperty(_this2, "windZeroView", false);
|
|
93952
93956
|
// 风速预警值
|
|
93953
93957
|
_defineProperty(_this2, "renderConf", {});
|
|
93954
93958
|
_defineProperty(_this2, "renderTypes", []);
|
|
@@ -93965,14 +93969,12 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
93965
93969
|
_defineProperty(_this2, "windLayers", {});
|
|
93966
93970
|
_defineProperty(_this2, "keepDecimal", 2);
|
|
93967
93971
|
_defineProperty(_this2, "pathData", null);
|
|
93968
|
-
_defineProperty(_this2, "pathWindData", null);
|
|
93969
93972
|
_this2.option = option;
|
|
93970
93973
|
_this2.warnWindSpeed = option.warnWindSpeed;
|
|
93971
93974
|
_this2.realHeight = _this2.option.wallHeight * _this2.option.wallHeightScale;
|
|
93972
93975
|
_this2.viewHeight = _this2.option.viewHeight || _this2.option.wallHeight;
|
|
93973
93976
|
_this2.colors = option.colors;
|
|
93974
93977
|
_this2.opacity = (_this2$option$opacity = _this2.option.opacity) !== null && _this2$option$opacity !== void 0 ? _this2$option$opacity : _this2.opacity;
|
|
93975
|
-
_this2.windZeroView = (_this2$option$windZer = _this2.option.windZeroView) !== null && _this2$option$windZer !== void 0 ? _this2$option$windZer : _this2.windZeroView;
|
|
93976
93978
|
_this2.renderScale = option.renderScale || 1;
|
|
93977
93979
|
_this2.renderTypes = option.renderTypes;
|
|
93978
93980
|
_this2.windDensity = (_option$windDensity = option.windDensity) !== null && _option$windDensity !== void 0 ? _option$windDensity : 1;
|
|
@@ -94092,7 +94094,6 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
94092
94094
|
var _this3 = this;
|
|
94093
94095
|
if (this.eventType === 2) {
|
|
94094
94096
|
this.pathData = null;
|
|
94095
|
-
this.pathWindData = null;
|
|
94096
94097
|
this.linePosition = this.position.getValue().map(function (po) {
|
|
94097
94098
|
return cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(po[0], po[1]);
|
|
94098
94099
|
});
|
|
@@ -94513,216 +94514,101 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
94513
94514
|
value: (realHeight / 1000).toFixed(this.keepDecimal)
|
|
94514
94515
|
}];
|
|
94515
94516
|
this.drawMouseValueLine(realHeight, cartesian3);
|
|
94516
|
-
|
|
94517
|
-
var
|
|
94518
|
-
|
|
94519
|
-
|
|
94520
|
-
|
|
94521
|
-
|
|
94522
|
-
|
|
94523
|
-
|
|
94524
|
-
|
|
94525
|
-
|
|
94526
|
-
|
|
94527
|
-
|
|
94528
|
-
|
|
94529
|
-
|
|
94530
|
-
|
|
94531
|
-
var
|
|
94532
|
-
|
|
94533
|
-
var
|
|
94534
|
-
|
|
94535
|
-
|
|
94536
|
-
|
|
94537
|
-
|
|
94538
|
-
|
|
94539
|
-
|
|
94540
|
-
|
|
94541
|
-
|
|
94542
|
-
|
|
94543
|
-
|
|
94544
|
-
|
|
94545
|
-
|
|
94546
|
-
if (
|
|
94547
|
-
var dataYIndex = 0;
|
|
94548
|
-
while (dataYIndex < dataGridY) {
|
|
94549
|
-
if (dataPlies[dataYIndex] > realHeight) {
|
|
94550
|
-
break;
|
|
94551
|
-
}
|
|
94552
|
-
dataYIndex += 1;
|
|
94553
|
-
}
|
|
94554
|
-
var dataXIndex = Math.round(curX / width * (dataGridX - 1));
|
|
94555
|
-
var sourceVal = data[(dataYIndex - 1) * dataGridX + dataXIndex];
|
|
94556
|
-
var realValue = (sourceVal - valueOffset) / valueScale;
|
|
94557
|
-
var _this$renderConf$valu = this.renderConf[value],
|
|
94558
|
-
min = _this$renderConf$valu.min,
|
|
94559
|
-
max = _this$renderConf$valu.max,
|
|
94560
|
-
label = _this$renderConf$valu.label,
|
|
94561
|
-
unit = _this$renderConf$valu.unit;
|
|
94562
|
-
if (sourceVal !== invalid && realValue >= min && realValue <= max) {
|
|
94563
|
-
result.push({
|
|
94564
|
-
urlKey: value,
|
|
94565
|
-
type: value,
|
|
94566
|
-
name: label,
|
|
94567
|
-
company: unit,
|
|
94568
|
-
value: realValue.toString()
|
|
94569
|
-
});
|
|
94570
|
-
}
|
|
94571
|
-
}
|
|
94572
|
-
}
|
|
94573
|
-
if (this.pathWindData) {
|
|
94574
|
-
var _width = this.canvas.width;
|
|
94575
|
-
var _this$pathWindData = this.pathWindData,
|
|
94576
|
-
windPlies = _this$pathWindData.plies,
|
|
94577
|
-
windGridX = _this$pathWindData.gridX,
|
|
94578
|
-
windGridY = _this$pathWindData.gridY;
|
|
94579
|
-
var windYIndex = 0;
|
|
94580
|
-
while (windYIndex < windGridY) {
|
|
94581
|
-
if (windPlies[windYIndex] > realHeight) {
|
|
94582
|
-
break;
|
|
94583
|
-
}
|
|
94584
|
-
windYIndex += 1;
|
|
94585
|
-
}
|
|
94586
|
-
var windXIndex = Math.round(curX / _width * windGridX);
|
|
94587
|
-
var _this$getPathPointVal = this.getPathPointValue(windXIndex, windYIndex),
|
|
94588
|
-
_this$getPathPointVal2 = _slicedToArray(_this$getPathPointVal, 3),
|
|
94589
|
-
u = _this$getPathPointVal2[0],
|
|
94590
|
-
v = _this$getPathPointVal2[1],
|
|
94591
|
-
w = _this$getPathPointVal2[2];
|
|
94592
|
-
if (u || v || w) {
|
|
94593
|
-
var _Wind$getWindDirSpe = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
94594
|
-
direction = _Wind$getWindDirSpe.direction,
|
|
94595
|
-
speed = _Wind$getWindDirSpe.speed;
|
|
94517
|
+
Profile.types.forEach(function (typeOption) {
|
|
94518
|
+
var data = typeOption.data,
|
|
94519
|
+
value = typeOption.value,
|
|
94520
|
+
plieHeight = typeOption.plieHeight,
|
|
94521
|
+
startLon = typeOption.startLon,
|
|
94522
|
+
startLat = typeOption.startLat,
|
|
94523
|
+
endLon = typeOption.endLon,
|
|
94524
|
+
endLat = typeOption.endLat,
|
|
94525
|
+
gridX = typeOption.gridX,
|
|
94526
|
+
gridY = typeOption.gridY,
|
|
94527
|
+
offsetX = typeOption.offsetX,
|
|
94528
|
+
offsetY = typeOption.offsetY,
|
|
94529
|
+
invalid = typeOption.invalid,
|
|
94530
|
+
valueOffset = typeOption.valueOffset,
|
|
94531
|
+
valueScale = typeOption.valueScale;
|
|
94532
|
+
var lonStep = (endLon - startLon) / gridX;
|
|
94533
|
+
var latStep = (endLat - startLat) / gridY;
|
|
94534
|
+
var _Profile$getPointInde = Profile.getPointIndex(lon, lat, startLon, startLat, lonStep, latStep, offsetX || 0, offsetY || 0),
|
|
94535
|
+
_Profile$getPointInde2 = _slicedToArray(_Profile$getPointInde, 2),
|
|
94536
|
+
x = _Profile$getPointInde2[0],
|
|
94537
|
+
y = _Profile$getPointInde2[1];
|
|
94538
|
+
if (x >= 0 && x < gridX && y >= 0 && y < gridY) {
|
|
94539
|
+
var curPlies = Math.floor(realHeight / plieHeight);
|
|
94540
|
+
var sourceVal = data[curPlies * gridX * gridY + y * gridX + x];
|
|
94541
|
+
var realValue = (sourceVal - valueOffset) / valueScale;
|
|
94542
|
+
var _this11$renderConf$va = _this11.renderConf[value],
|
|
94543
|
+
min = _this11$renderConf$va.min,
|
|
94544
|
+
max = _this11$renderConf$va.max,
|
|
94545
|
+
label = _this11$renderConf$va.label,
|
|
94546
|
+
unit = _this11$renderConf$va.unit;
|
|
94547
|
+
if (sourceVal !== invalid && realValue >= min && realValue <= max) {
|
|
94596
94548
|
result.push({
|
|
94597
|
-
urlKey:
|
|
94598
|
-
type:
|
|
94599
|
-
name:
|
|
94600
|
-
company:
|
|
94601
|
-
value:
|
|
94602
|
-
}, {
|
|
94603
|
-
urlKey: 'V',
|
|
94604
|
-
type: 'V',
|
|
94605
|
-
name: 'V',
|
|
94606
|
-
company: 'm/s',
|
|
94607
|
-
value: Number(v.toFixed(1)).toString()
|
|
94608
|
-
}, {
|
|
94609
|
-
urlKey: 'W',
|
|
94610
|
-
type: 'W',
|
|
94611
|
-
name: 'W',
|
|
94612
|
-
company: 'm/s',
|
|
94613
|
-
value: Number(w.toFixed(1)).toString()
|
|
94614
|
-
}, {
|
|
94615
|
-
urlKey: 'DIRECTION',
|
|
94616
|
-
type: 'DIRECTION',
|
|
94617
|
-
name: '风向',
|
|
94618
|
-
company: '°',
|
|
94619
|
-
value: Math.round(direction < 0 ? direction + 360 : direction).toString()
|
|
94620
|
-
}, {
|
|
94621
|
-
urlKey: 'SPEED',
|
|
94622
|
-
type: 'SPEED',
|
|
94623
|
-
name: '风速',
|
|
94624
|
-
company: 'm/s',
|
|
94625
|
-
value: speed.toFixed(1).toString()
|
|
94549
|
+
urlKey: value,
|
|
94550
|
+
type: value,
|
|
94551
|
+
name: label,
|
|
94552
|
+
company: unit,
|
|
94553
|
+
value: realValue.toString()
|
|
94626
94554
|
});
|
|
94627
94555
|
}
|
|
94628
94556
|
}
|
|
94629
|
-
}
|
|
94630
|
-
|
|
94631
|
-
|
|
94632
|
-
|
|
94633
|
-
|
|
94634
|
-
|
|
94635
|
-
|
|
94636
|
-
|
|
94637
|
-
|
|
94638
|
-
|
|
94639
|
-
|
|
94640
|
-
|
|
94641
|
-
|
|
94642
|
-
|
|
94643
|
-
valueOffset = typeOption.valueOffset,
|
|
94644
|
-
valueScale = typeOption.valueScale;
|
|
94645
|
-
var lonStep = (endLon - startLon) / gridX;
|
|
94646
|
-
var latStep = (endLat - startLat) / gridY;
|
|
94647
|
-
var _Profile$getPointInde = Profile.getPointIndex(lon, lat, startLon, startLat, lonStep, latStep, offsetX || 0, offsetY || 0),
|
|
94648
|
-
_Profile$getPointInde2 = _slicedToArray(_Profile$getPointInde, 2),
|
|
94649
|
-
x = _Profile$getPointInde2[0],
|
|
94650
|
-
y = _Profile$getPointInde2[1];
|
|
94651
|
-
if (x >= 0 && x < gridX && y >= 0 && y < gridY) {
|
|
94652
|
-
var curPlies = Math.floor(realHeight / plieHeight);
|
|
94653
|
-
var _sourceVal = data[curPlies * gridX * gridY + y * gridX + x];
|
|
94654
|
-
var _realValue = (_sourceVal - valueOffset) / valueScale;
|
|
94655
|
-
var _this11$renderConf$va = _this11.renderConf[value],
|
|
94656
|
-
_min = _this11$renderConf$va.min,
|
|
94657
|
-
_max = _this11$renderConf$va.max,
|
|
94658
|
-
_label = _this11$renderConf$va.label,
|
|
94659
|
-
_unit = _this11$renderConf$va.unit;
|
|
94660
|
-
if (_sourceVal !== invalid && _realValue >= _min && _realValue <= _max) {
|
|
94661
|
-
result.push({
|
|
94662
|
-
urlKey: value,
|
|
94663
|
-
type: value,
|
|
94664
|
-
name: _label,
|
|
94665
|
-
company: _unit,
|
|
94666
|
-
value: _realValue.toString()
|
|
94667
|
-
});
|
|
94668
|
-
}
|
|
94669
|
-
}
|
|
94557
|
+
});
|
|
94558
|
+
var _windData = Profile.windData;
|
|
94559
|
+
if (_windData) {
|
|
94560
|
+
var startLon = _windData.startLon,
|
|
94561
|
+
startLat = _windData.startLat,
|
|
94562
|
+
endLon = _windData.endLon,
|
|
94563
|
+
endLat = _windData.endLat,
|
|
94564
|
+
gridX = _windData.gridX,
|
|
94565
|
+
gridY = _windData.gridY;
|
|
94566
|
+
var lonStep = (endLon - startLon) / gridX;
|
|
94567
|
+
var latStep = (endLat - startLat) / gridY;
|
|
94568
|
+
var data = _objectSpread(_objectSpread({}, _windData), {}, {
|
|
94569
|
+
lonStep: lonStep,
|
|
94570
|
+
latStep: latStep
|
|
94670
94571
|
});
|
|
94671
|
-
var
|
|
94672
|
-
|
|
94673
|
-
|
|
94674
|
-
|
|
94675
|
-
|
|
94676
|
-
|
|
94677
|
-
|
|
94678
|
-
|
|
94679
|
-
|
|
94680
|
-
|
|
94681
|
-
|
|
94682
|
-
|
|
94683
|
-
|
|
94572
|
+
var _this$getPointValue = this.getPointValue(lon, lat, realHeight, data),
|
|
94573
|
+
_this$getPointValue2 = _slicedToArray(_this$getPointValue, 3),
|
|
94574
|
+
u = _this$getPointValue2[0],
|
|
94575
|
+
v = _this$getPointValue2[1],
|
|
94576
|
+
w = _this$getPointValue2[2];
|
|
94577
|
+
if (u || v || w) {
|
|
94578
|
+
var _Wind$getWindDirSpe = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
94579
|
+
direction = _Wind$getWindDirSpe.direction,
|
|
94580
|
+
speed = _Wind$getWindDirSpe.speed;
|
|
94581
|
+
result.push({
|
|
94582
|
+
urlKey: 'U',
|
|
94583
|
+
type: 'U',
|
|
94584
|
+
name: 'U',
|
|
94585
|
+
company: 'm/s',
|
|
94586
|
+
value: Number(u.toFixed(1)).toString()
|
|
94587
|
+
}, {
|
|
94588
|
+
urlKey: 'V',
|
|
94589
|
+
type: 'V',
|
|
94590
|
+
name: 'V',
|
|
94591
|
+
company: 'm/s',
|
|
94592
|
+
value: Number(v.toFixed(1)).toString()
|
|
94593
|
+
}, {
|
|
94594
|
+
urlKey: 'W',
|
|
94595
|
+
type: 'W',
|
|
94596
|
+
name: 'W',
|
|
94597
|
+
company: 'm/s',
|
|
94598
|
+
value: Number(w.toFixed(1)).toString()
|
|
94599
|
+
}, {
|
|
94600
|
+
urlKey: 'DIRECTION',
|
|
94601
|
+
type: 'DIRECTION',
|
|
94602
|
+
name: '风向',
|
|
94603
|
+
company: '°',
|
|
94604
|
+
value: Math.round(direction < 0 ? direction + 360 : direction).toString()
|
|
94605
|
+
}, {
|
|
94606
|
+
urlKey: 'SPEED',
|
|
94607
|
+
type: 'SPEED',
|
|
94608
|
+
name: '风速',
|
|
94609
|
+
company: 'm/s',
|
|
94610
|
+
value: speed.toFixed(1).toString()
|
|
94684
94611
|
});
|
|
94685
|
-
var _this$getPointValue = this.getPointValue(lon, lat, realHeight, _data),
|
|
94686
|
-
_this$getPointValue2 = _slicedToArray(_this$getPointValue, 3),
|
|
94687
|
-
_u = _this$getPointValue2[0],
|
|
94688
|
-
_v = _this$getPointValue2[1],
|
|
94689
|
-
_w = _this$getPointValue2[2];
|
|
94690
|
-
if (_u || _v || _w) {
|
|
94691
|
-
var _Wind$getWindDirSpe2 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(_u, _v),
|
|
94692
|
-
_direction = _Wind$getWindDirSpe2.direction,
|
|
94693
|
-
_speed = _Wind$getWindDirSpe2.speed;
|
|
94694
|
-
result.push({
|
|
94695
|
-
urlKey: 'U',
|
|
94696
|
-
type: 'U',
|
|
94697
|
-
name: 'U',
|
|
94698
|
-
company: 'm/s',
|
|
94699
|
-
value: Number(_u.toFixed(1)).toString()
|
|
94700
|
-
}, {
|
|
94701
|
-
urlKey: 'V',
|
|
94702
|
-
type: 'V',
|
|
94703
|
-
name: 'V',
|
|
94704
|
-
company: 'm/s',
|
|
94705
|
-
value: Number(_v.toFixed(1)).toString()
|
|
94706
|
-
}, {
|
|
94707
|
-
urlKey: 'W',
|
|
94708
|
-
type: 'W',
|
|
94709
|
-
name: 'W',
|
|
94710
|
-
company: 'm/s',
|
|
94711
|
-
value: Number(_w.toFixed(1)).toString()
|
|
94712
|
-
}, {
|
|
94713
|
-
urlKey: 'DIRECTION',
|
|
94714
|
-
type: 'DIRECTION',
|
|
94715
|
-
name: '风向',
|
|
94716
|
-
company: '°',
|
|
94717
|
-
value: Math.round(_direction < 0 ? _direction + 360 : _direction).toString()
|
|
94718
|
-
}, {
|
|
94719
|
-
urlKey: 'SPEED',
|
|
94720
|
-
type: 'SPEED',
|
|
94721
|
-
name: '风速',
|
|
94722
|
-
company: 'm/s',
|
|
94723
|
-
value: _speed.toFixed(1).toString()
|
|
94724
|
-
});
|
|
94725
|
-
}
|
|
94726
94612
|
}
|
|
94727
94613
|
}
|
|
94728
94614
|
return result;
|
|
@@ -94740,10 +94626,10 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
94740
94626
|
}, {
|
|
94741
94627
|
key: "drawMouseValueLine",
|
|
94742
94628
|
value: function drawMouseValueLine(realHeight, hoverPosition) {
|
|
94743
|
-
var _this$
|
|
94744
|
-
points = _this$
|
|
94745
|
-
list = _this$
|
|
94746
|
-
deg = _this$
|
|
94629
|
+
var _this$distanceInfo = this.distanceInfo,
|
|
94630
|
+
points = _this$distanceInfo.points,
|
|
94631
|
+
list = _this$distanceInfo.list,
|
|
94632
|
+
deg = _this$distanceInfo.deg;
|
|
94747
94633
|
var nearIndex = 0;
|
|
94748
94634
|
var diffDeg = Infinity;
|
|
94749
94635
|
points.forEach(function (point, index) {
|
|
@@ -94974,23 +94860,23 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
94974
94860
|
canvas.width = this.canvas.width;
|
|
94975
94861
|
canvas.height = this.canvas.height;
|
|
94976
94862
|
if (this.pathData) {
|
|
94977
|
-
var _this$
|
|
94978
|
-
data = _this$
|
|
94979
|
-
gridX = _this$
|
|
94980
|
-
gridY = _this$
|
|
94981
|
-
invalid = _this$
|
|
94982
|
-
valueOffset = _this$
|
|
94983
|
-
valueScale = _this$
|
|
94984
|
-
value = _this$
|
|
94863
|
+
var _this$pathData = this.pathData,
|
|
94864
|
+
data = _this$pathData.data,
|
|
94865
|
+
gridX = _this$pathData.gridX,
|
|
94866
|
+
gridY = _this$pathData.gridY,
|
|
94867
|
+
invalid = _this$pathData.invalid,
|
|
94868
|
+
valueOffset = _this$pathData.valueOffset,
|
|
94869
|
+
valueScale = _this$pathData.valueScale,
|
|
94870
|
+
value = _this$pathData.value;
|
|
94985
94871
|
if (!this.renderConf[value]) {
|
|
94986
94872
|
this.renderConf[value] = this.transRenderObj(value);
|
|
94987
94873
|
}
|
|
94988
|
-
var _this$renderConf$
|
|
94989
|
-
min = _this$renderConf$
|
|
94990
|
-
max = _this$renderConf$
|
|
94991
|
-
renderColors = _this$renderConf$
|
|
94992
|
-
renderScale = _this$renderConf$
|
|
94993
|
-
renderOffset = _this$renderConf$
|
|
94874
|
+
var _this$renderConf$valu = this.renderConf[value],
|
|
94875
|
+
min = _this$renderConf$valu.min,
|
|
94876
|
+
max = _this$renderConf$valu.max,
|
|
94877
|
+
renderColors = _this$renderConf$valu.renderColors,
|
|
94878
|
+
renderScale = _this$renderConf$valu.renderScale,
|
|
94879
|
+
renderOffset = _this$renderConf$valu.renderOffset;
|
|
94994
94880
|
var realPlies = gridY * (this.viewHeight / this.option.wallHeight);
|
|
94995
94881
|
var pixelWidth = canvas.width / gridX;
|
|
94996
94882
|
var pixelHeight = canvas.height / realPlies;
|
|
@@ -95165,12 +95051,12 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95165
95051
|
if (!data || !this.renderTypes.includes(value)) {
|
|
95166
95052
|
return;
|
|
95167
95053
|
}
|
|
95168
|
-
var _this$renderConf$
|
|
95169
|
-
min = _this$renderConf$
|
|
95170
|
-
max = _this$renderConf$
|
|
95171
|
-
renderColors = _this$renderConf$
|
|
95172
|
-
renderScale = _this$renderConf$
|
|
95173
|
-
renderOffset = _this$renderConf$
|
|
95054
|
+
var _this$renderConf$valu2 = this.renderConf[value],
|
|
95055
|
+
min = _this$renderConf$valu2.min,
|
|
95056
|
+
max = _this$renderConf$valu2.max,
|
|
95057
|
+
renderColors = _this$renderConf$valu2.renderColors,
|
|
95058
|
+
renderScale = _this$renderConf$valu2.renderScale,
|
|
95059
|
+
renderOffset = _this$renderConf$valu2.renderOffset;
|
|
95174
95060
|
var realPlies = (this.option.wallHeight / plieHeight + 1) * (this.viewHeight / this.option.wallHeight);
|
|
95175
95061
|
var yPixelScale = height / realPlies;
|
|
95176
95062
|
var lonStep = (endLon - startLon) / gridX;
|
|
@@ -95206,7 +95092,7 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95206
95092
|
}, {
|
|
95207
95093
|
key: "renderWind",
|
|
95208
95094
|
value: function renderWind() {
|
|
95209
|
-
if (
|
|
95095
|
+
if (Profile.windData) {
|
|
95210
95096
|
var _windData2 = Profile.windData;
|
|
95211
95097
|
var startLon = _windData2.startLon,
|
|
95212
95098
|
startLat = _windData2.startLat,
|
|
@@ -95246,33 +95132,6 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95246
95132
|
return index % 2;
|
|
95247
95133
|
});
|
|
95248
95134
|
this.renderWindShaft(data, boxCenterPositions, boxVertexPositions);
|
|
95249
|
-
} else if (this.renderPath && this.pathWindData) {
|
|
95250
|
-
var _this$canvas2 = this.canvas,
|
|
95251
|
-
_width2 = _this$canvas2.width,
|
|
95252
|
-
_height = _this$canvas2.height;
|
|
95253
|
-
var _windBoxDis = this.windBoxScale.getValue() / this.pixelToDis;
|
|
95254
|
-
var _boxWidth = _windBoxDis * this.renderScale * this.option.wallHeightScale;
|
|
95255
|
-
var _boxHeight = _height / (this.option.wallHeight / (this.pixelToDis * 1000) * this.renderScale) * _windBoxDis * this.renderScale;
|
|
95256
|
-
var _boxGridX = Math.floor(_width2 / _boxWidth);
|
|
95257
|
-
var _boxGridY = Math.floor(_height / _boxHeight);
|
|
95258
|
-
_boxWidth = _width2 / _boxGridX;
|
|
95259
|
-
_boxHeight = _height / _boxGridY;
|
|
95260
|
-
var _heightStep = this.viewHeight / _boxGridY;
|
|
95261
|
-
var _data2 = _objectSpread(_objectSpread({}, this.pathWindData), {}, {
|
|
95262
|
-
boxWidth: _boxWidth,
|
|
95263
|
-
boxHeight: _boxHeight,
|
|
95264
|
-
boxGridX: _boxGridX,
|
|
95265
|
-
boxGridY: _boxGridY,
|
|
95266
|
-
heightStep: _heightStep
|
|
95267
|
-
});
|
|
95268
|
-
var _position = this.getChunkPosition((this.chunkPosition.length - 1) / _boxGridX / 2 * this.pixelToDis);
|
|
95269
|
-
var _boxCenterPositions = _position.filter(function (i, index) {
|
|
95270
|
-
return !(index % 2);
|
|
95271
|
-
}).slice(1, -1);
|
|
95272
|
-
var _boxVertexPositions = _position.filter(function (i, index) {
|
|
95273
|
-
return index % 2;
|
|
95274
|
-
});
|
|
95275
|
-
this.renderWindShaft(_data2, _boxCenterPositions, _boxVertexPositions);
|
|
95276
95135
|
}
|
|
95277
95136
|
}
|
|
95278
95137
|
}, {
|
|
@@ -95303,25 +95162,13 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95303
95162
|
lineCanvas.width = this.canvas.width;
|
|
95304
95163
|
lineCanvas.height = this.canvas.height;
|
|
95305
95164
|
if (this.renderTypes.includes('uv')) {
|
|
95306
|
-
|
|
95307
|
-
this.drawPathUV(uvCanvas, uvContext, data);
|
|
95308
|
-
} else {
|
|
95309
|
-
this.drawUV(uvCanvas, uvContext, data, boxCenterPositions);
|
|
95310
|
-
}
|
|
95165
|
+
this.drawUV(uvCanvas, uvContext, data, boxCenterPositions);
|
|
95311
95166
|
}
|
|
95312
95167
|
if (this.renderTypes.includes('w')) {
|
|
95313
|
-
|
|
95314
|
-
this.drawPathW(wCanvas, wContext, data);
|
|
95315
|
-
} else {
|
|
95316
|
-
this.drawW(wCanvas, wContext, data, boxVertexPositions);
|
|
95317
|
-
}
|
|
95168
|
+
this.drawW(wCanvas, wContext, data, boxVertexPositions);
|
|
95318
95169
|
}
|
|
95319
95170
|
if (this.renderTypes.includes('uvw')) {
|
|
95320
|
-
|
|
95321
|
-
this.drawPathLine(lineCanvas, lineContext, data, boxCenterPositions, boxVertexPositions);
|
|
95322
|
-
} else {
|
|
95323
|
-
this.drawLine(lineCanvas, lineContext, data, boxCenterPositions, boxVertexPositions);
|
|
95324
|
-
}
|
|
95171
|
+
this.drawLine(lineCanvas, lineContext, data, boxCenterPositions, boxVertexPositions);
|
|
95325
95172
|
}
|
|
95326
95173
|
}
|
|
95327
95174
|
}, {
|
|
@@ -95354,85 +95201,28 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95354
95201
|
_this$getPointValue4 = _slicedToArray(_this$getPointValue3, 2),
|
|
95355
95202
|
u = _this$getPointValue4[0],
|
|
95356
95203
|
v = _this$getPointValue4[1];
|
|
95357
|
-
if (
|
|
95358
|
-
|
|
95359
|
-
|
|
95360
|
-
|
|
95361
|
-
|
|
95362
|
-
|
|
95363
|
-
|
|
95364
|
-
|
|
95365
|
-
|
|
95366
|
-
|
|
95367
|
-
|
|
95368
|
-
|
|
95369
|
-
|
|
95370
|
-
|
|
95371
|
-
|
|
95372
|
-
|
|
95373
|
-
|
|
95374
|
-
|
|
95375
|
-
|
|
95376
|
-
|
|
95377
|
-
|
|
95378
|
-
}
|
|
95379
|
-
y += 1;
|
|
95380
|
-
}
|
|
95381
|
-
y = 1.5;
|
|
95382
|
-
x += 1;
|
|
95383
|
-
}
|
|
95384
|
-
}
|
|
95385
|
-
}, {
|
|
95386
|
-
key: "drawPathUV",
|
|
95387
|
-
value: function drawPathUV(canvas, context, data) {
|
|
95388
|
-
var _this$windStyle2 = this.windStyle,
|
|
95389
|
-
shaftColor = _this$windStyle2.shaftColor,
|
|
95390
|
-
shaftStrokeColor = _this$windStyle2.shaftStrokeColor;
|
|
95391
|
-
var width = canvas.width,
|
|
95392
|
-
height = canvas.height;
|
|
95393
|
-
var boxWidth = data.boxWidth,
|
|
95394
|
-
boxHeight = data.boxHeight,
|
|
95395
|
-
boxGridX = data.boxGridX,
|
|
95396
|
-
boxGridY = data.boxGridY,
|
|
95397
|
-
heightStep = data.heightStep,
|
|
95398
|
-
gridX = data.gridX,
|
|
95399
|
-
gridY = data.gridY,
|
|
95400
|
-
plies = data.plies;
|
|
95401
|
-
var x = 0.5;
|
|
95402
|
-
var y = 1.5;
|
|
95403
|
-
while (x < boxGridX - 1) {
|
|
95404
|
-
while (y < boxGridY) {
|
|
95405
|
-
var curHeight = Math.floor(y) * heightStep;
|
|
95406
|
-
var yIndex = 0;
|
|
95407
|
-
while (yIndex < gridY) {
|
|
95408
|
-
if (plies[yIndex] > curHeight) {
|
|
95409
|
-
break;
|
|
95410
|
-
}
|
|
95411
|
-
yIndex += 1;
|
|
95412
|
-
}
|
|
95413
|
-
var xIndex = Math.round((x + 0.5) * boxWidth / width * gridX);
|
|
95414
|
-
if (Profile.windDebugger) {
|
|
95415
|
-
context.fillStyle = "red";
|
|
95416
|
-
context.strokeRect(x * boxWidth, height - y * boxHeight, boxWidth, boxHeight);
|
|
95417
|
-
context.fillRect((x + 0.5) * boxWidth, height - (y - 0.5) * boxHeight, 1, 1);
|
|
95418
|
-
}
|
|
95419
|
-
var _this$getPathPointVal3 = this.getPathPointValue(xIndex, yIndex),
|
|
95420
|
-
_this$getPathPointVal4 = _slicedToArray(_this$getPathPointVal3, 2),
|
|
95421
|
-
u = _this$getPathPointVal4[0],
|
|
95422
|
-
v = _this$getPathPointVal4[1];
|
|
95423
|
-
if (u || v) {
|
|
95424
|
-
var _Wind$getWindDirSpe4 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
95425
|
-
direction = _Wind$getWindDirSpe4.direction,
|
|
95426
|
-
speed = _Wind$getWindDirSpe4.speed;
|
|
95427
|
-
var rotate = direction * Math.PI / 180;
|
|
95428
|
-
var shaft = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawProfileShaft)(speed, rotate, 1.5, shaftColor, shaftStrokeColor);
|
|
95429
|
-
var sourceX = x * boxWidth - boxWidth / 2;
|
|
95430
|
-
var sourceY = height - y * boxHeight - boxHeight / 2;
|
|
95431
|
-
context.save();
|
|
95432
|
-
context.translate(sourceX, sourceY);
|
|
95433
|
-
context.drawImage(shaft, 0, 0, shaft.width, shaft.height, 0, 0, boxWidth * 2, boxHeight * 2);
|
|
95434
|
-
context.restore();
|
|
95435
|
-
}
|
|
95204
|
+
// if (u || v) {
|
|
95205
|
+
var _Wind$getWindDirSpe2 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
95206
|
+
direction = _Wind$getWindDirSpe2.direction,
|
|
95207
|
+
speed = _Wind$getWindDirSpe2.speed;
|
|
95208
|
+
wind.push({
|
|
95209
|
+
direction: direction,
|
|
95210
|
+
speed: speed
|
|
95211
|
+
});
|
|
95212
|
+
var rotate = direction * Math.PI / 180;
|
|
95213
|
+
|
|
95214
|
+
// 判断是否根据预警风速值设置风向杆颜色
|
|
95215
|
+
var warn = speed >= this.warnWindSpeed;
|
|
95216
|
+
var ssc = warn ? warnShaftColor : shaftStrokeColor;
|
|
95217
|
+
var fcnc = warn && warnShaftColor ? true : false;
|
|
95218
|
+
var shaft = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawProfileShaft)(speed, rotate, 1.5, shaftColor, ssc, fcnc);
|
|
95219
|
+
var sourceX = x * boxWidth - boxWidth / 2;
|
|
95220
|
+
var sourceY = height - y * boxHeight - boxHeight / 2;
|
|
95221
|
+
context.save();
|
|
95222
|
+
context.translate(sourceX, sourceY);
|
|
95223
|
+
context.drawImage(shaft, 0, 0, shaft.width, shaft.height, 0, 0, boxWidth * 2, boxHeight * 2);
|
|
95224
|
+
context.restore();
|
|
95225
|
+
// }
|
|
95436
95226
|
y += 1;
|
|
95437
95227
|
}
|
|
95438
95228
|
y = 1.5;
|
|
@@ -95483,65 +95273,12 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95483
95273
|
context.drawImage(arrow, 0, 0, arrow.width, arrow.height, -boxWidth, -boxHeight, boxWidth * 2, boxHeight * 2);
|
|
95484
95274
|
context.restore();
|
|
95485
95275
|
}
|
|
95486
|
-
}, {
|
|
95487
|
-
key: "drawPathW",
|
|
95488
|
-
value: function drawPathW(canvas, context, data) {
|
|
95489
|
-
var width = canvas.width,
|
|
95490
|
-
height = canvas.height;
|
|
95491
|
-
var boxWidth = data.boxWidth,
|
|
95492
|
-
boxHeight = data.boxHeight,
|
|
95493
|
-
boxGridX = data.boxGridX,
|
|
95494
|
-
boxGridY = data.boxGridY,
|
|
95495
|
-
heightStep = data.heightStep,
|
|
95496
|
-
gridX = data.gridX,
|
|
95497
|
-
gridY = data.gridY,
|
|
95498
|
-
plies = data.plies;
|
|
95499
|
-
var x = 0;
|
|
95500
|
-
var y = 1.5;
|
|
95501
|
-
while (x < boxGridX - 1) {
|
|
95502
|
-
while (y < boxGridY - 1) {
|
|
95503
|
-
var curHeight = y * heightStep;
|
|
95504
|
-
var yIndex = 0;
|
|
95505
|
-
while (yIndex < gridY) {
|
|
95506
|
-
if (plies[yIndex] > curHeight) {
|
|
95507
|
-
break;
|
|
95508
|
-
}
|
|
95509
|
-
yIndex += 1;
|
|
95510
|
-
}
|
|
95511
|
-
var xIndex = Math.round((x + 0.5) * boxWidth / width * gridX);
|
|
95512
|
-
var _this$getPathPointVal5 = this.getPathPointValue(xIndex, yIndex),
|
|
95513
|
-
_this$getPathPointVal6 = _slicedToArray(_this$getPathPointVal5, 3),
|
|
95514
|
-
w = _this$getPathPointVal6[2];
|
|
95515
|
-
if (w) {
|
|
95516
|
-
var rotate = w > 0 ? 0 : Math.PI;
|
|
95517
|
-
var color = w > 0 ? Profile._windConfig.wUpColor : Profile._windConfig.wDownColor;
|
|
95518
|
-
var _arrow2 = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawRotateArrow)(w * this.windWScale, rotate, Profile._windConfig.wScope, color);
|
|
95519
|
-
var _sourceX2 = x * boxWidth + boxWidth / 2;
|
|
95520
|
-
var _sourceY2 = height - y * boxHeight;
|
|
95521
|
-
context.save();
|
|
95522
|
-
context.translate(_sourceX2, _sourceY2);
|
|
95523
|
-
context.drawImage(_arrow2, 0, 0, _arrow2.width, _arrow2.height, -boxWidth, -boxHeight, boxWidth * 2, boxHeight * 2);
|
|
95524
|
-
context.restore();
|
|
95525
|
-
}
|
|
95526
|
-
y += 1;
|
|
95527
|
-
}
|
|
95528
|
-
y = 1.5;
|
|
95529
|
-
x += 1;
|
|
95530
|
-
}
|
|
95531
|
-
var arrow = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawRotateArrow)(Profile._windConfig.wLegend, Math.PI, Profile._windConfig.wScope, Profile._windConfig.legendColor, true, Profile._windConfig.legendTextScale);
|
|
95532
|
-
var sourceX = (boxGridX - 1) * boxWidth;
|
|
95533
|
-
var sourceY = 1 * boxHeight;
|
|
95534
|
-
context.save();
|
|
95535
|
-
context.translate(sourceX, sourceY);
|
|
95536
|
-
context.drawImage(arrow, 0, 0, arrow.width, arrow.height, -boxWidth, -boxHeight, boxWidth * 2, boxHeight * 2);
|
|
95537
|
-
context.restore();
|
|
95538
|
-
}
|
|
95539
95276
|
}, {
|
|
95540
95277
|
key: "drawLine",
|
|
95541
95278
|
value: function drawLine(canvas, context, data, boxCenterPositions, boxVertexPositions) {
|
|
95542
|
-
var _this$
|
|
95543
|
-
shaftColor = _this$
|
|
95544
|
-
shaftStrokeColor = _this$
|
|
95279
|
+
var _this$windStyle2 = this.windStyle,
|
|
95280
|
+
shaftColor = _this$windStyle2.shaftColor,
|
|
95281
|
+
shaftStrokeColor = _this$windStyle2.shaftStrokeColor;
|
|
95545
95282
|
var height = canvas.height;
|
|
95546
95283
|
var boxWidth = data.boxWidth,
|
|
95547
95284
|
boxHeight = data.boxHeight,
|
|
@@ -95573,9 +95310,9 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95573
95310
|
v = _this$getPointValue8[1],
|
|
95574
95311
|
w = _this$getPointValue8[2];
|
|
95575
95312
|
if (u || v) {
|
|
95576
|
-
var _Wind$
|
|
95577
|
-
direction = _Wind$
|
|
95578
|
-
speed = _Wind$
|
|
95313
|
+
var _Wind$getWindDirSpe3 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
95314
|
+
direction = _Wind$getWindDirSpe3.direction,
|
|
95315
|
+
speed = _Wind$getWindDirSpe3.speed;
|
|
95579
95316
|
// const diffDeg = (profileDeg - direction + 360) % 360;
|
|
95580
95317
|
var diffDeg = profileDeg - direction;
|
|
95581
95318
|
var scale = 1;
|
|
@@ -95583,97 +95320,8 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95583
95320
|
scale = -1;
|
|
95584
95321
|
}
|
|
95585
95322
|
var rotate = diffDeg * Math.PI / 180;
|
|
95586
|
-
var realSpeed = Math.sqrt(Math.pow(speed * Math.cos(rotate), 2) + Math.pow(w, 2));
|
|
95587
|
-
var radian = Math.acos(w / realSpeed) * scale;
|
|
95588
|
-
var sourceX = x * boxWidth - boxWidth / 2;
|
|
95589
|
-
var sourceY = height - y * boxHeight - boxHeight / 2;
|
|
95590
|
-
if (this.windViewType === 'arrow') {
|
|
95591
|
-
var arrow = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawRotateArrow)(realSpeed, radian, Profile._windConfig.lineScope, Profile._windConfig.lineColor);
|
|
95592
|
-
context.save();
|
|
95593
|
-
context.translate(sourceX, sourceY);
|
|
95594
|
-
context.drawImage(arrow, 0, 0, arrow.width, arrow.height, -boxWidth * 0.5, -boxHeight * 0.5, boxWidth * 3, boxHeight * 3);
|
|
95595
|
-
context.restore();
|
|
95596
|
-
} else if (this.windViewType === 'shaft') {
|
|
95597
|
-
var shaft = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawProfileShaft)(realSpeed, radian - Math.PI, 1.5, shaftColor, shaftStrokeColor);
|
|
95598
|
-
context.save();
|
|
95599
|
-
context.translate(sourceX, sourceY);
|
|
95600
|
-
context.drawImage(shaft, 0, 0, shaft.width, shaft.height, 0, 0, boxWidth * 2, boxHeight * 2);
|
|
95601
|
-
context.restore();
|
|
95602
|
-
}
|
|
95603
|
-
}
|
|
95604
|
-
y += add;
|
|
95605
|
-
}
|
|
95606
|
-
y = 1.5;
|
|
95607
|
-
x += add;
|
|
95608
|
-
}
|
|
95609
|
-
if (this.windViewType === 'arrow') {
|
|
95610
|
-
Profile._windConfig.lineLegend.forEach(function (speed, index) {
|
|
95611
|
-
var sourceX = (boxGridX - (4 - index) * 2) * boxWidth;
|
|
95612
|
-
var sourceY = 0;
|
|
95613
|
-
context.save();
|
|
95614
|
-
context.translate(sourceX, sourceY);
|
|
95615
|
-
var arrow = (0,_common_canvas__WEBPACK_IMPORTED_MODULE_1__.drawRotateArrow)(speed, Math.PI / 2, Profile._windConfig.lineScope, Profile._windConfig.legendColor, true, Profile._windConfig.legendTextScale);
|
|
95616
|
-
context.drawImage(arrow, 0, 0, arrow.width, arrow.height, 0, 0, boxWidth * 2, boxHeight * 2);
|
|
95617
|
-
context.restore();
|
|
95618
|
-
});
|
|
95619
|
-
}
|
|
95620
|
-
}
|
|
95621
|
-
}, {
|
|
95622
|
-
key: "drawPathLine",
|
|
95623
|
-
value: function drawPathLine(canvas, context, data, boxCenterPositions, boxVertexPositions) {
|
|
95624
|
-
var _this$windStyle4 = this.windStyle,
|
|
95625
|
-
shaftColor = _this$windStyle4.shaftColor,
|
|
95626
|
-
shaftStrokeColor = _this$windStyle4.shaftStrokeColor;
|
|
95627
|
-
var width = canvas.width,
|
|
95628
|
-
height = canvas.height;
|
|
95629
|
-
var boxWidth = data.boxWidth,
|
|
95630
|
-
boxHeight = data.boxHeight,
|
|
95631
|
-
boxGridX = data.boxGridX,
|
|
95632
|
-
boxGridY = data.boxGridY,
|
|
95633
|
-
heightStep = data.heightStep,
|
|
95634
|
-
gridX = data.gridX,
|
|
95635
|
-
gridY = data.gridY,
|
|
95636
|
-
plies = data.plies;
|
|
95637
|
-
var x = 0.5;
|
|
95638
|
-
var y = 1.5;
|
|
95639
|
-
var add = this.windViewType === 'arrow' ? 0.5 : 1;
|
|
95640
|
-
while (x < boxGridX - 1) {
|
|
95641
|
-
var index = Math.floor(x);
|
|
95642
|
-
var _boxVertexPositions$i2 = _slicedToArray(boxVertexPositions[index], 2),
|
|
95643
|
-
vertexLon = _boxVertexPositions$i2[0],
|
|
95644
|
-
vertexLat = _boxVertexPositions$i2[1];
|
|
95645
|
-
var _boxCenterPositions$i2 = _slicedToArray(boxCenterPositions[index], 2),
|
|
95646
|
-
centerLon = _boxCenterPositions$i2[0],
|
|
95647
|
-
centerLat = _boxCenterPositions$i2[1];
|
|
95648
|
-
var positions = [cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(centerLon, centerLat), cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(vertexLon, vertexLat)];
|
|
95649
|
-
var profileDeg = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_5__.headingFromDouble)(positions[0], positions[1]);
|
|
95650
|
-
while (y < boxGridY) {
|
|
95651
|
-
var curHeight = Math.floor(y) * heightStep;
|
|
95652
|
-
var yIndex = 0;
|
|
95653
|
-
while (yIndex < gridY) {
|
|
95654
|
-
if (plies[yIndex] > curHeight) {
|
|
95655
|
-
break;
|
|
95656
|
-
}
|
|
95657
|
-
yIndex += 1;
|
|
95658
|
-
}
|
|
95659
|
-
var xIndex = Math.round((x + 0.5) * boxWidth / width * gridX);
|
|
95660
|
-
var _this$getPathPointVal7 = this.getPathPointValue(xIndex, yIndex),
|
|
95661
|
-
_this$getPathPointVal8 = _slicedToArray(_this$getPathPointVal7, 3),
|
|
95662
|
-
u = _this$getPathPointVal8[0],
|
|
95663
|
-
v = _this$getPathPointVal8[1],
|
|
95664
|
-
w = _this$getPathPointVal8[2];
|
|
95665
|
-
if (u || v) {
|
|
95666
|
-
var _Wind$getWindDirSpe6 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindDirSpe(u, v),
|
|
95667
|
-
direction = _Wind$getWindDirSpe6.direction,
|
|
95668
|
-
speed = _Wind$getWindDirSpe6.speed;
|
|
95669
|
-
var diffDeg = profileDeg - direction;
|
|
95670
|
-
var scale = 1;
|
|
95671
|
-
if (diffDeg > 90 && diffDeg < 270) {
|
|
95672
|
-
scale = -1;
|
|
95673
|
-
}
|
|
95674
|
-
var rotate = diffDeg * Math.PI / 180;
|
|
95675
|
-
var realSpeed = Math.sqrt(Math.pow(speed * Math.cos(rotate), 2) + Math.pow(w, 2));
|
|
95676
|
-
var radian = Math.acos(w / realSpeed) * scale;
|
|
95323
|
+
var realSpeed = Math.sqrt(Math.pow(speed * Math.cos(rotate), 2) + Math.pow(w * this.windWScale, 2));
|
|
95324
|
+
var radian = Math.acos(w * this.windWScale / realSpeed) * scale;
|
|
95677
95325
|
var sourceX = x * boxWidth - boxWidth / 2;
|
|
95678
95326
|
var sourceY = height - y * boxHeight - boxHeight / 2;
|
|
95679
95327
|
if (this.windViewType === 'arrow') {
|
|
@@ -95849,62 +95497,9 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
95849
95497
|
var s = sIsInvalid ? 0 : (sList[index] - sOffset) / sScale;
|
|
95850
95498
|
var d = (dList[index] - dOffset) / dScale;
|
|
95851
95499
|
var _Wind$getWindUV = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindUV(s, d),
|
|
95852
|
-
|
|
95853
|
-
|
|
95854
|
-
return [
|
|
95855
|
-
}
|
|
95856
|
-
return [0, 0, w];
|
|
95857
|
-
}
|
|
95858
|
-
}, {
|
|
95859
|
-
key: "getPathPointValue",
|
|
95860
|
-
value: function getPathPointValue(x, y) {
|
|
95861
|
-
var _this$pathWindData2 = this.pathWindData,
|
|
95862
|
-
gridX = _this$pathWindData2.gridX,
|
|
95863
|
-
invalidList = _this$pathWindData2.invalidList,
|
|
95864
|
-
dataList = _this$pathWindData2.dataList,
|
|
95865
|
-
offsetList = _this$pathWindData2.offset,
|
|
95866
|
-
scaleList = _this$pathWindData2.scale;
|
|
95867
|
-
var _invalidList2 = _slicedToArray(invalidList, 4),
|
|
95868
|
-
uInvalid = _invalidList2[0],
|
|
95869
|
-
vInvalid = _invalidList2[1],
|
|
95870
|
-
wInvalid = _invalidList2[2],
|
|
95871
|
-
sInvalid = _invalidList2[3];
|
|
95872
|
-
var _dataList2 = _slicedToArray(dataList, 5),
|
|
95873
|
-
uList = _dataList2[0],
|
|
95874
|
-
vList = _dataList2[1],
|
|
95875
|
-
wList = _dataList2[2],
|
|
95876
|
-
sList = _dataList2[3],
|
|
95877
|
-
dList = _dataList2[4];
|
|
95878
|
-
var _offsetList2 = _slicedToArray(offsetList, 5),
|
|
95879
|
-
uOffset = _offsetList2[0],
|
|
95880
|
-
vOffset = _offsetList2[1],
|
|
95881
|
-
wOffset = _offsetList2[2],
|
|
95882
|
-
sOffset = _offsetList2[3],
|
|
95883
|
-
dOffset = _offsetList2[4];
|
|
95884
|
-
var _scaleList2 = _slicedToArray(scaleList, 5),
|
|
95885
|
-
uScale = _scaleList2[0],
|
|
95886
|
-
vScale = _scaleList2[1],
|
|
95887
|
-
wScale = _scaleList2[2],
|
|
95888
|
-
sScale = _scaleList2[3],
|
|
95889
|
-
dScale = _scaleList2[4];
|
|
95890
|
-
var index = y * gridX + x;
|
|
95891
|
-
var wIsInvalid = !wList || wList[index] === wInvalid;
|
|
95892
|
-
var w = wIsInvalid ? 0 : (wList[index] - wOffset) / wScale;
|
|
95893
|
-
if (uList && vList) {
|
|
95894
|
-
var uIsInvalid = uList[index] === uInvalid;
|
|
95895
|
-
var vIsInvalid = vList[index] === vInvalid;
|
|
95896
|
-
var u = uIsInvalid ? 0 : (uList[index] - uOffset) / uScale;
|
|
95897
|
-
var v = vIsInvalid ? 0 : (vList[index] - vOffset) / vScale;
|
|
95898
|
-
return [u, v, w];
|
|
95899
|
-
}
|
|
95900
|
-
if (sList && dList) {
|
|
95901
|
-
var sIsInvalid = sList[index] === sInvalid;
|
|
95902
|
-
var s = sIsInvalid ? 0 : (sList[index] - sOffset) / sScale;
|
|
95903
|
-
var d = (dList[index] - dOffset) / dScale;
|
|
95904
|
-
var _Wind$getWindUV2 = _Wind__WEBPACK_IMPORTED_MODULE_3__["default"].getWindUV(s, d),
|
|
95905
|
-
_u3 = _Wind$getWindUV2.u,
|
|
95906
|
-
_v3 = _Wind$getWindUV2.v;
|
|
95907
|
-
return [_u3, _v3, w];
|
|
95500
|
+
_u = _Wind$getWindUV.u,
|
|
95501
|
+
_v = _Wind$getWindUV.v;
|
|
95502
|
+
return [_u, _v, w];
|
|
95908
95503
|
}
|
|
95909
95504
|
return [0, 0, w];
|
|
95910
95505
|
}
|
|
@@ -96109,9 +95704,8 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
96109
95704
|
* */
|
|
96110
95705
|
}, {
|
|
96111
95706
|
key: "updatePathData",
|
|
96112
|
-
value: function updatePathData(pathData
|
|
95707
|
+
value: function updatePathData(pathData) {
|
|
96113
95708
|
this.pathData = pathData;
|
|
96114
|
-
this.pathWindData = pathWindData;
|
|
96115
95709
|
this.resetCommonCanvas();
|
|
96116
95710
|
this.resetWindCanvas();
|
|
96117
95711
|
this.drawPath();
|
|
@@ -96472,16 +96066,14 @@ var Profile = /*#__PURE__*/function (_ProfileEvent) {
|
|
|
96472
96066
|
var count = 0;
|
|
96473
96067
|
while (count < length) {
|
|
96474
96068
|
var _this = Profile.profileList[count];
|
|
96475
|
-
|
|
96476
|
-
|
|
96477
|
-
|
|
96478
|
-
|
|
96479
|
-
|
|
96480
|
-
|
|
96481
|
-
|
|
96482
|
-
|
|
96483
|
-
_this.createDownHandle();
|
|
96484
|
-
}
|
|
96069
|
+
_this.layerList = {};
|
|
96070
|
+
_this.initRenderConf();
|
|
96071
|
+
_this.updateBoxScope();
|
|
96072
|
+
_this.resetCommonCanvas();
|
|
96073
|
+
_this.renderCommon();
|
|
96074
|
+
_this.mergeCanvas();
|
|
96075
|
+
if (_this.control) {
|
|
96076
|
+
_this.createDownHandle();
|
|
96485
96077
|
}
|
|
96486
96078
|
count += 1;
|
|
96487
96079
|
}
|
|
@@ -98858,7 +98450,7 @@ var RadarArc = /*#__PURE__*/function () {
|
|
|
98858
98450
|
var arcPosition = [[lon, lat]];
|
|
98859
98451
|
var deg = startDeg;
|
|
98860
98452
|
while (deg <= endDeg) {
|
|
98861
|
-
arcPosition.push((0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg, radius));
|
|
98453
|
+
arcPosition.push((0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], 360 - deg + 90, radius));
|
|
98862
98454
|
deg += 1;
|
|
98863
98455
|
}
|
|
98864
98456
|
arcPosition.push([lon, lat]);
|
|
@@ -98896,7 +98488,7 @@ var RadarArc = /*#__PURE__*/function () {
|
|
|
98896
98488
|
}
|
|
98897
98489
|
});
|
|
98898
98490
|
var corePosition = [[lon, lat]];
|
|
98899
|
-
corePosition.push((0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], coreDeg, radius));
|
|
98491
|
+
corePosition.push((0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], 360 - coreDeg + 90, radius));
|
|
98900
98492
|
var coreLine = _this.viewer.entities.add({
|
|
98901
98493
|
show: _this.showCore,
|
|
98902
98494
|
polyline: {
|
|
@@ -99327,7 +98919,7 @@ var RadarScans = /*#__PURE__*/function () {
|
|
|
99327
98919
|
positions: new cesium__WEBPACK_IMPORTED_MODULE_0__.CallbackProperty(function () {
|
|
99328
98920
|
var rotateTime = (new Date().getTime() - now) % (radar.duration * 1000);
|
|
99329
98921
|
var curDeg = (radar.startDeg + radar.direction * (rotateTime / radar.duration / 1000) * 360) % 360;
|
|
99330
|
-
var target = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(radar.position, curDeg, radar.radius);
|
|
98922
|
+
var target = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(radar.position, 360 - curDeg + 90, radar.radius);
|
|
99331
98923
|
return cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegreesArrayHeights([].concat(_toConsumableArray(radar.position), [40000], _toConsumableArray(target), [40000]));
|
|
99332
98924
|
}, false),
|
|
99333
98925
|
material: new cesium__WEBPACK_IMPORTED_MODULE_0__.ImageMaterialProperty({
|
|
@@ -102451,24 +102043,24 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
102451
102043
|
var radiusList = [this.radius].concat(_toConsumableArray(this.ppiCircles));
|
|
102452
102044
|
var degList = [0, 90];
|
|
102453
102045
|
var shortLineDeg = [{
|
|
102454
|
-
deg:
|
|
102046
|
+
deg: 330,
|
|
102455
102047
|
label: '30',
|
|
102456
102048
|
offset: [0, -5]
|
|
102457
102049
|
}, {
|
|
102458
|
-
deg:
|
|
102050
|
+
deg: 300,
|
|
102459
102051
|
label: '60',
|
|
102460
102052
|
offset: [2, -5]
|
|
102461
102053
|
}, {
|
|
102462
|
-
deg:
|
|
102054
|
+
deg: 270,
|
|
102463
102055
|
label: 'E',
|
|
102464
102056
|
offset: [10, 5],
|
|
102465
102057
|
status: 1
|
|
102466
102058
|
}, {
|
|
102467
|
-
deg:
|
|
102059
|
+
deg: 240,
|
|
102468
102060
|
label: '120',
|
|
102469
102061
|
offset: [2, 8]
|
|
102470
102062
|
}, {
|
|
102471
|
-
deg:
|
|
102063
|
+
deg: 210,
|
|
102472
102064
|
label: '150',
|
|
102473
102065
|
offset: [2, 8]
|
|
102474
102066
|
}, {
|
|
@@ -102477,24 +102069,24 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
102477
102069
|
offset: [-5, 20],
|
|
102478
102070
|
status: 1
|
|
102479
102071
|
}, {
|
|
102480
|
-
deg:
|
|
102072
|
+
deg: 150,
|
|
102481
102073
|
label: '210',
|
|
102482
102074
|
offset: [-15, 22]
|
|
102483
102075
|
}, {
|
|
102484
|
-
deg:
|
|
102076
|
+
deg: 120,
|
|
102485
102077
|
label: '240',
|
|
102486
102078
|
offset: [-24, 22]
|
|
102487
102079
|
}, {
|
|
102488
|
-
deg:
|
|
102080
|
+
deg: 90,
|
|
102489
102081
|
label: 'W',
|
|
102490
102082
|
offset: [-20, 5],
|
|
102491
102083
|
status: 1
|
|
102492
102084
|
}, {
|
|
102493
|
-
deg:
|
|
102085
|
+
deg: 60,
|
|
102494
102086
|
label: '300',
|
|
102495
102087
|
offset: [-25, -8]
|
|
102496
102088
|
}, {
|
|
102497
|
-
deg:
|
|
102089
|
+
deg: 30,
|
|
102498
102090
|
label: '330',
|
|
102499
102091
|
offset: [-24, -5]
|
|
102500
102092
|
}, {
|
|
@@ -102527,7 +102119,7 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
102527
102119
|
pLon = _calculateOffsetPosit2[0],
|
|
102528
102120
|
pLat = _calculateOffsetPosit2[1];
|
|
102529
102121
|
pointList.push(cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(pLon, pLat));
|
|
102530
|
-
if (deg ===
|
|
102122
|
+
if (deg === 0) {
|
|
102531
102123
|
labelList.push(_this3.viewer.entities.add({
|
|
102532
102124
|
position: cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(pLon, pLat),
|
|
102533
102125
|
label: {
|
|
@@ -102592,11 +102184,11 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
102592
102184
|
}));
|
|
102593
102185
|
});
|
|
102594
102186
|
shortLineDeg.forEach(function (deg) {
|
|
102595
|
-
var _calculateOffsetPosit7 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg, _this3.radius),
|
|
102187
|
+
var _calculateOffsetPosit7 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg + 90, _this3.radius),
|
|
102596
102188
|
_calculateOffsetPosit8 = _slicedToArray(_calculateOffsetPosit7, 2),
|
|
102597
102189
|
startLon = _calculateOffsetPosit8[0],
|
|
102598
102190
|
startLat = _calculateOffsetPosit8[1];
|
|
102599
|
-
var _calculateOffsetPosit9 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg, _this3.radius - 1000),
|
|
102191
|
+
var _calculateOffsetPosit9 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg + 90, _this3.radius - 1000),
|
|
102600
102192
|
_calculateOffsetPosit10 = _slicedToArray(_calculateOffsetPosit9, 2),
|
|
102601
102193
|
endLon = _calculateOffsetPosit10[0],
|
|
102602
102194
|
endLat = _calculateOffsetPosit10[1];
|
|
@@ -102869,14 +102461,14 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
102869
102461
|
elevation = this.elevation,
|
|
102870
102462
|
radius = this.radius;
|
|
102871
102463
|
var number = allDis * 2;
|
|
102872
|
-
var canvasWidth = this.viewer.canvas.width;
|
|
102873
|
-
var canvasHeight = this.viewer.canvas.height;
|
|
102464
|
+
var canvasWidth = this.viewer.canvas.width / 1.2;
|
|
102465
|
+
var canvasHeight = this.viewer.canvas.height / 1.2;
|
|
102874
102466
|
var startX = this.startX,
|
|
102875
102467
|
startY = this.startY,
|
|
102876
102468
|
endX = this.endX,
|
|
102877
102469
|
endY = this.endY;
|
|
102878
|
-
var width = endX - startX
|
|
102879
|
-
var height = endY - startY
|
|
102470
|
+
var width = endX - startX;
|
|
102471
|
+
var height = endY - startY;
|
|
102880
102472
|
var scaleX = canvasWidth / width;
|
|
102881
102473
|
var scaleY = canvasHeight / height;
|
|
102882
102474
|
var minAngle = Math.min.apply(Math, _toConsumableArray(azimuthList));
|
|
@@ -103280,8 +102872,8 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
103280
102872
|
key: "getRHIPath",
|
|
103281
102873
|
value: function getRHIPath() {
|
|
103282
102874
|
var azimuth = this.azimuth.getValue();
|
|
103283
|
-
var start = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, azimuth, this.radius);
|
|
103284
|
-
var end = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, azimuth +
|
|
102875
|
+
var start = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, 360 - azimuth + 90, this.radius);
|
|
102876
|
+
var end = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, 360 - azimuth + 270, this.radius);
|
|
103285
102877
|
return [start, this.center, end];
|
|
103286
102878
|
}
|
|
103287
102879
|
|
|
@@ -103733,13 +103325,8 @@ var SingleRadarZoom = /*#__PURE__*/function () {
|
|
|
103733
103325
|
var cartographic = this.viewer.scene.globe.ellipsoid.cartesianToCartographic(spline.evaluate(i / chunk));
|
|
103734
103326
|
var lat = cesium__WEBPACK_IMPORTED_MODULE_0__.Math.toDegrees(cartographic.latitude);
|
|
103735
103327
|
var lon = cesium__WEBPACK_IMPORTED_MODULE_0__.Math.toDegrees(cartographic.longitude);
|
|
103328
|
+
var azi = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.headingFromDouble)(cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees.apply(cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3, _toConsumableArray(this.center)), cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(lon, lat));
|
|
103736
103329
|
var dis = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.getDistance)(this.center, [lon, lat]) / pixelToDis;
|
|
103737
|
-
var azi = 0;
|
|
103738
|
-
if (dis !== 0) {
|
|
103739
|
-
azi = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.headingFromDouble)(cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees.apply(cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3, _toConsumableArray(this.center)), cesium__WEBPACK_IMPORTED_MODULE_0__.Cartesian3.fromDegrees(lon, lat));
|
|
103740
|
-
} else {
|
|
103741
|
-
azi = result[result.length - 1] ? result[result.length - 1][0] : 0;
|
|
103742
|
-
}
|
|
103743
103330
|
result.push([azi, dis, lon, lat]);
|
|
103744
103331
|
i += 1;
|
|
103745
103332
|
}
|
|
@@ -105174,24 +104761,24 @@ var SingleRadarZoomService = /*#__PURE__*/function () {
|
|
|
105174
104761
|
var radiusList = [this.radius].concat(_toConsumableArray(this.ppiCircles));
|
|
105175
104762
|
var degList = [0, 90];
|
|
105176
104763
|
var shortLineDeg = [{
|
|
105177
|
-
deg:
|
|
104764
|
+
deg: 330,
|
|
105178
104765
|
label: '30',
|
|
105179
104766
|
offset: [0, -5]
|
|
105180
104767
|
}, {
|
|
105181
|
-
deg:
|
|
104768
|
+
deg: 300,
|
|
105182
104769
|
label: '60',
|
|
105183
104770
|
offset: [2, -5]
|
|
105184
104771
|
}, {
|
|
105185
|
-
deg:
|
|
104772
|
+
deg: 270,
|
|
105186
104773
|
label: 'E',
|
|
105187
104774
|
offset: [10, 5],
|
|
105188
104775
|
status: 1
|
|
105189
104776
|
}, {
|
|
105190
|
-
deg:
|
|
104777
|
+
deg: 240,
|
|
105191
104778
|
label: '120',
|
|
105192
104779
|
offset: [2, 8]
|
|
105193
104780
|
}, {
|
|
105194
|
-
deg:
|
|
104781
|
+
deg: 210,
|
|
105195
104782
|
label: '150',
|
|
105196
104783
|
offset: [2, 8]
|
|
105197
104784
|
}, {
|
|
@@ -105200,24 +104787,24 @@ var SingleRadarZoomService = /*#__PURE__*/function () {
|
|
|
105200
104787
|
offset: [-5, 20],
|
|
105201
104788
|
status: 1
|
|
105202
104789
|
}, {
|
|
105203
|
-
deg:
|
|
104790
|
+
deg: 150,
|
|
105204
104791
|
label: '210',
|
|
105205
104792
|
offset: [-15, 22]
|
|
105206
104793
|
}, {
|
|
105207
|
-
deg:
|
|
104794
|
+
deg: 120,
|
|
105208
104795
|
label: '240',
|
|
105209
104796
|
offset: [-24, 22]
|
|
105210
104797
|
}, {
|
|
105211
|
-
deg:
|
|
104798
|
+
deg: 90,
|
|
105212
104799
|
label: 'W',
|
|
105213
104800
|
offset: [-20, 5],
|
|
105214
104801
|
status: 1
|
|
105215
104802
|
}, {
|
|
105216
|
-
deg:
|
|
104803
|
+
deg: 60,
|
|
105217
104804
|
label: '300',
|
|
105218
104805
|
offset: [-25, -8]
|
|
105219
104806
|
}, {
|
|
105220
|
-
deg:
|
|
104807
|
+
deg: 30,
|
|
105221
104808
|
label: '330',
|
|
105222
104809
|
offset: [-24, -5]
|
|
105223
104810
|
}, {
|
|
@@ -105313,11 +104900,11 @@ var SingleRadarZoomService = /*#__PURE__*/function () {
|
|
|
105313
104900
|
}));
|
|
105314
104901
|
});
|
|
105315
104902
|
shortLineDeg.forEach(function (deg) {
|
|
105316
|
-
var _calculateOffsetPosit7 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg, _this4.radius),
|
|
104903
|
+
var _calculateOffsetPosit7 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg + 90, _this4.radius),
|
|
105317
104904
|
_calculateOffsetPosit8 = _slicedToArray(_calculateOffsetPosit7, 2),
|
|
105318
104905
|
startLon = _calculateOffsetPosit8[0],
|
|
105319
104906
|
startLat = _calculateOffsetPosit8[1];
|
|
105320
|
-
var _calculateOffsetPosit9 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg, _this4.radius - 1000),
|
|
104907
|
+
var _calculateOffsetPosit9 = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)([lon, lat], deg.deg + 90, _this4.radius - 1000),
|
|
105321
104908
|
_calculateOffsetPosit10 = _slicedToArray(_calculateOffsetPosit9, 2),
|
|
105322
104909
|
endLon = _calculateOffsetPosit10[0],
|
|
105323
104910
|
endLat = _calculateOffsetPosit10[1];
|
|
@@ -105982,8 +105569,8 @@ var SingleRadarZoomService = /*#__PURE__*/function () {
|
|
|
105982
105569
|
key: "getRHIPath",
|
|
105983
105570
|
value: function getRHIPath() {
|
|
105984
105571
|
var azimuth = this.azimuth.getValue();
|
|
105985
|
-
var start = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, azimuth, this.radius);
|
|
105986
|
-
var end = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, azimuth +
|
|
105572
|
+
var start = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, 360 - azimuth + 90, this.radius);
|
|
105573
|
+
var end = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_1__.calculateOffsetPosition)(this.center, 360 - azimuth + 270, this.radius);
|
|
105987
105574
|
return [start, this.center, end];
|
|
105988
105575
|
}
|
|
105989
105576
|
|
|
@@ -114106,7 +113693,7 @@ var Wind = /*#__PURE__*/function () {
|
|
|
114106
113693
|
var level = _this3.getSpeedLevel(speed);
|
|
114107
113694
|
var arrowWidth = arrowWidthList[level];
|
|
114108
113695
|
var arrowLength = arrowLengthList[level];
|
|
114109
|
-
var _calculateOffsetPosit = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_2__.calculateOffsetPosition)([lon, lat], direction, _this3.arrowRadius * arrowLength),
|
|
113696
|
+
var _calculateOffsetPosit = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_2__.calculateOffsetPosition)([lon, lat], 180 - (direction + 90), _this3.arrowRadius * arrowLength),
|
|
114110
113697
|
_calculateOffsetPosit2 = _slicedToArray(_calculateOffsetPosit, 2),
|
|
114111
113698
|
arrowStartLon = _calculateOffsetPosit2[0],
|
|
114112
113699
|
arrowStartLat = _calculateOffsetPosit2[1];
|
|
@@ -115284,7 +114871,7 @@ var WindLayer = /*#__PURE__*/function () {
|
|
|
115284
114871
|
var level = _this2.getSpeedLevel(speed);
|
|
115285
114872
|
var arrowWidth = arrowWidthList[level];
|
|
115286
114873
|
var arrowLength = arrowLengthList[level];
|
|
115287
|
-
var _calculateOffsetPosit = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_2__.calculateOffsetPosition)([lon, lat], direction, _this2.arrowRadius * arrowLength),
|
|
114874
|
+
var _calculateOffsetPosit = (0,_common_coordinate__WEBPACK_IMPORTED_MODULE_2__.calculateOffsetPosition)([lon, lat], 180 - (direction + 90), _this2.arrowRadius * arrowLength),
|
|
115288
114875
|
_calculateOffsetPosit2 = _slicedToArray(_calculateOffsetPosit, 2),
|
|
115289
114876
|
arrowStartLon = _calculateOffsetPosit2[0],
|
|
115290
114877
|
arrowStartLat = _calculateOffsetPosit2[1];
|
|
@@ -117635,7 +117222,7 @@ function drawProfileShaft(speed, rotate) {
|
|
|
117635
117222
|
} else {
|
|
117636
117223
|
var shaftKey = Math.round(speed / 2);
|
|
117637
117224
|
if (flagColorNeedChange || !windShaft[shaftKey]) {
|
|
117638
|
-
|
|
117225
|
+
//可以考虑在windShaft中添加类似‘3_red’这种的key,如果存在则不重新绘制
|
|
117639
117226
|
var newCanvas = _drawProfileShaft({
|
|
117640
117227
|
shaftStrokeColor: shaftStrokeColor,
|
|
117641
117228
|
lineWidth: lineWidth,
|
|
@@ -118188,32 +117775,15 @@ function headingFromDouble(center, target) {
|
|
|
118188
117775
|
* @param dis {number} 径向距离
|
|
118189
117776
|
* @return coordinate 目标点的经纬度
|
|
118190
117777
|
* */
|
|
118191
|
-
// function calculateOffsetPosition(
|
|
118192
|
-
// start: [number, number, number?],
|
|
118193
|
-
// azimuth: number,
|
|
118194
|
-
// dis: number
|
|
118195
|
-
// ): [number, number] {
|
|
118196
|
-
// const cos = Math.cos((Math.PI * azimuth) / 180) * dis;
|
|
118197
|
-
// const sin = Math.sin((Math.PI * azimuth) / 180) * dis;
|
|
118198
|
-
// const radius = 6371004;
|
|
118199
|
-
// const startLon = start[0];
|
|
118200
|
-
// const startLat = start[1];
|
|
118201
|
-
// const offsetLat = sin / radius;
|
|
118202
|
-
// const offsetLon = cos / (radius * Math.cos((Math.PI * startLat) / 180));
|
|
118203
|
-
// return [
|
|
118204
|
-
// startLon + (offsetLon * 180) / Math.PI,
|
|
118205
|
-
// startLat + (offsetLat * 180) / Math.PI,
|
|
118206
|
-
// ];
|
|
118207
|
-
// }
|
|
118208
|
-
|
|
118209
117778
|
function calculateOffsetPosition(start, azimuth, dis) {
|
|
118210
|
-
var
|
|
118211
|
-
var
|
|
118212
|
-
var
|
|
118213
|
-
var
|
|
118214
|
-
var
|
|
118215
|
-
var
|
|
118216
|
-
|
|
117779
|
+
var cos = Math.cos(Math.PI * azimuth / 180) * dis;
|
|
117780
|
+
var sin = Math.sin(Math.PI * azimuth / 180) * dis;
|
|
117781
|
+
var radius = 6371004;
|
|
117782
|
+
var startLon = start[0];
|
|
117783
|
+
var startLat = start[1];
|
|
117784
|
+
var offsetLat = sin / radius;
|
|
117785
|
+
var offsetLon = cos / (radius * Math.cos(Math.PI * startLat / 180));
|
|
117786
|
+
return [startLon + offsetLon * 180 / Math.PI, startLat + offsetLat * 180 / Math.PI];
|
|
118217
117787
|
}
|
|
118218
117788
|
|
|
118219
117789
|
/**
|
|
@@ -118224,7 +117794,7 @@ function calculateOffsetPosition(start, azimuth, dis) {
|
|
|
118224
117794
|
* @return [startLon, startLat, endLon, endLat] 外切矩形的起始与结束经纬度
|
|
118225
117795
|
* */
|
|
118226
117796
|
function exRectangleOfCircle(center, distance) {
|
|
118227
|
-
var degList = [270,
|
|
117797
|
+
var degList = [180, 270, 0, 90];
|
|
118228
117798
|
return degList.map(function (deg, index) {
|
|
118229
117799
|
return calculateOffsetPosition(center, deg, distance)[index % 2];
|
|
118230
117800
|
});
|
|
@@ -119680,200 +119250,198 @@ var Trigger = /*#__PURE__*/function () {
|
|
|
119680
119250
|
|
|
119681
119251
|
__webpack_require__.r(__webpack_exports__);
|
|
119682
119252
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
119683
|
-
/* harmony export */ AirRoute: () => (/* reexport safe */
|
|
119684
|
-
/* harmony export */ Airline: () => (/* reexport safe */
|
|
119685
|
-
/* harmony export */ AlarmCircle: () => (/* reexport safe */
|
|
119686
|
-
/* harmony export */ AlarmWall: () => (/* reexport safe */
|
|
119687
|
-
/* harmony export */ ArchitectModel: () => (/* reexport safe */
|
|
119688
|
-
/* harmony export */ BoundaryPlugin: () => (/* reexport safe */
|
|
119689
|
-
/* harmony export */ BoxArea: () => (/* reexport safe */
|
|
119690
|
-
/* harmony export */ BrushPlugin: () => (/* reexport safe */
|
|
119691
|
-
/* harmony export */ BrushTool: () => (/* reexport safe */
|
|
119692
|
-
/* harmony export */ CaPPI: () => (/* reexport safe */
|
|
119693
|
-
/* harmony export */ CameraPlugin: () => (/* reexport safe */
|
|
119694
|
-
/* harmony export */
|
|
119695
|
-
/* harmony export */
|
|
119696
|
-
/* harmony export */
|
|
119697
|
-
/* harmony export */
|
|
119698
|
-
/* harmony export */
|
|
119699
|
-
/* harmony export */
|
|
119700
|
-
/* harmony export */
|
|
119701
|
-
/* harmony export */
|
|
119702
|
-
/* harmony export */
|
|
119703
|
-
/* harmony export */
|
|
119704
|
-
/* harmony export */
|
|
119705
|
-
/* harmony export */
|
|
119706
|
-
/* harmony export */
|
|
119707
|
-
/* harmony export */
|
|
119708
|
-
/* harmony export */
|
|
119709
|
-
/* harmony export */
|
|
119710
|
-
/* harmony export */
|
|
119711
|
-
/* harmony export */
|
|
119712
|
-
/* harmony export */
|
|
119713
|
-
/* harmony export */
|
|
119714
|
-
/* harmony export */
|
|
119715
|
-
/* harmony export */
|
|
119716
|
-
/* harmony export */
|
|
119717
|
-
/* harmony export */
|
|
119718
|
-
/* harmony export */
|
|
119719
|
-
/* harmony export */
|
|
119720
|
-
/* harmony export */
|
|
119721
|
-
/* harmony export */
|
|
119722
|
-
/* harmony export */
|
|
119723
|
-
/* harmony export */
|
|
119724
|
-
/* harmony export */
|
|
119725
|
-
/* harmony export */
|
|
119726
|
-
/* harmony export */
|
|
119727
|
-
/* harmony export */
|
|
119728
|
-
/* harmony export */
|
|
119729
|
-
/* harmony export */
|
|
119730
|
-
/* harmony export */
|
|
119731
|
-
/* harmony export */
|
|
119732
|
-
/* harmony export */
|
|
119733
|
-
/* harmony export */
|
|
119734
|
-
/* harmony export */
|
|
119735
|
-
/* harmony export */
|
|
119736
|
-
/* harmony export */
|
|
119737
|
-
/* harmony export */
|
|
119738
|
-
/* harmony export */
|
|
119739
|
-
/* harmony export */
|
|
119740
|
-
/* harmony export */
|
|
119741
|
-
/* harmony export */
|
|
119742
|
-
/* harmony export */
|
|
119743
|
-
/* harmony export */
|
|
119744
|
-
/* harmony export */
|
|
119745
|
-
/* harmony export */
|
|
119746
|
-
/* harmony export */
|
|
119747
|
-
/* harmony export */
|
|
119748
|
-
/* harmony export */
|
|
119749
|
-
/* harmony export */
|
|
119750
|
-
/* harmony export */
|
|
119751
|
-
/* harmony export */
|
|
119752
|
-
/* harmony export */
|
|
119753
|
-
/* harmony export */
|
|
119754
|
-
/* harmony export */
|
|
119755
|
-
/* harmony export */
|
|
119756
|
-
/* harmony export */
|
|
119757
|
-
/* harmony export */
|
|
119758
|
-
/* harmony export */
|
|
119759
|
-
/* harmony export */
|
|
119760
|
-
/* harmony export */
|
|
119761
|
-
/* harmony export */
|
|
119762
|
-
/* harmony export */
|
|
119763
|
-
/* harmony export */
|
|
119764
|
-
/* harmony export */
|
|
119765
|
-
/* harmony export */
|
|
119766
|
-
/* harmony export */
|
|
119767
|
-
/* harmony export */
|
|
119768
|
-
/* harmony export */
|
|
119769
|
-
/* harmony export */
|
|
119770
|
-
/* harmony export */
|
|
119771
|
-
/* harmony export */
|
|
119772
|
-
/* harmony export */
|
|
119773
|
-
/* harmony export */
|
|
119774
|
-
/* harmony export */
|
|
119775
|
-
/* harmony export */
|
|
119776
|
-
/* harmony export */ WindyTileProvider: () => (/* reexport safe */ _Primitives_TilingScheme_WindyTileProvider__WEBPACK_IMPORTED_MODULE_92__["default"]),
|
|
119253
|
+
/* harmony export */ AirRoute: () => (/* reexport safe */ _Primitives_AirRoute__WEBPACK_IMPORTED_MODULE_58__["default"]),
|
|
119254
|
+
/* harmony export */ Airline: () => (/* reexport safe */ _Primitives_Airline_js__WEBPACK_IMPORTED_MODULE_60__["default"]),
|
|
119255
|
+
/* harmony export */ AlarmCircle: () => (/* reexport safe */ _Primitives_AlarmCircle__WEBPACK_IMPORTED_MODULE_45__["default"]),
|
|
119256
|
+
/* harmony export */ AlarmWall: () => (/* reexport safe */ _Primitives_AlarmWall__WEBPACK_IMPORTED_MODULE_77__["default"]),
|
|
119257
|
+
/* harmony export */ ArchitectModel: () => (/* reexport safe */ _Primitives_ArchitectModel__WEBPACK_IMPORTED_MODULE_53__["default"]),
|
|
119258
|
+
/* harmony export */ BoundaryPlugin: () => (/* reexport safe */ _Plugins__WEBPACK_IMPORTED_MODULE_7__.BoundaryPlugin),
|
|
119259
|
+
/* harmony export */ BoxArea: () => (/* reexport safe */ _Primitives_BoxArea__WEBPACK_IMPORTED_MODULE_88__["default"]),
|
|
119260
|
+
/* harmony export */ BrushPlugin: () => (/* reexport safe */ _Plugins_brush_plugin__WEBPACK_IMPORTED_MODULE_74__["default"]),
|
|
119261
|
+
/* harmony export */ BrushTool: () => (/* reexport safe */ _Primitives_BrushTool__WEBPACK_IMPORTED_MODULE_93__["default"]),
|
|
119262
|
+
/* harmony export */ CaPPI: () => (/* reexport safe */ _Primitives_CaPPI__WEBPACK_IMPORTED_MODULE_46__["default"]),
|
|
119263
|
+
/* harmony export */ CameraPlugin: () => (/* reexport safe */ _Plugins_camera_plugin__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
119264
|
+
/* harmony export */ CircleScan: () => (/* reexport safe */ _Primitives_CircleScan__WEBPACK_IMPORTED_MODULE_76__["default"]),
|
|
119265
|
+
/* harmony export */ Compress2DPre: () => (/* reexport safe */ _Primitives_Compress2DPre__WEBPACK_IMPORTED_MODULE_21__["default"]),
|
|
119266
|
+
/* harmony export */ CompressPNG: () => (/* reexport safe */ _Primitives_CompressPNG__WEBPACK_IMPORTED_MODULE_20__["default"]),
|
|
119267
|
+
/* harmony export */ CoordinateUtil: () => (/* reexport safe */ _common_coordinate__WEBPACK_IMPORTED_MODULE_83__["default"]),
|
|
119268
|
+
/* harmony export */ CursorPlugin: () => (/* reexport safe */ _Plugins_cursor_plugin__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
119269
|
+
/* harmony export */ CustomProfile: () => (/* reexport safe */ _Primitives_CustomProfile__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
119270
|
+
/* harmony export */ CustomProfileGPU: () => (/* reexport safe */ _Primitives_CustomProfileGPU__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
119271
|
+
/* harmony export */ DegreesHandle: () => (/* reexport safe */ _Primitives_DmsToDegrees__WEBPACK_IMPORTED_MODULE_59__["default"]),
|
|
119272
|
+
/* harmony export */ Diaphaneity: () => (/* reexport safe */ _Primitives_Diaphaneity__WEBPACK_IMPORTED_MODULE_66__["default"]),
|
|
119273
|
+
/* harmony export */ Disaster: () => (/* reexport safe */ _Primitives_Disaster__WEBPACK_IMPORTED_MODULE_52__["default"]),
|
|
119274
|
+
/* harmony export */ DrainageBasin: () => (/* reexport safe */ _Primitives_DrainageBasin__WEBPACK_IMPORTED_MODULE_27__["default"]),
|
|
119275
|
+
/* harmony export */ DrawArea: () => (/* reexport safe */ _Primitives_DrawArea__WEBPACK_IMPORTED_MODULE_72__["default"]),
|
|
119276
|
+
/* harmony export */ DrawPolyline: () => (/* reexport safe */ _Primitives_DrawPolyline__WEBPACK_IMPORTED_MODULE_75__["default"]),
|
|
119277
|
+
/* harmony export */ DrawRectangle: () => (/* reexport safe */ _Primitives_DrawRectangle__WEBPACK_IMPORTED_MODULE_90__["default"]),
|
|
119278
|
+
/* harmony export */ DynamicCirclePrimitiveCollection: () => (/* reexport safe */ _Primitives_DynamicCirclePrimitiveCollection__WEBPACK_IMPORTED_MODULE_67__.DynamicCirclePrimitiveCollection),
|
|
119279
|
+
/* harmony export */ FlowLine: () => (/* reexport safe */ _Primitives_FlowLine__WEBPACK_IMPORTED_MODULE_30__["default"]),
|
|
119280
|
+
/* harmony export */ FocusArea: () => (/* reexport safe */ _Primitives_FocusArea__WEBPACK_IMPORTED_MODULE_73__["default"]),
|
|
119281
|
+
/* harmony export */ FocusRegion: () => (/* reexport safe */ _Primitives_FocusRegion__WEBPACK_IMPORTED_MODULE_70__["default"]),
|
|
119282
|
+
/* harmony export */ GeoJson: () => (/* reexport safe */ _Primitives_GeoJson__WEBPACK_IMPORTED_MODULE_29__["default"]),
|
|
119283
|
+
/* harmony export */ GlobalCesiumMouseHandler: () => (/* reexport safe */ _Plugins_GlobalCesiumMouseHandler_plugin__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
119284
|
+
/* harmony export */ Grid: () => (/* reexport safe */ _Primitives_Grid__WEBPACK_IMPORTED_MODULE_61__["default"]),
|
|
119285
|
+
/* harmony export */ GridBox: () => (/* reexport safe */ _Primitives_GridBox__WEBPACK_IMPORTED_MODULE_62__["default"]),
|
|
119286
|
+
/* harmony export */ HeatmapLayer: () => (/* reexport safe */ _Primitives_HeatmapLayer__WEBPACK_IMPORTED_MODULE_48__["default"]),
|
|
119287
|
+
/* harmony export */ ImgLayer: () => (/* reexport safe */ _Primitives_ImgLayer__WEBPACK_IMPORTED_MODULE_78__["default"]),
|
|
119288
|
+
/* harmony export */ IsoModel: () => (/* reexport safe */ _Primitives_IsoModel__WEBPACK_IMPORTED_MODULE_31__["default"]),
|
|
119289
|
+
/* harmony export */ IsoPack: () => (/* reexport safe */ _Primitives_IsoPack__WEBPACK_IMPORTED_MODULE_80__["default"]),
|
|
119290
|
+
/* harmony export */ LXCircle: () => (/* reexport safe */ _Primitives_LXCircle__WEBPACK_IMPORTED_MODULE_69__["default"]),
|
|
119291
|
+
/* harmony export */ Layer: () => (/* reexport safe */ _Primitives_Layer__WEBPACK_IMPORTED_MODULE_18__["default"]),
|
|
119292
|
+
/* harmony export */ LayerForecast: () => (/* reexport safe */ _Primitives_LayerForecast__WEBPACK_IMPORTED_MODULE_28__["default"]),
|
|
119293
|
+
/* harmony export */ LayerPNG: () => (/* reexport safe */ _Primitives_LayerPNG__WEBPACK_IMPORTED_MODULE_19__["default"]),
|
|
119294
|
+
/* harmony export */ LayerPrimitive: () => (/* reexport safe */ _Primitives_LayerPrimitive__WEBPACK_IMPORTED_MODULE_92__["default"]),
|
|
119295
|
+
/* harmony export */ LayerXYPNG: () => (/* reexport safe */ _Primitives_LayerXYPNG__WEBPACK_IMPORTED_MODULE_22__["default"]),
|
|
119296
|
+
/* harmony export */ LayerZoom: () => (/* reexport safe */ _Primitives_LayerZoom__WEBPACK_IMPORTED_MODULE_23__["default"]),
|
|
119297
|
+
/* harmony export */ LayerZoomHole: () => (/* reexport safe */ _Primitives_LayerZoomHole__WEBPACK_IMPORTED_MODULE_26__["default"]),
|
|
119298
|
+
/* harmony export */ LayerZoomImg: () => (/* reexport safe */ _Primitives_LayerZoomImg__WEBPACK_IMPORTED_MODULE_24__["default"]),
|
|
119299
|
+
/* harmony export */ LayerZoomJson: () => (/* reexport safe */ _Primitives_LayerZoomJson__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
119300
|
+
/* harmony export */ Lightning: () => (/* reexport safe */ _Primitives_Lightning__WEBPACK_IMPORTED_MODULE_71__["default"]),
|
|
119301
|
+
/* harmony export */ LightningExtrapolate: () => (/* reexport safe */ _Primitives_LightningExtrapolate__WEBPACK_IMPORTED_MODULE_51__["default"]),
|
|
119302
|
+
/* harmony export */ LivePlane: () => (/* reexport safe */ _Primitives_LivePlane__WEBPACK_IMPORTED_MODULE_87__["default"]),
|
|
119303
|
+
/* harmony export */ Mark: () => (/* reexport safe */ _Primitives_Mark__WEBPACK_IMPORTED_MODULE_68__["default"]),
|
|
119304
|
+
/* harmony export */ MarkPoint: () => (/* reexport safe */ _Primitives_MarkPoint__WEBPACK_IMPORTED_MODULE_43__["default"]),
|
|
119305
|
+
/* harmony export */ MaxWall: () => (/* reexport safe */ _Primitives_MaxWall__WEBPACK_IMPORTED_MODULE_47__["default"]),
|
|
119306
|
+
/* harmony export */ MouseValuePlugin: () => (/* reexport safe */ _Plugins_mouseValue_plugin__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
119307
|
+
/* harmony export */ MultiholeLayer: () => (/* reexport safe */ _Primitives_MultiholeLayer__WEBPACK_IMPORTED_MODULE_49__["default"]),
|
|
119308
|
+
/* harmony export */ NewIsoModel: () => (/* reexport safe */ _Primitives_NewIsoModel__WEBPACK_IMPORTED_MODULE_32__["default"]),
|
|
119309
|
+
/* harmony export */ Pillars: () => (/* reexport safe */ _Primitives_Pillars__WEBPACK_IMPORTED_MODULE_54__["default"]),
|
|
119310
|
+
/* harmony export */ PointPrimitiveCollection: () => (/* reexport safe */ _Primitives_PointPrimitiveCollection__WEBPACK_IMPORTED_MODULE_65__.PointPrimitiveCollection),
|
|
119311
|
+
/* harmony export */ PolygonPrimitiveCollection: () => (/* reexport safe */ _Primitives_PolygonPrimitiveCollection__WEBPACK_IMPORTED_MODULE_64__["default"]),
|
|
119312
|
+
/* harmony export */ ProductBox: () => (/* reexport safe */ _Plugins_productBox_plugin__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
119313
|
+
/* harmony export */ Profile: () => (/* reexport safe */ _Primitives_Profile__WEBPACK_IMPORTED_MODULE_13__["default"]),
|
|
119314
|
+
/* harmony export */ ProfileDemo: () => (/* reexport safe */ _Primitives_ProfileDemo__WEBPACK_IMPORTED_MODULE_84__["default"]),
|
|
119315
|
+
/* harmony export */ ProfileGPU: () => (/* reexport safe */ _Primitives_ProfileGPU__WEBPACK_IMPORTED_MODULE_14__["default"]),
|
|
119316
|
+
/* harmony export */ RadarArc: () => (/* reexport safe */ _Primitives_RadarArc__WEBPACK_IMPORTED_MODULE_89__["default"]),
|
|
119317
|
+
/* harmony export */ RadarRange: () => (/* reexport safe */ _Primitives_RadarRange__WEBPACK_IMPORTED_MODULE_44__["default"]),
|
|
119318
|
+
/* harmony export */ RadarScans: () => (/* reexport safe */ _Primitives_RadarScans__WEBPACK_IMPORTED_MODULE_86__["default"]),
|
|
119319
|
+
/* harmony export */ RainPhase: () => (/* reexport safe */ _Primitives_RainPhase__WEBPACK_IMPORTED_MODULE_50__["default"]),
|
|
119320
|
+
/* harmony export */ RangingPlugin: () => (/* reexport safe */ _Plugins_ranging_plugin__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
119321
|
+
/* harmony export */ SingleRadar: () => (/* reexport safe */ _Primitives_SingleRadar__WEBPACK_IMPORTED_MODULE_15__["default"]),
|
|
119322
|
+
/* harmony export */ SingleRadarZoom: () => (/* reexport safe */ _Primitives_SingleRadarZoom__WEBPACK_IMPORTED_MODULE_16__["default"]),
|
|
119323
|
+
/* harmony export */ SingleRadarZoomService: () => (/* reexport safe */ _Primitives_SingleRadarZoomService__WEBPACK_IMPORTED_MODULE_17__["default"]),
|
|
119324
|
+
/* harmony export */ StationLabel: () => (/* reexport safe */ _Primitives_StationLabel__WEBPACK_IMPORTED_MODULE_38__["default"]),
|
|
119325
|
+
/* harmony export */ StationLabelHZ: () => (/* reexport safe */ _Primitives_StationLabelHZ__WEBPACK_IMPORTED_MODULE_56__["default"]),
|
|
119326
|
+
/* harmony export */ StationPoint: () => (/* reexport safe */ _Primitives_StationPoint__WEBPACK_IMPORTED_MODULE_40__["default"]),
|
|
119327
|
+
/* harmony export */ StationPointNowcast: () => (/* reexport safe */ _Primitives_StationPointNowcast__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
119328
|
+
/* harmony export */ StationShaft: () => (/* reexport safe */ _Primitives_StationShaft__WEBPACK_IMPORTED_MODULE_39__["default"]),
|
|
119329
|
+
/* harmony export */ StationText: () => (/* reexport safe */ _Primitives_StationText__WEBPACK_IMPORTED_MODULE_41__["default"]),
|
|
119330
|
+
/* harmony export */ Storm: () => (/* reexport safe */ _Primitives_Storm__WEBPACK_IMPORTED_MODULE_57__["default"]),
|
|
119331
|
+
/* harmony export */ StormForecast: () => (/* reexport safe */ _Primitives_StormForecast__WEBPACK_IMPORTED_MODULE_35__["default"]),
|
|
119332
|
+
/* harmony export */ StormIdentify: () => (/* reexport safe */ _Primitives_StormIdentify__WEBPACK_IMPORTED_MODULE_33__["default"]),
|
|
119333
|
+
/* harmony export */ StormTrack: () => (/* reexport safe */ _Primitives_StormTrack__WEBPACK_IMPORTED_MODULE_34__["default"]),
|
|
119334
|
+
/* harmony export */ TargetTrackPoint: () => (/* reexport safe */ _Primitives_TargetTrackPoint__WEBPACK_IMPORTED_MODULE_85__["default"]),
|
|
119335
|
+
/* harmony export */ Texture3: () => (/* reexport safe */ _Primitives_IsoPack_Texture3__WEBPACK_IMPORTED_MODULE_82__["default"]),
|
|
119336
|
+
/* harmony export */ TilePlugin: () => (/* reexport safe */ _Plugins_tile_plugin__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
119337
|
+
/* harmony export */ Timeline: () => (/* reexport safe */ _Widgets_Timeline__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
119338
|
+
/* harmony export */ TrackWarn: () => (/* reexport safe */ _Primitives_TrackWarn__WEBPACK_IMPORTED_MODULE_63__["default"]),
|
|
119339
|
+
/* harmony export */ Typhoon: () => (/* reexport safe */ _Primitives_Typhoon_Typhoon__WEBPACK_IMPORTED_MODULE_94__["default"]),
|
|
119340
|
+
/* harmony export */ VerticalLine: () => (/* reexport safe */ _Primitives_VerticalLine__WEBPACK_IMPORTED_MODULE_55__["default"]),
|
|
119341
|
+
/* harmony export */ VolumeRendering: () => (/* reexport safe */ _Primitives_VolumeRendering__WEBPACK_IMPORTED_MODULE_81__["default"]),
|
|
119342
|
+
/* harmony export */ WarningLayer: () => (/* reexport safe */ _Primitives_WarningLayer__WEBPACK_IMPORTED_MODULE_79__["default"]),
|
|
119343
|
+
/* harmony export */ Wind: () => (/* reexport safe */ _Primitives_Wind__WEBPACK_IMPORTED_MODULE_36__["default"]),
|
|
119344
|
+
/* harmony export */ WindLayer: () => (/* reexport safe */ _Primitives_WindLayer__WEBPACK_IMPORTED_MODULE_37__["default"]),
|
|
119345
|
+
/* harmony export */ WindyTileProvider: () => (/* reexport safe */ _Primitives_TilingScheme_WindyTileProvider__WEBPACK_IMPORTED_MODULE_91__["default"]),
|
|
119777
119346
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
119778
|
-
/* harmony export */ trigger: () => (/* reexport safe */
|
|
119347
|
+
/* harmony export */ trigger: () => (/* reexport safe */ _common_trigger__WEBPACK_IMPORTED_MODULE_2__["default"])
|
|
119779
119348
|
/* harmony export */ });
|
|
119780
|
-
/* harmony import */ var
|
|
119781
|
-
/* harmony import */ var
|
|
119782
|
-
/* harmony import */ var
|
|
119783
|
-
/* harmony import */ var
|
|
119784
|
-
/* harmony import */ var
|
|
119785
|
-
/* harmony import */ var
|
|
119786
|
-
/* harmony import */ var
|
|
119787
|
-
/* harmony import */ var
|
|
119788
|
-
/* harmony import */ var
|
|
119789
|
-
/* harmony import */ var
|
|
119790
|
-
/* harmony import */ var
|
|
119791
|
-
/* harmony import */ var
|
|
119792
|
-
/* harmony import */ var
|
|
119793
|
-
/* harmony import */ var
|
|
119794
|
-
/* harmony import */ var
|
|
119795
|
-
/* harmony import */ var
|
|
119796
|
-
/* harmony import */ var
|
|
119797
|
-
/* harmony import */ var
|
|
119798
|
-
/* harmony import */ var
|
|
119799
|
-
/* harmony import */ var
|
|
119800
|
-
/* harmony import */ var
|
|
119801
|
-
/* harmony import */ var
|
|
119802
|
-
/* harmony import */ var
|
|
119803
|
-
/* harmony import */ var
|
|
119804
|
-
/* harmony import */ var
|
|
119805
|
-
/* harmony import */ var
|
|
119806
|
-
/* harmony import */ var
|
|
119807
|
-
/* harmony import */ var
|
|
119808
|
-
/* harmony import */ var
|
|
119809
|
-
/* harmony import */ var
|
|
119810
|
-
/* harmony import */ var
|
|
119811
|
-
/* harmony import */ var
|
|
119812
|
-
/* harmony import */ var
|
|
119813
|
-
/* harmony import */ var
|
|
119814
|
-
/* harmony import */ var
|
|
119815
|
-
/* harmony import */ var
|
|
119816
|
-
/* harmony import */ var
|
|
119817
|
-
/* harmony import */ var
|
|
119818
|
-
/* harmony import */ var
|
|
119819
|
-
/* harmony import */ var
|
|
119820
|
-
/* harmony import */ var
|
|
119821
|
-
/* harmony import */ var
|
|
119822
|
-
/* harmony import */ var
|
|
119823
|
-
/* harmony import */ var
|
|
119824
|
-
/* harmony import */ var
|
|
119825
|
-
/* harmony import */ var
|
|
119826
|
-
/* harmony import */ var
|
|
119827
|
-
/* harmony import */ var
|
|
119828
|
-
/* harmony import */ var
|
|
119829
|
-
/* harmony import */ var
|
|
119830
|
-
/* harmony import */ var
|
|
119831
|
-
/* harmony import */ var
|
|
119832
|
-
/* harmony import */ var
|
|
119833
|
-
/* harmony import */ var
|
|
119834
|
-
/* harmony import */ var
|
|
119835
|
-
/* harmony import */ var
|
|
119836
|
-
/* harmony import */ var
|
|
119837
|
-
/* harmony import */ var
|
|
119838
|
-
/* harmony import */ var
|
|
119839
|
-
/* harmony import */ var
|
|
119840
|
-
/* harmony import */ var
|
|
119841
|
-
/* harmony import */ var
|
|
119842
|
-
/* harmony import */ var
|
|
119843
|
-
/* harmony import */ var
|
|
119844
|
-
/* harmony import */ var
|
|
119845
|
-
/* harmony import */ var
|
|
119846
|
-
/* harmony import */ var
|
|
119847
|
-
/* harmony import */ var
|
|
119848
|
-
/* harmony import */ var
|
|
119849
|
-
/* harmony import */ var
|
|
119850
|
-
/* harmony import */ var
|
|
119851
|
-
/* harmony import */ var
|
|
119852
|
-
/* harmony import */ var
|
|
119853
|
-
/* harmony import */ var
|
|
119854
|
-
/* harmony import */ var
|
|
119855
|
-
/* harmony import */ var
|
|
119856
|
-
/* harmony import */ var
|
|
119857
|
-
/* harmony import */ var
|
|
119858
|
-
/* harmony import */ var
|
|
119859
|
-
/* harmony import */ var
|
|
119860
|
-
/* harmony import */ var
|
|
119861
|
-
/* harmony import */ var
|
|
119862
|
-
/* harmony import */ var
|
|
119863
|
-
/* harmony import */ var
|
|
119864
|
-
/* harmony import */ var
|
|
119865
|
-
/* harmony import */ var
|
|
119866
|
-
/* harmony import */ var
|
|
119867
|
-
/* harmony import */ var
|
|
119868
|
-
/* harmony import */ var
|
|
119869
|
-
/* harmony import */ var
|
|
119870
|
-
/* harmony import */ var
|
|
119871
|
-
/* harmony import */ var
|
|
119872
|
-
/* harmony import */ var
|
|
119873
|
-
/* harmony import */ var
|
|
119874
|
-
/* harmony import */ var
|
|
119875
|
-
|
|
119876
|
-
|
|
119349
|
+
/* harmony import */ var _Widgets_Viewer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Widgets/Viewer */ "./packages/cesium-expander/src/Widgets/Viewer.ts");
|
|
119350
|
+
/* harmony import */ var _Widgets_Timeline__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Widgets/Timeline */ "./packages/cesium-expander/src/Widgets/Timeline.ts");
|
|
119351
|
+
/* harmony import */ var _common_trigger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./common/trigger */ "./packages/cesium-expander/src/common/trigger.ts");
|
|
119352
|
+
/* harmony import */ var _Plugins_camera_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Plugins/camera.plugin */ "./packages/cesium-expander/src/Plugins/camera.plugin.ts");
|
|
119353
|
+
/* harmony import */ var _Plugins_tile_plugin__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Plugins/tile.plugin */ "./packages/cesium-expander/src/Plugins/tile.plugin.ts");
|
|
119354
|
+
/* harmony import */ var _Plugins_cursor_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Plugins/cursor.plugin */ "./packages/cesium-expander/src/Plugins/cursor.plugin.ts");
|
|
119355
|
+
/* harmony import */ var _Plugins_GlobalCesiumMouseHandler_plugin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Plugins/GlobalCesiumMouseHandler.plugin */ "./packages/cesium-expander/src/Plugins/GlobalCesiumMouseHandler.plugin.ts");
|
|
119356
|
+
/* harmony import */ var _Plugins__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Plugins */ "./packages/cesium-expander/src/Plugins/index.ts");
|
|
119357
|
+
/* harmony import */ var _Plugins_ranging_plugin__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Plugins/ranging.plugin */ "./packages/cesium-expander/src/Plugins/ranging.plugin.ts");
|
|
119358
|
+
/* harmony import */ var _Plugins_mouseValue_plugin__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Plugins/mouseValue.plugin */ "./packages/cesium-expander/src/Plugins/mouseValue.plugin.ts");
|
|
119359
|
+
/* harmony import */ var _Plugins_productBox_plugin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Plugins/productBox.plugin */ "./packages/cesium-expander/src/Plugins/productBox.plugin.ts");
|
|
119360
|
+
/* harmony import */ var _Primitives_CustomProfile__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Primitives/CustomProfile */ "./packages/cesium-expander/src/Primitives/CustomProfile.ts");
|
|
119361
|
+
/* harmony import */ var _Primitives_CustomProfileGPU__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Primitives/CustomProfileGPU */ "./packages/cesium-expander/src/Primitives/CustomProfileGPU.ts");
|
|
119362
|
+
/* harmony import */ var _Primitives_Profile__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Primitives/Profile */ "./packages/cesium-expander/src/Primitives/Profile/index.ts");
|
|
119363
|
+
/* harmony import */ var _Primitives_ProfileGPU__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./Primitives/ProfileGPU */ "./packages/cesium-expander/src/Primitives/ProfileGPU/index.ts");
|
|
119364
|
+
/* harmony import */ var _Primitives_SingleRadar__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Primitives/SingleRadar */ "./packages/cesium-expander/src/Primitives/SingleRadar.ts");
|
|
119365
|
+
/* harmony import */ var _Primitives_SingleRadarZoom__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./Primitives/SingleRadarZoom */ "./packages/cesium-expander/src/Primitives/SingleRadarZoom.ts");
|
|
119366
|
+
/* harmony import */ var _Primitives_SingleRadarZoomService__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Primitives/SingleRadarZoomService */ "./packages/cesium-expander/src/Primitives/SingleRadarZoomService.ts");
|
|
119367
|
+
/* harmony import */ var _Primitives_Layer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./Primitives/Layer */ "./packages/cesium-expander/src/Primitives/Layer.ts");
|
|
119368
|
+
/* harmony import */ var _Primitives_LayerPNG__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./Primitives/LayerPNG */ "./packages/cesium-expander/src/Primitives/LayerPNG.ts");
|
|
119369
|
+
/* harmony import */ var _Primitives_CompressPNG__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Primitives/CompressPNG */ "./packages/cesium-expander/src/Primitives/CompressPNG/index.ts");
|
|
119370
|
+
/* harmony import */ var _Primitives_Compress2DPre__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./Primitives/Compress2DPre */ "./packages/cesium-expander/src/Primitives/Compress2DPre/index.ts");
|
|
119371
|
+
/* harmony import */ var _Primitives_LayerXYPNG__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Primitives/LayerXYPNG */ "./packages/cesium-expander/src/Primitives/LayerXYPNG.ts");
|
|
119372
|
+
/* harmony import */ var _Primitives_LayerZoom__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Primitives/LayerZoom */ "./packages/cesium-expander/src/Primitives/LayerZoom.ts");
|
|
119373
|
+
/* harmony import */ var _Primitives_LayerZoomImg__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./Primitives/LayerZoomImg */ "./packages/cesium-expander/src/Primitives/LayerZoomImg.ts");
|
|
119374
|
+
/* harmony import */ var _Primitives_LayerZoomJson__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./Primitives/LayerZoomJson */ "./packages/cesium-expander/src/Primitives/LayerZoomJson.ts");
|
|
119375
|
+
/* harmony import */ var _Primitives_LayerZoomHole__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./Primitives/LayerZoomHole */ "./packages/cesium-expander/src/Primitives/LayerZoomHole.ts");
|
|
119376
|
+
/* harmony import */ var _Primitives_DrainageBasin__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./Primitives/DrainageBasin */ "./packages/cesium-expander/src/Primitives/DrainageBasin.ts");
|
|
119377
|
+
/* harmony import */ var _Primitives_LayerForecast__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Primitives/LayerForecast */ "./packages/cesium-expander/src/Primitives/LayerForecast.ts");
|
|
119378
|
+
/* harmony import */ var _Primitives_GeoJson__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Primitives/GeoJson */ "./packages/cesium-expander/src/Primitives/GeoJson.ts");
|
|
119379
|
+
/* harmony import */ var _Primitives_FlowLine__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Primitives/FlowLine */ "./packages/cesium-expander/src/Primitives/FlowLine.ts");
|
|
119380
|
+
/* harmony import */ var _Primitives_IsoModel__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Primitives/IsoModel */ "./packages/cesium-expander/src/Primitives/IsoModel.ts");
|
|
119381
|
+
/* harmony import */ var _Primitives_NewIsoModel__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./Primitives/NewIsoModel */ "./packages/cesium-expander/src/Primitives/NewIsoModel.ts");
|
|
119382
|
+
/* harmony import */ var _Primitives_StormIdentify__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./Primitives/StormIdentify */ "./packages/cesium-expander/src/Primitives/StormIdentify.ts");
|
|
119383
|
+
/* harmony import */ var _Primitives_StormTrack__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./Primitives/StormTrack */ "./packages/cesium-expander/src/Primitives/StormTrack.ts");
|
|
119384
|
+
/* harmony import */ var _Primitives_StormForecast__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Primitives/StormForecast */ "./packages/cesium-expander/src/Primitives/StormForecast.ts");
|
|
119385
|
+
/* harmony import */ var _Primitives_Wind__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./Primitives/Wind */ "./packages/cesium-expander/src/Primitives/Wind.ts");
|
|
119386
|
+
/* harmony import */ var _Primitives_WindLayer__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./Primitives/WindLayer */ "./packages/cesium-expander/src/Primitives/WindLayer.ts");
|
|
119387
|
+
/* harmony import */ var _Primitives_StationLabel__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./Primitives/StationLabel */ "./packages/cesium-expander/src/Primitives/StationLabel.ts");
|
|
119388
|
+
/* harmony import */ var _Primitives_StationShaft__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./Primitives/StationShaft */ "./packages/cesium-expander/src/Primitives/StationShaft.ts");
|
|
119389
|
+
/* harmony import */ var _Primitives_StationPoint__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./Primitives/StationPoint */ "./packages/cesium-expander/src/Primitives/StationPoint.ts");
|
|
119390
|
+
/* harmony import */ var _Primitives_StationText__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./Primitives/StationText */ "./packages/cesium-expander/src/Primitives/StationText.ts");
|
|
119391
|
+
/* harmony import */ var _Primitives_StationPointNowcast__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./Primitives/StationPointNowcast */ "./packages/cesium-expander/src/Primitives/StationPointNowcast.ts");
|
|
119392
|
+
/* harmony import */ var _Primitives_MarkPoint__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Primitives/MarkPoint */ "./packages/cesium-expander/src/Primitives/MarkPoint.ts");
|
|
119393
|
+
/* harmony import */ var _Primitives_RadarRange__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Primitives/RadarRange */ "./packages/cesium-expander/src/Primitives/RadarRange.ts");
|
|
119394
|
+
/* harmony import */ var _Primitives_AlarmCircle__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Primitives/AlarmCircle */ "./packages/cesium-expander/src/Primitives/AlarmCircle.ts");
|
|
119395
|
+
/* harmony import */ var _Primitives_CaPPI__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Primitives/CaPPI */ "./packages/cesium-expander/src/Primitives/CaPPI/index.ts");
|
|
119396
|
+
/* harmony import */ var _Primitives_MaxWall__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./Primitives/MaxWall */ "./packages/cesium-expander/src/Primitives/MaxWall.ts");
|
|
119397
|
+
/* harmony import */ var _Primitives_HeatmapLayer__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./Primitives/HeatmapLayer */ "./packages/cesium-expander/src/Primitives/HeatmapLayer.ts");
|
|
119398
|
+
/* harmony import */ var _Primitives_MultiholeLayer__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./Primitives/MultiholeLayer */ "./packages/cesium-expander/src/Primitives/MultiholeLayer.ts");
|
|
119399
|
+
/* harmony import */ var _Primitives_RainPhase__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./Primitives/RainPhase */ "./packages/cesium-expander/src/Primitives/RainPhase.ts");
|
|
119400
|
+
/* harmony import */ var _Primitives_LightningExtrapolate__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./Primitives/LightningExtrapolate */ "./packages/cesium-expander/src/Primitives/LightningExtrapolate.ts");
|
|
119401
|
+
/* harmony import */ var _Primitives_Disaster__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./Primitives/Disaster */ "./packages/cesium-expander/src/Primitives/Disaster.ts");
|
|
119402
|
+
/* harmony import */ var _Primitives_ArchitectModel__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./Primitives/ArchitectModel */ "./packages/cesium-expander/src/Primitives/ArchitectModel.ts");
|
|
119403
|
+
/* harmony import */ var _Primitives_Pillars__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./Primitives/Pillars */ "./packages/cesium-expander/src/Primitives/Pillars.ts");
|
|
119404
|
+
/* harmony import */ var _Primitives_VerticalLine__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./Primitives/VerticalLine */ "./packages/cesium-expander/src/Primitives/VerticalLine.ts");
|
|
119405
|
+
/* harmony import */ var _Primitives_StationLabelHZ__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./Primitives/StationLabelHZ */ "./packages/cesium-expander/src/Primitives/StationLabelHZ.ts");
|
|
119406
|
+
/* harmony import */ var _Primitives_Storm__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./Primitives/Storm */ "./packages/cesium-expander/src/Primitives/Storm.ts");
|
|
119407
|
+
/* harmony import */ var _Primitives_AirRoute__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./Primitives/AirRoute */ "./packages/cesium-expander/src/Primitives/AirRoute.ts");
|
|
119408
|
+
/* harmony import */ var _Primitives_DmsToDegrees__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./Primitives/DmsToDegrees */ "./packages/cesium-expander/src/Primitives/DmsToDegrees.ts");
|
|
119409
|
+
/* harmony import */ var _Primitives_Airline_js__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./Primitives/Airline.js */ "./packages/cesium-expander/src/Primitives/Airline.js");
|
|
119410
|
+
/* harmony import */ var _Primitives_Grid__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./Primitives/Grid */ "./packages/cesium-expander/src/Primitives/Grid.ts");
|
|
119411
|
+
/* harmony import */ var _Primitives_GridBox__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./Primitives/GridBox */ "./packages/cesium-expander/src/Primitives/GridBox.ts");
|
|
119412
|
+
/* harmony import */ var _Primitives_TrackWarn__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Primitives/TrackWarn */ "./packages/cesium-expander/src/Primitives/TrackWarn.ts");
|
|
119413
|
+
/* harmony import */ var _Primitives_PolygonPrimitiveCollection__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./Primitives/PolygonPrimitiveCollection */ "./packages/cesium-expander/src/Primitives/PolygonPrimitiveCollection.ts");
|
|
119414
|
+
/* harmony import */ var _Primitives_PointPrimitiveCollection__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./Primitives/PointPrimitiveCollection */ "./packages/cesium-expander/src/Primitives/PointPrimitiveCollection.ts");
|
|
119415
|
+
/* harmony import */ var _Primitives_Diaphaneity__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./Primitives/Diaphaneity */ "./packages/cesium-expander/src/Primitives/Diaphaneity.ts");
|
|
119416
|
+
/* harmony import */ var _Primitives_DynamicCirclePrimitiveCollection__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./Primitives/DynamicCirclePrimitiveCollection */ "./packages/cesium-expander/src/Primitives/DynamicCirclePrimitiveCollection.ts");
|
|
119417
|
+
/* harmony import */ var _Primitives_Mark__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./Primitives/Mark */ "./packages/cesium-expander/src/Primitives/Mark.ts");
|
|
119418
|
+
/* harmony import */ var _Primitives_LXCircle__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./Primitives/LXCircle */ "./packages/cesium-expander/src/Primitives/LXCircle/index.ts");
|
|
119419
|
+
/* harmony import */ var _Primitives_FocusRegion__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./Primitives/FocusRegion */ "./packages/cesium-expander/src/Primitives/FocusRegion.ts");
|
|
119420
|
+
/* harmony import */ var _Primitives_Lightning__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./Primitives/Lightning */ "./packages/cesium-expander/src/Primitives/Lightning.ts");
|
|
119421
|
+
/* harmony import */ var _Primitives_DrawArea__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./Primitives/DrawArea */ "./packages/cesium-expander/src/Primitives/DrawArea/index.js");
|
|
119422
|
+
/* harmony import */ var _Primitives_FocusArea__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./Primitives/FocusArea */ "./packages/cesium-expander/src/Primitives/FocusArea/index.js");
|
|
119423
|
+
/* harmony import */ var _Plugins_brush_plugin__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./Plugins/brush.plugin */ "./packages/cesium-expander/src/Plugins/brush.plugin.ts");
|
|
119424
|
+
/* harmony import */ var _Primitives_DrawPolyline__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./Primitives/DrawPolyline */ "./packages/cesium-expander/src/Primitives/DrawPolyline.ts");
|
|
119425
|
+
/* harmony import */ var _Primitives_CircleScan__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./Primitives/CircleScan */ "./packages/cesium-expander/src/Primitives/CircleScan.ts");
|
|
119426
|
+
/* harmony import */ var _Primitives_AlarmWall__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./Primitives/AlarmWall */ "./packages/cesium-expander/src/Primitives/AlarmWall.ts");
|
|
119427
|
+
/* harmony import */ var _Primitives_ImgLayer__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./Primitives/ImgLayer */ "./packages/cesium-expander/src/Primitives/ImgLayer.ts");
|
|
119428
|
+
/* harmony import */ var _Primitives_WarningLayer__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./Primitives/WarningLayer */ "./packages/cesium-expander/src/Primitives/WarningLayer.ts");
|
|
119429
|
+
/* harmony import */ var _Primitives_IsoPack__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./Primitives/IsoPack */ "./packages/cesium-expander/src/Primitives/IsoPack/index.ts");
|
|
119430
|
+
/* harmony import */ var _Primitives_VolumeRendering__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./Primitives/VolumeRendering */ "./packages/cesium-expander/src/Primitives/VolumeRendering/index.ts");
|
|
119431
|
+
/* harmony import */ var _Primitives_IsoPack_Texture3__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./Primitives/IsoPack/Texture3 */ "./packages/cesium-expander/src/Primitives/IsoPack/Texture3.ts");
|
|
119432
|
+
/* harmony import */ var _common_coordinate__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./common/coordinate */ "./packages/cesium-expander/src/common/coordinate.ts");
|
|
119433
|
+
/* harmony import */ var _Primitives_ProfileDemo__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./Primitives/ProfileDemo */ "./packages/cesium-expander/src/Primitives/ProfileDemo.ts");
|
|
119434
|
+
/* harmony import */ var _Primitives_TargetTrackPoint__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./Primitives/TargetTrackPoint */ "./packages/cesium-expander/src/Primitives/TargetTrackPoint.ts");
|
|
119435
|
+
/* harmony import */ var _Primitives_RadarScans__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./Primitives/RadarScans */ "./packages/cesium-expander/src/Primitives/RadarScans.ts");
|
|
119436
|
+
/* harmony import */ var _Primitives_LivePlane__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./Primitives/LivePlane */ "./packages/cesium-expander/src/Primitives/LivePlane.ts");
|
|
119437
|
+
/* harmony import */ var _Primitives_BoxArea__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./Primitives/BoxArea */ "./packages/cesium-expander/src/Primitives/BoxArea.ts");
|
|
119438
|
+
/* harmony import */ var _Primitives_RadarArc__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./Primitives/RadarArc */ "./packages/cesium-expander/src/Primitives/RadarArc.ts");
|
|
119439
|
+
/* harmony import */ var _Primitives_DrawRectangle__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./Primitives/DrawRectangle */ "./packages/cesium-expander/src/Primitives/DrawRectangle.ts");
|
|
119440
|
+
/* harmony import */ var _Primitives_TilingScheme_WindyTileProvider__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./Primitives/TilingScheme/WindyTileProvider */ "./packages/cesium-expander/src/Primitives/TilingScheme/WindyTileProvider.ts");
|
|
119441
|
+
/* harmony import */ var _Primitives_LayerPrimitive__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./Primitives/LayerPrimitive */ "./packages/cesium-expander/src/Primitives/LayerPrimitive.ts");
|
|
119442
|
+
/* harmony import */ var _Primitives_BrushTool__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./Primitives/BrushTool */ "./packages/cesium-expander/src/Primitives/BrushTool.ts");
|
|
119443
|
+
/* harmony import */ var _Primitives_Typhoon_Typhoon__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./Primitives/Typhoon/Typhoon */ "./packages/cesium-expander/src/Primitives/Typhoon/Typhoon.ts");
|
|
119444
|
+
// import * as Cesium from 'cesium';
|
|
119877
119445
|
|
|
119878
119446
|
|
|
119879
119447
|
|
|
@@ -119982,7 +119550,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119982
119550
|
// import LayerPrimitive from './Primitives/LayerPrimitive_old';
|
|
119983
119551
|
|
|
119984
119552
|
|
|
119985
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (
|
|
119553
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_Widgets_Viewer__WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
119986
119554
|
|
|
119987
119555
|
|
|
119988
119556
|
/***/ }),
|
|
@@ -120260,7 +119828,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_rxjs__;
|
|
|
120260
119828
|
/******/ var __webpack_exports__BrushTool = __webpack_exports__.BrushTool
|
|
120261
119829
|
/******/ var __webpack_exports__CaPPI = __webpack_exports__.CaPPI
|
|
120262
119830
|
/******/ var __webpack_exports__CameraPlugin = __webpack_exports__.CameraPlugin
|
|
120263
|
-
/******/ var __webpack_exports__Cesium = __webpack_exports__.Cesium
|
|
120264
119831
|
/******/ var __webpack_exports__CircleScan = __webpack_exports__.CircleScan
|
|
120265
119832
|
/******/ var __webpack_exports__Compress2DPre = __webpack_exports__.Compress2DPre
|
|
120266
119833
|
/******/ var __webpack_exports__CompressPNG = __webpack_exports__.CompressPNG
|
|
@@ -120345,7 +119912,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_rxjs__;
|
|
|
120345
119912
|
/******/ var __webpack_exports__WindyTileProvider = __webpack_exports__.WindyTileProvider
|
|
120346
119913
|
/******/ var __webpack_exports__default = __webpack_exports__["default"]
|
|
120347
119914
|
/******/ var __webpack_exports__trigger = __webpack_exports__.trigger
|
|
120348
|
-
/******/ export { __webpack_exports__AirRoute as AirRoute, __webpack_exports__Airline as Airline, __webpack_exports__AlarmCircle as AlarmCircle, __webpack_exports__AlarmWall as AlarmWall, __webpack_exports__ArchitectModel as ArchitectModel, __webpack_exports__BoundaryPlugin as BoundaryPlugin, __webpack_exports__BoxArea as BoxArea, __webpack_exports__BrushPlugin as BrushPlugin, __webpack_exports__BrushTool as BrushTool, __webpack_exports__CaPPI as CaPPI, __webpack_exports__CameraPlugin as CameraPlugin,
|
|
119915
|
+
/******/ export { __webpack_exports__AirRoute as AirRoute, __webpack_exports__Airline as Airline, __webpack_exports__AlarmCircle as AlarmCircle, __webpack_exports__AlarmWall as AlarmWall, __webpack_exports__ArchitectModel as ArchitectModel, __webpack_exports__BoundaryPlugin as BoundaryPlugin, __webpack_exports__BoxArea as BoxArea, __webpack_exports__BrushPlugin as BrushPlugin, __webpack_exports__BrushTool as BrushTool, __webpack_exports__CaPPI as CaPPI, __webpack_exports__CameraPlugin as CameraPlugin, __webpack_exports__CircleScan as CircleScan, __webpack_exports__Compress2DPre as Compress2DPre, __webpack_exports__CompressPNG as CompressPNG, __webpack_exports__CoordinateUtil as CoordinateUtil, __webpack_exports__CursorPlugin as CursorPlugin, __webpack_exports__CustomProfile as CustomProfile, __webpack_exports__CustomProfileGPU as CustomProfileGPU, __webpack_exports__DegreesHandle as DegreesHandle, __webpack_exports__Diaphaneity as Diaphaneity, __webpack_exports__Disaster as Disaster, __webpack_exports__DrainageBasin as DrainageBasin, __webpack_exports__DrawArea as DrawArea, __webpack_exports__DrawPolyline as DrawPolyline, __webpack_exports__DrawRectangle as DrawRectangle, __webpack_exports__DynamicCirclePrimitiveCollection as DynamicCirclePrimitiveCollection, __webpack_exports__FlowLine as FlowLine, __webpack_exports__FocusArea as FocusArea, __webpack_exports__FocusRegion as FocusRegion, __webpack_exports__GeoJson as GeoJson, __webpack_exports__GlobalCesiumMouseHandler as GlobalCesiumMouseHandler, __webpack_exports__Grid as Grid, __webpack_exports__GridBox as GridBox, __webpack_exports__HeatmapLayer as HeatmapLayer, __webpack_exports__ImgLayer as ImgLayer, __webpack_exports__IsoModel as IsoModel, __webpack_exports__IsoPack as IsoPack, __webpack_exports__LXCircle as LXCircle, __webpack_exports__Layer as Layer, __webpack_exports__LayerForecast as LayerForecast, __webpack_exports__LayerPNG as LayerPNG, __webpack_exports__LayerPrimitive as LayerPrimitive, __webpack_exports__LayerXYPNG as LayerXYPNG, __webpack_exports__LayerZoom as LayerZoom, __webpack_exports__LayerZoomHole as LayerZoomHole, __webpack_exports__LayerZoomImg as LayerZoomImg, __webpack_exports__LayerZoomJson as LayerZoomJson, __webpack_exports__Lightning as Lightning, __webpack_exports__LightningExtrapolate as LightningExtrapolate, __webpack_exports__LivePlane as LivePlane, __webpack_exports__Mark as Mark, __webpack_exports__MarkPoint as MarkPoint, __webpack_exports__MaxWall as MaxWall, __webpack_exports__MouseValuePlugin as MouseValuePlugin, __webpack_exports__MultiholeLayer as MultiholeLayer, __webpack_exports__NewIsoModel as NewIsoModel, __webpack_exports__Pillars as Pillars, __webpack_exports__PointPrimitiveCollection as PointPrimitiveCollection, __webpack_exports__PolygonPrimitiveCollection as PolygonPrimitiveCollection, __webpack_exports__ProductBox as ProductBox, __webpack_exports__Profile as Profile, __webpack_exports__ProfileDemo as ProfileDemo, __webpack_exports__ProfileGPU as ProfileGPU, __webpack_exports__RadarArc as RadarArc, __webpack_exports__RadarRange as RadarRange, __webpack_exports__RadarScans as RadarScans, __webpack_exports__RainPhase as RainPhase, __webpack_exports__RangingPlugin as RangingPlugin, __webpack_exports__SingleRadar as SingleRadar, __webpack_exports__SingleRadarZoom as SingleRadarZoom, __webpack_exports__SingleRadarZoomService as SingleRadarZoomService, __webpack_exports__StationLabel as StationLabel, __webpack_exports__StationLabelHZ as StationLabelHZ, __webpack_exports__StationPoint as StationPoint, __webpack_exports__StationPointNowcast as StationPointNowcast, __webpack_exports__StationShaft as StationShaft, __webpack_exports__StationText as StationText, __webpack_exports__Storm as Storm, __webpack_exports__StormForecast as StormForecast, __webpack_exports__StormIdentify as StormIdentify, __webpack_exports__StormTrack as StormTrack, __webpack_exports__TargetTrackPoint as TargetTrackPoint, __webpack_exports__Texture3 as Texture3, __webpack_exports__TilePlugin as TilePlugin, __webpack_exports__Timeline as Timeline, __webpack_exports__TrackWarn as TrackWarn, __webpack_exports__Typhoon as Typhoon, __webpack_exports__VerticalLine as VerticalLine, __webpack_exports__VolumeRendering as VolumeRendering, __webpack_exports__WarningLayer as WarningLayer, __webpack_exports__Wind as Wind, __webpack_exports__WindLayer as WindLayer, __webpack_exports__WindyTileProvider as WindyTileProvider, __webpack_exports__default as default, __webpack_exports__trigger as trigger };
|
|
120349
119916
|
/******/
|
|
120350
119917
|
|
|
120351
119918
|
//# sourceMappingURL=index.dev.js.map
|