leiting-bim 2.1.159 → 2.1.161

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.
@@ -7,8 +7,15 @@ export default class LineDrawer implements IDrawer {
7
7
  private entity;
8
8
  private tooltip;
9
9
  private tempPoints;
10
+ private options;
11
+ private keydownHandler;
10
12
  constructor(Cesium: any, viewer: any);
11
13
  private getPickPosition;
14
+ private syncEntity;
15
+ private undoLastPoint;
16
+ private finishDrawing;
17
+ private bindKeyboardEvents;
18
+ private unbindKeyboardEvents;
12
19
  startDrawing(options: DrawOptions): void;
13
20
  stopDrawing(): void;
14
21
  clear(): void;
@@ -8,10 +8,17 @@ export default class PolygonDrawer implements IDrawer {
8
8
  private entity;
9
9
  private tooltip;
10
10
  private tempPoints;
11
+ private options;
12
+ private keydownHandler;
11
13
  constructor(Cesium: any, viewer: any);
12
14
  private isHelperPick;
13
15
  private withHiddenHelpers;
14
16
  private getPickPosition;
17
+ private syncEntity;
18
+ private undoLastPoint;
19
+ private finishDrawing;
20
+ private bindKeyboardEvents;
21
+ private unbindKeyboardEvents;
15
22
  startDrawing(options: DrawOptions): void;
16
23
  stopDrawing(): void;
17
24
  clear(): void;
@@ -1,6 +1,7 @@
1
1
  import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
2
2
  import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
3
3
  export default class AreaMeasure implements IMeasure {
4
+ private static readonly TIP_TEXT;
4
5
  private Cesium;
5
6
  private viewer;
6
7
  private handler;
@@ -20,9 +21,17 @@ export default class AreaMeasure implements IMeasure {
20
21
  private previewLabelId;
21
22
  private segmentLabelIds;
22
23
  private angleLabelIds;
24
+ private tooltip;
25
+ private keydownHandler;
26
+ private contextMenuHandler;
23
27
  constructor(Cesium: any, viewer: any);
24
28
  start(options: MeasurementOptions): void;
25
29
  stop(): void;
26
30
  clear(): void;
31
+ private _clearPreviewState;
32
+ private _rebuildShape;
33
+ private _undoLastPoint;
34
+ private _finishMeasurement;
35
+ private _bindGlobalEvents;
27
36
  rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
28
37
  }
@@ -1,6 +1,7 @@
1
1
  import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
2
2
  import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
3
3
  export default class HorizontalMeasure implements IMeasure {
4
+ private static readonly TIP_TEXT;
4
5
  private Cesium;
5
6
  private viewer;
6
7
  private handler;
@@ -19,8 +20,19 @@ export default class HorizontalMeasure implements IMeasure {
19
20
  private groundLineEntities;
20
21
  private previewPos;
21
22
  private previewGroundPos;
23
+ private tooltip;
24
+ private moveFrameId;
25
+ private pendingMove;
26
+ private lastMoveKey;
27
+ private keydownHandler;
28
+ private contextMenuHandler;
22
29
  constructor(Cesium: any, viewer: any);
23
30
  start(options: MeasurementOptions): void;
31
+ private _handlePreviewMove;
32
+ private _clearPreviewState;
33
+ private _undoLastPoint;
34
+ private _finishMeasurement;
35
+ private _bindGlobalEvents;
24
36
  stop(): void;
25
37
  clear(): void;
26
38
  rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
@@ -1,6 +1,7 @@
1
1
  import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types';
2
2
  import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool';
3
3
  export default class PolylineDistanceMeasure implements IMeasure {
4
+ private static readonly TIP_TEXT;
4
5
  private Cesium;
5
6
  private viewer;
6
7
  private handler;
@@ -17,9 +18,16 @@ export default class PolylineDistanceMeasure implements IMeasure {
17
18
  private totalLabelId;
18
19
  private segmentLabelIds;
19
20
  private previewLabelId;
21
+ private tooltip;
22
+ private keydownHandler;
23
+ private contextMenuHandler;
20
24
  constructor(Cesium: any, viewer: any);
21
25
  start(options: MeasurementOptions): void;
22
26
  stop(): void;
23
27
  clear(): void;
28
+ private _clearPreviewState;
29
+ private _undoLastPoint;
30
+ private _finishMeasurement;
31
+ private _bindGlobalEvents;
24
32
  rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void;
25
33
  }