@inovitas/infra3dapi 1.2.2 → 1.2.3

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/README.md CHANGED
@@ -37,6 +37,18 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
37
37
 
38
38
  # Changelog
39
39
 
40
+ ## 1.2.3 - 05.06.2025
41
+
42
+ ### Bugfixes
43
+
44
+ - Profile Tool enlarge button now has a tooltip
45
+ - Add-On Point Cloud Export: Authorisation based on scope entry in token
46
+
47
+ ### Added
48
+
49
+ - LoD Concept for Pointcloud fragments
50
+ - Add-On Point Cloud Export: Loading state on startup
51
+
40
52
  ## 1.2.2 - 17.04.2025
41
53
 
42
54
  ### Bugfixes
package/infra3dapi.d.ts CHANGED
@@ -64,14 +64,24 @@ interface LookazimuthchangedEvent extends ViewerEvent {
64
64
  type: "lookazimuthchanged";
65
65
  }
66
66
 
67
- declare class InternalViewer { }
68
- declare class GeoJSON { }
69
- declare class ApmBase { }
67
+ interface ICampaign {
68
+ uid: string;
69
+ name: string;
70
+ type: string;
71
+ start_timestamp: number;
72
+ end_timestamp: number;
73
+ }
74
+
75
+ declare class InternalViewer {}
76
+ declare class GeoJSON {}
77
+ declare class ApmBase {}
70
78
 
71
79
  declare class Viewer extends EventEmitter implements IViewer {
72
80
  private _sdk_viewer;
73
81
  constructor(sdk_viewer: InternalViewer);
82
+
74
83
  moveToCampaign(campaignID: string): Promise<void>;
84
+
75
85
  moveToPosition(
76
86
  easting: number,
77
87
  northing: number,
@@ -79,6 +89,7 @@ declare class Viewer extends EventEmitter implements IViewer {
79
89
  maxdist?: number,
80
90
  epsg?: number
81
91
  ): Promise<void>;
92
+
82
93
  lookAtPosition(
83
94
  easting: number,
84
95
  northing: number,
@@ -86,7 +97,19 @@ declare class Viewer extends EventEmitter implements IViewer {
86
97
  maxdist?: number,
87
98
  epsg?: number
88
99
  ): Promise<void>;
100
+
89
101
  getRoutes(simplify?: number): Promise<GeoJSON>;
102
+
103
+ getAllCampaigns(bbox?: {
104
+ minEasting: number;
105
+ maxEasting: number;
106
+ minNorthing: number;
107
+ maxNorthing: number;
108
+ epsg: number;
109
+ }): Promise<ICampaign[]>;
110
+
111
+ getCampaign(campagin_uid: string): Promise<ICampaign>;
112
+
90
113
  attachToMeasurementTool(
91
114
  toolname: "lengthMeasure" | "areaMeasure",
92
115
  onmeasured: (value: number, geometry: number[][]) => void