deeptwins-engine-3d 0.1.44 → 0.1.46

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.
@@ -69,5 +69,6 @@ export declare class DeepTwinsEngine3D {
69
69
  static VisitLayer: any;
70
70
  static PoiLayer: any;
71
71
  static FlightPlanning: any;
72
+ static FlightRiskEvaluation: any;
72
73
  }
73
74
  export default DeepTwinsEngine3D;
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
- // import FlightRiskEvaluation from './lowAltitude/FlightRiskEvaluation';
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.44");
61
+ console.log('DeepTwinsEngine3D Version:', "0.1.46");
62
62
  export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
63
63
  _classCallCheck(this, DeepTwinsEngine3D);
64
64
  });
65
- _defineProperty(DeepTwinsEngine3D, "Version", "0.1.44");
65
+ _defineProperty(DeepTwinsEngine3D, "Version", "0.1.46");
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;