@inovitas/infra3dapi 1.3.0-rc3 → 1.3.0
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 +26 -1
- package/infra3dapi.d.ts +45 -0
- package/infra3dapi.js +1 -1
- package/package.json +1 -1
- package/assets/1551f4f60c37af51121f.woff2 +0 -0
- package/assets/2285773e6b4b172f07d9.woff +0 -0
- package/assets/23f19bb08961f37aaf69.eot +0 -0
- package/assets/491974d108fe4002b2aa.ttf +0 -0
- package/assets/527940b104eb2ea366c8.ttf +0 -0
- package/assets/77206a6bb316fa0aded5.eot +0 -0
- package/assets/7a3337626410ca2f4071.woff2 +0 -0
- package/assets/9bbb245e67a133f6e486.eot +0 -0
- package/assets/bb58e57c48a3e911f15f.woff +0 -0
- package/assets/be9ee23c0c6390141475.ttf +0 -0
- package/assets/d878b0a6a1144760244f.woff2 +0 -0
- package/assets/eeccf4f66002c6f2ba24.woff +0 -0
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ 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.3.0
|
|
40
|
+
## 1.3.0 - 02.07.2025
|
|
41
41
|
|
|
42
42
|
### Added
|
|
43
43
|
|
|
@@ -47,6 +47,31 @@ To use the API, you can call the init functions in infra3dapi. After loggin in a
|
|
|
47
47
|
- viewer.getCurrentNode() to retrieve some information like coordinates of the current position
|
|
48
48
|
- extended the viewer.on("nodechanged", ...) with some further properties
|
|
49
49
|
|
|
50
|
+
## 1.2.5 - 27.06.2025
|
|
51
|
+
|
|
52
|
+
### Bugfixes
|
|
53
|
+
|
|
54
|
+
- When adding a WFS 2.0 Layer, the settings have not been took over and not been saved correctly (IN-3444)
|
|
55
|
+
- When minimising the measurement panel and reopening meausrements again, the panels overlap each other (IN-3461)
|
|
56
|
+
|
|
57
|
+
## 1.2.4 - 12.06.2025
|
|
58
|
+
|
|
59
|
+
### Bugfixes
|
|
60
|
+
|
|
61
|
+
- Some request when using a non-migrated user resulted in a 400 Bad Request.
|
|
62
|
+
|
|
63
|
+
## 1.2.3 - 05.06.2025
|
|
64
|
+
|
|
65
|
+
### Bugfixes
|
|
66
|
+
|
|
67
|
+
- Profile Tool enlarge button now has a tooltip
|
|
68
|
+
- Add-On Point Cloud Export: Authorisation based on scope entry in token
|
|
69
|
+
|
|
70
|
+
### Added
|
|
71
|
+
|
|
72
|
+
- LoD Concept for Pointcloud fragments
|
|
73
|
+
- Add-On Point Cloud Export: Loading state on startup
|
|
74
|
+
|
|
50
75
|
## 1.2.2 - 17.04.2025
|
|
51
76
|
|
|
52
77
|
### Bugfixes
|
package/infra3dapi.d.ts
CHANGED
|
@@ -75,13 +75,23 @@ interface LookazimuthchangedEvent extends ViewerEvent {
|
|
|
75
75
|
type: "lookazimuthchanged";
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
interface ICampaign {
|
|
79
|
+
uid: string;
|
|
80
|
+
name: string;
|
|
81
|
+
type: string;
|
|
82
|
+
start_timestamp: number;
|
|
83
|
+
end_timestamp: number;
|
|
84
|
+
}
|
|
85
|
+
|
|
78
86
|
declare class InternalViewer {}
|
|
79
87
|
declare class ApmBase {}
|
|
80
88
|
|
|
81
89
|
declare class Viewer extends EventEmitter implements IViewer {
|
|
82
90
|
private _sdk_viewer;
|
|
83
91
|
constructor(sdk_viewer: InternalViewer);
|
|
92
|
+
|
|
84
93
|
moveToCampaign(campaignID: string): Promise<void>;
|
|
94
|
+
|
|
85
95
|
moveToPosition(
|
|
86
96
|
easting: number,
|
|
87
97
|
northing: number,
|
|
@@ -89,6 +99,7 @@ declare class Viewer extends EventEmitter implements IViewer {
|
|
|
89
99
|
maxdist?: number,
|
|
90
100
|
epsg?: number
|
|
91
101
|
): Promise<void>;
|
|
102
|
+
|
|
92
103
|
lookAtPosition(
|
|
93
104
|
easting: number,
|
|
94
105
|
northing: number,
|
|
@@ -96,7 +107,41 @@ declare class Viewer extends EventEmitter implements IViewer {
|
|
|
96
107
|
maxdist?: number,
|
|
97
108
|
epsg?: number
|
|
98
109
|
): Promise<void>;
|
|
110
|
+
|
|
99
111
|
getRoutes(simplify?: number): Promise<GeoJSON>;
|
|
112
|
+
|
|
113
|
+
public getRouteLines(
|
|
114
|
+
loa: number,
|
|
115
|
+
bbox: {
|
|
116
|
+
minEasting: number;
|
|
117
|
+
maxEasting: number;
|
|
118
|
+
minNorthing: number;
|
|
119
|
+
maxNorthing: number;
|
|
120
|
+
epsg?: number;
|
|
121
|
+
}
|
|
122
|
+
): Promise<GeoJSON>;
|
|
123
|
+
|
|
124
|
+
public getRouteHexes(
|
|
125
|
+
loa: number,
|
|
126
|
+
bbox: {
|
|
127
|
+
minEasting: number;
|
|
128
|
+
maxEasting: number;
|
|
129
|
+
minNorthing: number;
|
|
130
|
+
maxNorthing: number;
|
|
131
|
+
epsg?: number;
|
|
132
|
+
}
|
|
133
|
+
): Promise<GeoJSON>;
|
|
134
|
+
|
|
135
|
+
// getAllCampaigns(bbox?: {
|
|
136
|
+
// minEasting: number;
|
|
137
|
+
// maxEasting: number;
|
|
138
|
+
// minNorthing: number;
|
|
139
|
+
// maxNorthing: number;
|
|
140
|
+
// epsg: number;
|
|
141
|
+
// }): Promise<ICampaign[]>;
|
|
142
|
+
|
|
143
|
+
// getCampaign(campagin_uid: string): Promise<ICampaign>;
|
|
144
|
+
|
|
100
145
|
attachToMeasurementTool(
|
|
101
146
|
toolname: "lengthMeasure" | "areaMeasure",
|
|
102
147
|
onmeasured: (value: number, geometry: number[][]) => void
|