@inovitas/infra3dapi 1.2.1 → 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,39 @@ 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
+
52
+ ## 1.2.2 - 17.04.2025
53
+
54
+ ### Bugfixes
55
+
56
+ - Keydown/-up Eventlisteners ignored if evt.target is an HTMLInputElement, HTMLTextAreaElement or HTMLSelectElement.
57
+ - Requests in routesprovider have a lower limit to not reach the backend limit of 6 MB.
58
+ - Viewer is destroyed completly, with unlistening to events.
59
+ - Layer-configs: Wrong handling with source_options fixed
60
+ - When adding a new feature, it could be saved only after two inserts. This is now fixed.
61
+ - Fix shortened arcgis URL in Layer options
62
+ - Fix jump to multipolygon feature in Feature table
63
+ - Fix bug when Frame 0 is not inside projectscope
64
+ - Fix zick-zack bug in map when having lra-projects
65
+
66
+ ## 1.2.1 - 24.02.2025
67
+
68
+ ### Bugfixes
69
+
70
+ - React Reference Error when activating survey wheel measurement
71
+ - Not loading depthmaps anymore if loading view
72
+
40
73
  ## 1.2.0 - 16.12.2024
41
74
 
42
75
  ### Bugfixes
@@ -45,7 +78,6 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
45
78
  - Style of the scrollbar is no more globally overwritten by the API
46
79
  - Resize event listens now on the div and not the whole window
47
80
 
48
-
49
81
  ### Added
50
82
 
51
83
  - Added functions on viewer to draw and pick a geometry
package/infra3dapi.d.ts CHANGED
@@ -64,6 +64,14 @@ interface LookazimuthchangedEvent extends ViewerEvent {
64
64
  type: "lookazimuthchanged";
65
65
  }
66
66
 
67
+ interface ICampaign {
68
+ uid: string;
69
+ name: string;
70
+ type: string;
71
+ start_timestamp: number;
72
+ end_timestamp: number;
73
+ }
74
+
67
75
  declare class InternalViewer {}
68
76
  declare class GeoJSON {}
69
77
  declare class ApmBase {}
@@ -71,7 +79,9 @@ declare class ApmBase {}
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
@@ -163,8 +186,8 @@ declare class Manager extends EventEmitter {
163
186
  show_cockpit?: boolean;
164
187
  show_mapWindow?: boolean;
165
188
  show_toolbar?: boolean;
166
- toolbar?: string;
167
189
  show_topbar?: boolean;
190
+ toolbar?: string;
168
191
  }): Promise<Viewer>;
169
192
  getProjects(): Promise<cardProps[]>;
170
193
  setViewer(viewer: InternalViewer): void;