@inovitas/infra3dapi 1.5.1 → 1.6.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 +11 -0
- package/infra3dapi.d.ts +40 -8
- package/infra3dapi.js +1 -1
- package/licenses.txt +746 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,6 +37,17 @@ 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.6.0 - 2025-10-29
|
|
41
|
+
|
|
42
|
+
### Bugfixes
|
|
43
|
+
|
|
44
|
+
- When clicking twice on a feature with the info-tool, the feature info disappears
|
|
45
|
+
- When importing Shapefiles, containing an id property, the ID is no longer overwritten with an internal one
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- Authenticate interactively. You could now login with the common login mask (using username)
|
|
50
|
+
|
|
40
51
|
## 1.5.1 - 2025-10-13
|
|
41
52
|
|
|
42
53
|
### Bugfixes
|
package/infra3dapi.d.ts
CHANGED
|
@@ -361,15 +361,15 @@ declare class Viewer extends EventEmitter implements IViewer {
|
|
|
361
361
|
}
|
|
362
362
|
): Promise<GeoJSON>;
|
|
363
363
|
|
|
364
|
-
getAllCampaigns(bbox?: {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}): Promise<ICampaign[]>;
|
|
364
|
+
// getAllCampaigns(bbox?: {
|
|
365
|
+
// minEasting: number;
|
|
366
|
+
// maxEasting: number;
|
|
367
|
+
// minNorthing: number;
|
|
368
|
+
// maxNorthing: number;
|
|
369
|
+
// epsg: number;
|
|
370
|
+
// }): Promise<ICampaign[]>;
|
|
371
371
|
|
|
372
|
-
getCampaign(campagin_uid: string): Promise<ICampaign>;
|
|
372
|
+
// getCampaign(campagin_uid: string): Promise<ICampaign>;
|
|
373
373
|
|
|
374
374
|
attachToMeasurementTool(
|
|
375
375
|
toolname: "lengthMeasure" | "areaMeasure",
|
|
@@ -514,8 +514,40 @@ export declare function init(
|
|
|
514
514
|
email?: string;
|
|
515
515
|
}
|
|
516
516
|
): Promise<Manager>;
|
|
517
|
+
|
|
517
518
|
export declare function destroy(): void;
|
|
519
|
+
|
|
518
520
|
export declare function getManager(): Manager;
|
|
521
|
+
|
|
519
522
|
export declare function getGuestAccessToken(): Promise<accessTokenResponseType>;
|
|
523
|
+
|
|
524
|
+
declare type tokenTypeWithProvider = {
|
|
525
|
+
domain: string;
|
|
526
|
+
clientId: string;
|
|
527
|
+
access_token: string;
|
|
528
|
+
expires_in: number;
|
|
529
|
+
id_token?: string;
|
|
530
|
+
refresh_token: string;
|
|
531
|
+
token_type: string;
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
export declare function getAccessTokenFromInteractiveLogin(
|
|
535
|
+
rootId: string,
|
|
536
|
+
tenant?: string
|
|
537
|
+
): Promise<tokenTypeWithProvider>;
|
|
538
|
+
|
|
539
|
+
declare type refreshTokenType = {
|
|
540
|
+
access_token: string;
|
|
541
|
+
expires_in: number;
|
|
542
|
+
id_token: string;
|
|
543
|
+
token_type: string;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
export declare function getAccessTokenFromRefresh(
|
|
547
|
+
url: string,
|
|
548
|
+
clientId: string,
|
|
549
|
+
refreshToken: string
|
|
550
|
+
): Promise<refreshTokenType>;
|
|
551
|
+
|
|
520
552
|
export declare function refreshToken(token: string): void;
|
|
521
553
|
|