deeptwins-engine-3d 0.1.44 → 0.1.45
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/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +4 -3
- package/dist/esm/lowAltitude/FlightRiskEvaluation.d.ts +26 -0
- package/dist/esm/lowAltitude/FlightRiskEvaluation.js +552 -383
- package/dist/esm/videoFusion/BaseVideo.js +1 -3
- package/dist/esm/visualization/PointCluster.js +40 -13
- package/dist/umd/deeptwins-engine-3d.min.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -21,7 +21,7 @@ import Drawer from "./drawer/index";
|
|
|
21
21
|
import "./global.css";
|
|
22
22
|
import BarrierLayer from "./lowAltitude/BarrierLayer";
|
|
23
23
|
import FlightPlanning from "./lowAltitude/FlightPlanning";
|
|
24
|
-
|
|
24
|
+
import FlightRiskEvaluation from "./lowAltitude/FlightRiskEvaluation";
|
|
25
25
|
import GridDraw from "./lowAltitude/GridDraw";
|
|
26
26
|
import PoiLayer from "./lowAltitude/PoiLayer";
|
|
27
27
|
import VisitLayer from "./lowAltitude/VisitLayer";
|
|
@@ -58,11 +58,11 @@ DEEP_TWINS_BASE_URL && (window.CESIUM_BASE_URL = DEEP_TWINS_BASE_URL);
|
|
|
58
58
|
// 全局加载css
|
|
59
59
|
loadCss(Cesium.buildModuleUrl('Widgets/widgets.css'));
|
|
60
60
|
// 打印版本信息
|
|
61
|
-
console.log('DeepTwinsEngine3D Version:', "0.1.
|
|
61
|
+
console.log('DeepTwinsEngine3D Version:', "0.1.45");
|
|
62
62
|
export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
|
|
63
63
|
_classCallCheck(this, DeepTwinsEngine3D);
|
|
64
64
|
});
|
|
65
|
-
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.
|
|
65
|
+
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.45");
|
|
66
66
|
_defineProperty(DeepTwinsEngine3D, "Map", Map);
|
|
67
67
|
_defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
|
|
68
68
|
_defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);
|
|
@@ -131,4 +131,5 @@ _defineProperty(DeepTwinsEngine3D, "ViewshedAnalysis", ViewshedAnalysis);
|
|
|
131
131
|
_defineProperty(DeepTwinsEngine3D, "VisitLayer", VisitLayer);
|
|
132
132
|
_defineProperty(DeepTwinsEngine3D, "PoiLayer", PoiLayer);
|
|
133
133
|
_defineProperty(DeepTwinsEngine3D, "FlightPlanning", FlightPlanning);
|
|
134
|
+
_defineProperty(DeepTwinsEngine3D, "FlightRiskEvaluation", FlightRiskEvaluation);
|
|
134
135
|
export default DeepTwinsEngine3D;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare class FlightRiskEvaluation {
|
|
2
|
+
private readonly _mapContext;
|
|
3
|
+
isDestroyed: boolean;
|
|
4
|
+
options: any;
|
|
5
|
+
routeSource: any;
|
|
6
|
+
routeResultSource: any;
|
|
7
|
+
routePointsLayer: any;
|
|
8
|
+
routePointsLabelLayer: any;
|
|
9
|
+
routePipelineLayer: any;
|
|
10
|
+
riskPointsLayer: any;
|
|
11
|
+
riskPointsLabelLayer: any;
|
|
12
|
+
gridsLayer: any;
|
|
13
|
+
constructor(map: any, options?: any);
|
|
14
|
+
private _canOperate;
|
|
15
|
+
getMap(): any;
|
|
16
|
+
start(geoJson?: any): Promise<void>;
|
|
17
|
+
private _createRoute;
|
|
18
|
+
private _clearRoute;
|
|
19
|
+
private _getSegmentColorFromEvaluation;
|
|
20
|
+
private _clusterRiskPoints;
|
|
21
|
+
private _createRiskPoints;
|
|
22
|
+
private _clearRiskPoints;
|
|
23
|
+
private _createGrids;
|
|
24
|
+
destroy(): void;
|
|
25
|
+
}
|
|
26
|
+
export default FlightRiskEvaluation;
|