@smplrspace/smplr-loader 2.28.1-beta.5 → 2.28.1-beta.7
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/dist/generated/smplr.d.ts +12 -4
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ArcRotateCamera } from '@babylonjs/core/Cameras/arcRotateCamera';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
3
|
import { Dispatch } from 'react';
|
|
4
|
+
import { EasingOptions } from 'mapbox-gl';
|
|
4
5
|
import { IMaybe } from 'mobx-state-tree';
|
|
5
6
|
import { IModelType } from 'mobx-state-tree';
|
|
6
7
|
import { IOptionalIType } from 'mobx-state-tree';
|
|
@@ -281,6 +282,7 @@ export declare interface GeojsonSpace {
|
|
|
281
282
|
sid: string;
|
|
282
283
|
name: string;
|
|
283
284
|
definition?: object | null;
|
|
285
|
+
oldGeoreference?: object | null;
|
|
284
286
|
georeference?: object | null;
|
|
285
287
|
}
|
|
286
288
|
|
|
@@ -397,6 +399,7 @@ declare class Map_2 {
|
|
|
397
399
|
remove: () => void;
|
|
398
400
|
mapbox(): mapboxgl.Map | undefined;
|
|
399
401
|
startViewer(options: MapViewerOptions): Promise<void>;
|
|
402
|
+
setStyle(style: string): void;
|
|
400
403
|
addSpaces(spaces: GeojsonSpace[]): void;
|
|
401
404
|
addSpacesById(spaceIds: string[]): void;
|
|
402
405
|
removeSpacesById(spaceIds: string[]): void;
|
|
@@ -405,6 +408,9 @@ declare class Map_2 {
|
|
|
405
408
|
showOsmBuildings(): void;
|
|
406
409
|
hideOsmBuildings(): void;
|
|
407
410
|
toggleOsmBuildings(): void;
|
|
411
|
+
showBuildingsFootprint(): void;
|
|
412
|
+
hideBuildingsFootprint(): void;
|
|
413
|
+
toggleBuildingsFootprint(): void;
|
|
408
414
|
donotuse_setOsmHighlightColor(color: string): void;
|
|
409
415
|
donotuse_setOsmHighlights(buildingIds: number[]): void;
|
|
410
416
|
donotuse_addOsmHighlights(buildingIds: number[]): void;
|
|
@@ -417,7 +423,7 @@ declare class Map_2 {
|
|
|
417
423
|
animate?: boolean;
|
|
418
424
|
speed?: number;
|
|
419
425
|
}): void;
|
|
420
|
-
flyToSpace(spaceId: string): void;
|
|
426
|
+
flyToSpace(spaceId: string, options?: EasingOptions): void;
|
|
421
427
|
fitAllSpacesInScreen(): void;
|
|
422
428
|
updateLoadingMessage(message: string): void;
|
|
423
429
|
showLoader(): void;
|
|
@@ -696,8 +702,9 @@ export declare class QueryClient {
|
|
|
696
702
|
sid: string;
|
|
697
703
|
status: string;
|
|
698
704
|
name: string;
|
|
699
|
-
|
|
705
|
+
georeference?: {} | null | undefined;
|
|
700
706
|
assetmap?: {} | null | undefined;
|
|
707
|
+
definition?: {} | null | undefined;
|
|
701
708
|
created_at: string;
|
|
702
709
|
modified_at: string;
|
|
703
710
|
embed_image?: string | null | undefined;
|
|
@@ -707,8 +714,9 @@ export declare class QueryClient {
|
|
|
707
714
|
sid: string;
|
|
708
715
|
status: string;
|
|
709
716
|
name: string;
|
|
710
|
-
|
|
717
|
+
georeference?: {} | null | undefined;
|
|
711
718
|
assetmap?: {} | null | undefined;
|
|
719
|
+
definition?: {} | null | undefined;
|
|
712
720
|
created_at: string;
|
|
713
721
|
modified_at: string;
|
|
714
722
|
embed_image?: string | null | undefined;
|
|
@@ -1090,7 +1098,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
1090
1098
|
z: number;
|
|
1091
1099
|
}
|
|
1092
1100
|
|
|
1093
|
-
export declare const version = "2.28.1-beta.
|
|
1101
|
+
export declare const version = "2.28.1-beta.7";
|
|
1094
1102
|
|
|
1095
1103
|
declare interface ViewerRendererHandle {
|
|
1096
1104
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|