@inovitas/infra3dapi 1.2.4 → 1.2.6
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 +7 -0
- package/infra3dapi.d.ts +26 -3
- package/infra3dapi.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,13 @@ 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.5 - 27.06.2025
|
|
41
|
+
|
|
42
|
+
### Bugfixes
|
|
43
|
+
|
|
44
|
+
- When adding a WFS 2.0 Layer, the settings have not been took over and not been saved correctly (IN-3444)
|
|
45
|
+
- When minimising the measurement panel and reopening meausrements again, the panels overlap each other (IN-3461)
|
|
46
|
+
|
|
40
47
|
## 1.2.4 - 12.06.2025
|
|
41
48
|
|
|
42
49
|
### Bugfixes
|
package/infra3dapi.d.ts
CHANGED
|
@@ -64,14 +64,24 @@ interface LookazimuthchangedEvent extends ViewerEvent {
|
|
|
64
64
|
type: "lookazimuthchanged";
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|