@inovitas/infra3dapi 1.0.3 → 1.1.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 CHANGED
@@ -37,97 +37,112 @@ 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.0.3 - 17.09.2024
41
-
42
- ### Bugfixes
43
-
44
- - Fixed pilegate URL for migrated users.
45
- - Using the profiletool, added an information and reset the tool when changing the image while performing a measurement.
46
- - Fix the bug when using jest for testing.
47
- - Added missing bounding box parameter to viewer.getRoutes().
48
-
49
- ## 1.0.2 - 06.08.2024
50
-
51
- ### Bugfixes
52
-
53
- - Fixed bug in the layer tree view. The layer tree is visible again.
54
-
55
- ## 1.0.1 - 23.07.2024
56
-
57
- ### Bugfixes
58
-
59
- - Fixed a bug in the campaign change event in the viewer.
60
-
61
- ## 1.0.0 - 17.05.2024
62
-
63
- ### Bugfixes
64
-
65
- - Restoration of toolbar and top bar functionality: They can now be shown and hidden smoothly.
66
-
67
- ### Added
68
-
69
- - Introduction of machine authentication and a new corresponding example.
70
- - Added: Option for access token in the init function.
71
- - Added: Refresh token for the init function.
72
- - Typings
73
-
74
- ### Changed
75
-
76
- - Examples have been updated to accommodate the new authentication process.
77
-
78
- ### Deleted
79
-
80
- - Interactive login functions.
81
- - Removed: Two options from the init function:
82
- - demoAccess
83
- - redirectPath
84
-
85
- ## 0.2.8 - 08.04.2024
86
-
87
- ### Added
88
-
89
- - Integrated and documented functions
90
- - moveToPosition
91
- - moveToCampaign
92
- - lookAtPosition
93
- - getRoutes
94
-
95
- ## 0.2.7 - 04.04.2024
96
-
97
- ### Added
98
-
99
- - Improved documentation
100
- - Description of the event types
101
- - Description of further settings
102
-
103
- ### Changed
104
-
105
- - Adaptation to the existing examples
106
-
107
- ## 0.2.4 - 14.03.2024
108
-
109
- ### Bugfixes
110
-
111
- - Troubleshooting with internal module
112
-
113
- ## 0.2.3 - 09.02.2024
114
-
115
- ### Added
116
-
117
- - Demo Access Login
118
- - Documenation
119
-
120
- ### Changed
121
-
122
- - Adoption of adjustments to the UI base of infra3D Edit
123
-
124
- ### Bugfixes
125
-
126
- - Various minor adjustments
127
-
128
- ## 0.2.0 - 30.01.2024
129
-
130
- ### Added
131
-
132
- - Edit functionality
40
+ ## 1.1.0 - 09.10.2024
41
+
42
+ ### Bugfixes
43
+
44
+ - Bug in viewer.getRoutesOutline() when using as migrated user.
45
+ - Same default EPSG-Code (4326) when using start-position for (un)-migrated users.
46
+
47
+ ### Added
48
+
49
+ - ProjectScope is available to restrict the access inside a project accordingly.
50
+ - New concept for routes abstraction in the map, using hexagons
51
+ - viewer.getRouteLines() and viewer.getRouteHexes()
52
+ - PointCloudExport
53
+ - Support of EPSG-Code in start-position
54
+
55
+ ## 1.0.3 - 17.09.2024
56
+
57
+ ### Bugfixes
58
+
59
+ - Fixed pilegate URL for migrated users.
60
+ - Using the profiletool, added an information and reset the tool when changing the image while performing a measurement.
61
+ - Fix the bug when using jest for testing.
62
+ - Added missing bounding box parameter to viewer.getRoutes().
63
+
64
+ ## 1.0.2 - 06.08.2024
65
+
66
+ ### Bugfixes
67
+
68
+ - Fixed bug in the layer tree view. The layer tree is visible again.
69
+
70
+ ## 1.0.1 - 23.07.2024
71
+
72
+ ### Bugfixes
73
+
74
+ - Fixed a bug in the campaign change event in the viewer.
75
+
76
+ ## 1.0.0 - 17.05.2024
77
+
78
+ ### Bugfixes
79
+
80
+ - Restoration of toolbar and top bar functionality: They can now be shown and hidden smoothly.
81
+
82
+ ### Added
83
+
84
+ - Introduction of machine authentication and a new corresponding example.
85
+ - Added: Option for access token in the init function.
86
+ - Added: Refresh token for the init function.
87
+ - Typings
88
+
89
+ ### Changed
90
+
91
+ - Examples have been updated to accommodate the new authentication process.
92
+
93
+ ### Deleted
94
+
95
+ - Interactive login functions.
96
+ - Removed: Two options from the init function:
97
+ - demoAccess
98
+ - redirectPath
99
+
100
+ ## 0.2.8 - 08.04.2024
101
+
102
+ ### Added
103
+
104
+ - Integrated and documented functions
105
+ - moveToPosition
106
+ - moveToCampaign
107
+ - lookAtPosition
108
+ - getRoutes
109
+
110
+ ## 0.2.7 - 04.04.2024
111
+
112
+ ### Added
113
+
114
+ - Improved documentation
115
+ - Description of the event types
116
+ - Description of further settings
117
+
118
+ ### Changed
119
+
120
+ - Adaptation to the existing examples
121
+
122
+ ## 0.2.4 - 14.03.2024
123
+
124
+ ### Bugfixes
125
+
126
+ - Troubleshooting with internal module
127
+
128
+ ## 0.2.3 - 09.02.2024
129
+
130
+ ### Added
131
+
132
+ - Demo Access Login
133
+ - Documenation
134
+
135
+ ### Changed
136
+
137
+ - Adoption of adjustments to the UI base of infra3D Edit
138
+
139
+ ### Bugfixes
140
+
141
+ - Various minor adjustments
142
+
143
+ ## 0.2.0 - 30.01.2024
144
+
145
+ ### Added
146
+
147
+ - Edit functionality
133
148
 
package/infra3dapi.d.ts CHANGED
@@ -36,33 +36,33 @@ interface NodechangedEvent extends ViewerEvent {
36
36
 
37
37
  interface CampaignschangedEvent extends ViewerEvent {
38
38
  id: number;
39
-
39
+
40
40
  project: number;
41
-
41
+
42
42
  description: string;
43
-
43
+
44
44
  type: "campaignschanged";
45
- }
45
+ }
46
46
 
47
- interface PanorotationchangedEvent extends ViewerEvent {
47
+ interface PanorotationchangedEvent extends ViewerEvent {
48
48
  fov: number;
49
-
49
+
50
50
  lat: number;
51
-
51
+
52
52
  lon: number;
53
-
53
+
54
54
  type: "panorotationchanged";
55
- }
56
-
57
- interface LookazimuthchangedEvent extends ViewerEvent {
55
+ }
56
+
57
+ interface LookazimuthchangedEvent extends ViewerEvent {
58
58
  value: number;
59
-
59
+
60
60
  type: "lookazimuthchanged";
61
- }
61
+ }
62
62
 
63
- declare class InternalViewer {}
64
- declare class GeoJSON {}
65
- declare class ApmBase {}
63
+ declare class InternalViewer { }
64
+ declare class GeoJSON { }
65
+ declare class ApmBase { }
66
66
 
67
67
  declare class Viewer extends EventEmitter implements IViewer {
68
68
  private _sdk_viewer;
@@ -114,6 +114,7 @@ declare class Manager extends EventEmitter {
114
114
  start_position?: {
115
115
  easting: number;
116
116
  northing: number;
117
+ epsg?: number;
117
118
  };
118
119
  start_campaign?: {
119
120
  id: string;