@twinmatrix/spatialverse-sdk-web 0.1.0 → 3.1.1
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 +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts +69 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts +77 -0
- package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → legacy/CustomThreeJsWrapper}/CustomThreeJsWrapper.d.ts +26 -3
- package/lib/types/meta-atlas-sdk/3DMap/legacy/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts +322 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts +121 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts +10 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts +314 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts +17 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts +71 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts +3 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts +65 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts +25 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts +32 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts +7 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts +18 -0
- package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts +80 -0
- package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts +92 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraSync.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/suncalc.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/utils.d.ts +1 -1
- package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts +130 -0
- package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts +35 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts +12 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts +2 -0
- package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts +14 -0
- package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts +57 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts +45 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts +72 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/{focustree.d.ts → focus-core/focustree.d.ts} +376 -131
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focustree.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts +661 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +37 -407
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts → MetaAtlasCore/shared-layers/customerLayer.d.ts} +530 -536
- package/lib/types/meta-atlas-sdk/{customerLayer.d.ts.map → MetaAtlasCore/shared-layers/customerLayer.d.ts.map} +1 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts +108 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +52 -413
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -1
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +5 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -1
- package/lib/types/react/MetaAtlasMap.d.ts.map +1 -1
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts +3 -0
- package/lib/types/react/hooks/useCustomMapObject/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts +30 -0
- package/lib/types/react/hooks/useCustomMapObject/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useFocus/types.d.ts +11 -0
- package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -1
- package/lib/types/react/hooks/useMapOverlays/types.d.ts +16 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -1
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -1
- package/lib/types/react/index.d.ts +3 -0
- package/lib/types/react/index.d.ts.map +1 -1
- package/lib/types/react/stores/useMapDataStore.d.ts +2 -0
- package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -1
- package/lib/types/react/stores/useMetaAtlasStore.d.ts +2 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -1
- package/lib/types/react/types/index.d.ts +8 -0
- package/lib/types/react/types/index.d.ts.map +1 -1
- package/package.json +18 -9
- package/lib/cjs/index.js +0 -642
- package/lib/cjs/react/index.js +0 -642
- package/lib/esm/index.js +0 -642
- package/lib/esm/react/index.js +0 -642
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +0 -28
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +0 -1
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +0 -5156
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +0 -1
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraSync.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraUtils.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/constants.d.ts +0 -0
- /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/suncalc.d.ts +0 -0
|
@@ -4,8 +4,9 @@ import 'maplibre-gl/dist/maplibre-gl.css';
|
|
|
4
4
|
import { Units } from '@turf/helpers';
|
|
5
5
|
import { Position } from 'geojson';
|
|
6
6
|
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
|
7
|
-
import { MetaAtlasCore, clickedMetaFeature } from './MetaAtlasCore/meta-atlas-sdk-core';
|
|
8
|
-
import
|
|
7
|
+
import { MetaAtlasCore, metaFeature, clickedMetaFeature, CustomMapObject } from './MetaAtlasCore/meta-atlas-sdk-core';
|
|
8
|
+
import { CustomMapObjectsManager } from './MetaAtlasCore/custom-map-objects-manager';
|
|
9
|
+
import { MetaAtlasSDK3D } from './3DMap/meta-atlas-sdk-3D';
|
|
9
10
|
import { FirebaseApp } from 'firebase/app';
|
|
10
11
|
import { Analytics } from "firebase/analytics";
|
|
11
12
|
import { StatusUpdateCallbackType } from './MetaAtlasCore/fetch-published-json';
|
|
@@ -32,6 +33,8 @@ export declare class MetaAtlasSdk {
|
|
|
32
33
|
secretKey: string;
|
|
33
34
|
onLoadCallback: () => void;
|
|
34
35
|
onLoadFailCallback: (errorMessage: string) => void;
|
|
36
|
+
onCoreLoadCallback: () => void;
|
|
37
|
+
onRenderReadyCallback: () => void;
|
|
35
38
|
map: maplibregl.Map;
|
|
36
39
|
mapBoxDraw: MapboxDraw;
|
|
37
40
|
maplibregl: any;
|
|
@@ -45,14 +48,19 @@ export declare class MetaAtlasSdk {
|
|
|
45
48
|
defaultFocusedTaxonomy: string;
|
|
46
49
|
currentFocus: string;
|
|
47
50
|
lastClickedDrawing: any;
|
|
48
|
-
map3D:
|
|
51
|
+
map3D: MetaAtlasSDK3D | null;
|
|
49
52
|
firebaseApp: FirebaseApp;
|
|
50
53
|
analytics: Analytics;
|
|
51
54
|
metaAtlasCore: MetaAtlasCore;
|
|
52
55
|
apiAuthenticationCallbackReceived: boolean;
|
|
53
56
|
routingVisualizer: RoutingVisualizer;
|
|
57
|
+
customMapObjectsManager: CustomMapObjectsManager;
|
|
54
58
|
roleName: string;
|
|
55
59
|
verNum: string;
|
|
60
|
+
private clickSubscribers;
|
|
61
|
+
private loadSubscribers;
|
|
62
|
+
private moveEndSubscribers;
|
|
63
|
+
private clickOnceSubscribers;
|
|
56
64
|
tileServer: string;
|
|
57
65
|
HOST: string;
|
|
58
66
|
empApiURL: string;
|
|
@@ -66,417 +74,35 @@ export declare class MetaAtlasSdk {
|
|
|
66
74
|
setupFirebase(): void;
|
|
67
75
|
logAnalyticsEvent(eventName: string, properties?: any): void;
|
|
68
76
|
onLoad(): void;
|
|
77
|
+
/**
|
|
78
|
+
* Add an image to the underlying MapLibre style.
|
|
79
|
+
* This is a thin wrapper around map.addImage.
|
|
80
|
+
* The caller is responsible for loading the image (e.g. via map.loadImage or HTMLImageElement).
|
|
81
|
+
*/
|
|
82
|
+
addImage(name: string, image: any, options?: any): void;
|
|
83
|
+
/**
|
|
84
|
+
* Load an image using the underlying MapLibre map and resolve it as a Promise.
|
|
85
|
+
* This is a thin wrapper around map.loadImage.
|
|
86
|
+
*/
|
|
87
|
+
loadImage(url: string): Promise<any>;
|
|
69
88
|
onLoadFail(message: string): void;
|
|
70
89
|
initMetaAtlasCore(onRoutingStatusUpdate: StatusUpdateCallbackType, onSearchStatusUpdate: StatusUpdateCallbackType): void;
|
|
71
|
-
constructor(accessToken: string, secretKey: string, onLoad?: () => void, onLoadFail?: (errorMessage: string) => void, onRoutingStatusUpdate?: StatusUpdateCallbackType, onSearchStatusUpdate?: StatusUpdateCallbackType);
|
|
72
|
-
setupMap(role: string, mapDivOrMap: string | maplibregl.Map
|
|
90
|
+
constructor(accessToken: string, secretKey: string, onLoad?: () => void, onLoadFail?: (errorMessage: string) => void, onRoutingStatusUpdate?: StatusUpdateCallbackType, onSearchStatusUpdate?: StatusUpdateCallbackType, onCoreLoad?: () => void, onRenderReady?: () => void);
|
|
91
|
+
setupMap(role: string, mapDivOrMap: string | maplibregl.Map, initialViewState?: {
|
|
92
|
+
longitude?: number;
|
|
93
|
+
latitude?: number;
|
|
94
|
+
zoom?: number;
|
|
95
|
+
bearing?: number;
|
|
96
|
+
pitch?: number;
|
|
97
|
+
}): void;
|
|
73
98
|
setupMapBoxDraw(): void;
|
|
74
|
-
addCustomerLayer: (map: any, jsonToPass: any, onLoaded: Function) => void;
|
|
75
99
|
overRideSelectionOfDrawnPointGeometry(feature: maplibregl.Feature): void;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
readonly center: readonly [103.825527, 1.294554];
|
|
83
|
-
readonly zoom: 13.5;
|
|
84
|
-
readonly bearing: 0.1;
|
|
85
|
-
readonly pitch: 46;
|
|
86
|
-
};
|
|
87
|
-
readonly web: {
|
|
88
|
-
readonly center: readonly [103.825527, 1.294554];
|
|
89
|
-
readonly zoom: 13.5;
|
|
90
|
-
readonly bearing: 0.1;
|
|
91
|
-
readonly pitch: 46;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
readonly MBS: {
|
|
96
|
-
readonly name: "Marina Bay Sands Singapore";
|
|
97
|
-
readonly taxonomyPath: "where.innotech.mbss";
|
|
98
|
-
readonly cameraConfigs: {
|
|
99
|
-
readonly mobile: {
|
|
100
|
-
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
101
|
-
readonly zoom: 19;
|
|
102
|
-
readonly bearing: -57;
|
|
103
|
-
readonly pitch: 46;
|
|
104
|
-
};
|
|
105
|
-
readonly web: {
|
|
106
|
-
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
107
|
-
readonly zoom: 19;
|
|
108
|
-
readonly bearing: -57;
|
|
109
|
-
readonly pitch: 46;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
readonly buildings: readonly [{
|
|
113
|
-
readonly name: "Sands Expo And Convention Center";
|
|
114
|
-
readonly taxonomyPath: "where.innotech.mbss.secc";
|
|
115
|
-
readonly defaultFloorPath: "where.innotech.mbss.secc.floor_4";
|
|
116
|
-
readonly cameraConfigs: {
|
|
117
|
-
readonly mobile: {
|
|
118
|
-
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
119
|
-
readonly zoom: 19;
|
|
120
|
-
readonly bearing: -57;
|
|
121
|
-
readonly pitch: 46;
|
|
122
|
-
};
|
|
123
|
-
readonly web: {
|
|
124
|
-
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
125
|
-
readonly zoom: 19;
|
|
126
|
-
readonly bearing: -57;
|
|
127
|
-
readonly pitch: 46;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
readonly bounds: readonly [readonly [readonly [103.85859581714203, 1.2844735642963911], readonly [103.8570358797869, 1.281924416525456], readonly [103.85846122981656, 1.2809666283285566], readonly [103.86007017323448, 1.283585000187756], readonly [103.85859581714203, 1.2844735642963911]]];
|
|
131
|
-
readonly floors: readonly [{
|
|
132
|
-
readonly id: "floor_4";
|
|
133
|
-
readonly name: "Level 4";
|
|
134
|
-
readonly taxonomyPath: "where.innotech.mbss.secc.floor_4";
|
|
135
|
-
readonly levelIndex: 3;
|
|
136
|
-
readonly groundStackHeight: 21;
|
|
137
|
-
readonly zoomLevel: 19.3;
|
|
138
|
-
}];
|
|
139
|
-
}];
|
|
140
|
-
};
|
|
141
|
-
readonly "National Stadium": {
|
|
142
|
-
readonly name: "National Stadium";
|
|
143
|
-
readonly taxonomyPath: "where.innotech.national_stadium";
|
|
144
|
-
readonly cameraConfigs: {
|
|
145
|
-
readonly mobile: {
|
|
146
|
-
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
147
|
-
readonly zoom: 17.912909915488857;
|
|
148
|
-
readonly bearing: -142.99999999999952;
|
|
149
|
-
readonly pitch: 46;
|
|
150
|
-
};
|
|
151
|
-
readonly web: {
|
|
152
|
-
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
153
|
-
readonly zoom: 17.912909915488857;
|
|
154
|
-
readonly bearing: -142.99999999999952;
|
|
155
|
-
readonly pitch: 46;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
readonly buildings: readonly [{
|
|
159
|
-
readonly name: "National Stadium";
|
|
160
|
-
readonly taxonomyPath: "where.innotech.national_stadium.building";
|
|
161
|
-
readonly defaultFloorPath: "where.innotech.national_stadium.building.ground";
|
|
162
|
-
readonly cameraConfigs: {
|
|
163
|
-
readonly mobile: {
|
|
164
|
-
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
165
|
-
readonly zoom: 17.912909915488857;
|
|
166
|
-
readonly bearing: -142.99999999999952;
|
|
167
|
-
readonly pitch: 46;
|
|
168
|
-
};
|
|
169
|
-
readonly web: {
|
|
170
|
-
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
171
|
-
readonly zoom: 17.912909915488857;
|
|
172
|
-
readonly bearing: -142.99999999999952;
|
|
173
|
-
readonly pitch: 46;
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
readonly bounds: readonly [readonly [readonly [103.87434134373848, 1.306789290159284], readonly [103.8741111984366, 1.3067779867756477], readonly [103.87388326956594, 1.3067441854828055], readonly [103.87365975221206, 1.3066882118065837], readonly [103.87344279897471, 1.3066106048055424], readonly [103.87323449923696, 1.3065121118794898], readonly [103.87303685904308, 1.3063936815715387], readonly [103.87285178177908, 1.3062564544330242], readonly [103.872681049842, 1.306101752039268], readonly [103.87252630747429, 1.3059310642619693], readonly [103.87238904492897, 1.3057460349208097], readonly [103.87227058411756, 1.30554844595245], readonly [103.8721720658795, 1.305340200249396], readonly [103.87209443899536, 1.3051233033339937], readonly [103.87203845104972, 1.3048998440440658], readonly [103.8720046412316, 1.3046719744161843], readonly [103.87199333514212, 1.3044418889603253], readonly [103.87200464165892, 1.304211803525506], readonly [103.87203845188799, 1.3039839339599337], readonly [103.87209444021234, 1.3037604747711913], readonly [103.87217206742841, 1.303543577991962], readonly [103.87227058593888, 1.303335332454834], readonly [103.8723890469527, 1.303137743675779], readonly [103.87252630962269, 1.3029527145400264], readonly [103.87268105203248, 1.302782026976344], readonly [103.87285178392749, 1.3026273247962041], readonly [103.87303686106684, 1.3024900978630969], readonly [103.8732345010583, 1.3023716677444503], readonly [103.87344280052362, 1.3022731749843244], readonly [103.87365975342901, 1.3021955681194555], readonly [103.87388327040419, 1.3021395945444192], readonly [103.87411119886393, 1.3021057933138864], readonly [103.87434134373848, 1.3020944899512892], readonly [103.87457148861301, 1.3021057933138864], readonly [103.87479941707277, 1.3021395945444192], readonly [103.87502293404793, 1.3021955681194555], readonly [103.87523988695334, 1.3022731749843244], readonly [103.87544818641867, 1.3023716677444503], readonly [103.8756458264101, 1.3024900978630969], readonly [103.87583090354947, 1.3026273247962041], readonly [103.87600163544448, 1.302782026976344], readonly [103.87615637785426, 1.3029527145400264], readonly [103.87629364052425, 1.303137743675779], readonly [103.87641210153808, 1.303335332454834], readonly [103.87651062004853, 1.303543577991962], readonly [103.8765882472646, 1.3037604747711913], readonly [103.87664423558897, 1.3039839339599337], readonly [103.87667804581802, 1.304211803525506], readonly [103.87668935233484, 1.3044418889603253], readonly [103.87667804624537, 1.3046719744161843], readonly [103.87664423642724, 1.3048998440440658], readonly [103.87658824848158, 1.3051233033339937], readonly [103.87651062159746, 1.305340200249396], readonly [103.8764121033594, 1.30554844595245], readonly [103.87629364254799, 1.3057460349208097], readonly [103.87615638000267, 1.3059310642619693], readonly [103.87600163763496, 1.306101752039268], readonly [103.87583090569788, 1.3062564544330242], readonly [103.87564582843387, 1.3063936815715387], readonly [103.87544818824, 1.3065121118794898], readonly [103.87523988850225, 1.3066106048055424], readonly [103.8750229352649, 1.3066882118065837], readonly [103.87479941791102, 1.3067441854828055], readonly [103.87457148904036, 1.3067779867756477], readonly [103.87434134373848, 1.306789290159284]]];
|
|
177
|
-
readonly floors: readonly [{
|
|
178
|
-
readonly name: "Ground";
|
|
179
|
-
readonly taxonomyPath: "where.innotech.national_stadium.building.ground";
|
|
180
|
-
}];
|
|
181
|
-
}];
|
|
182
|
-
};
|
|
183
|
-
readonly Campus: {
|
|
184
|
-
readonly name: "Campus";
|
|
185
|
-
readonly taxonomyPath: "where.innotech.campus";
|
|
186
|
-
readonly cameraConfigs: {
|
|
187
|
-
readonly mobile: {
|
|
188
|
-
readonly center: readonly [103.77671029357063, 1.2977084296881416];
|
|
189
|
-
readonly zoom: 17.912909915488857;
|
|
190
|
-
readonly bearing: -160;
|
|
191
|
-
readonly pitch: 46;
|
|
192
|
-
};
|
|
193
|
-
readonly web: {
|
|
194
|
-
readonly center: readonly [103.77671029357063, 1.2977084296881416];
|
|
195
|
-
readonly zoom: 17.912909915488857;
|
|
196
|
-
readonly bearing: -160;
|
|
197
|
-
readonly pitch: 46;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
readonly buildings: readonly [{
|
|
201
|
-
readonly name: "Campus";
|
|
202
|
-
readonly taxonomyPath: "where.innotech.campus.building";
|
|
203
|
-
readonly defaultFloorPath: "where.innotech.campus.building.floor";
|
|
204
|
-
readonly cameraConfigs: {
|
|
205
|
-
readonly mobile: {
|
|
206
|
-
readonly center: readonly [103.77735057222827, 1.2973241399841977];
|
|
207
|
-
readonly zoom: 17.912909915488857;
|
|
208
|
-
readonly bearing: -160;
|
|
209
|
-
readonly pitch: 46;
|
|
210
|
-
};
|
|
211
|
-
readonly web: {
|
|
212
|
-
readonly center: readonly [103.77735057222827, 1.2973241399841977];
|
|
213
|
-
readonly zoom: 17.912909915488857;
|
|
214
|
-
readonly bearing: -160;
|
|
215
|
-
readonly pitch: 46;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
readonly bounds: readonly [readonly [readonly [103.77826492745807, 1.2964226276488022], readonly [103.77621696852229, 1.2975176909970332], readonly [103.77660563982079, 1.2982785693215733], readonly [103.77836112271805, 1.297291982969634], readonly [103.77826492745807, 1.2964226276488022]]];
|
|
219
|
-
readonly floors: readonly [{
|
|
220
|
-
readonly name: "Campus";
|
|
221
|
-
readonly taxonomyPath: "where.innotech.campus.building.floor";
|
|
222
|
-
}, {
|
|
223
|
-
readonly name: "Hospital";
|
|
224
|
-
readonly taxonomyPath: "where.innotech.campus.building.floor_2";
|
|
225
|
-
}];
|
|
226
|
-
}];
|
|
227
|
-
};
|
|
228
|
-
readonly Changi: {
|
|
229
|
-
readonly name: "Changi";
|
|
230
|
-
readonly isAirport: true;
|
|
231
|
-
readonly taxonomyPath: "where.changi";
|
|
232
|
-
readonly cameraConfigs: {
|
|
233
|
-
readonly mobile: {
|
|
234
|
-
readonly center: readonly [103.98562, 1.351615];
|
|
235
|
-
readonly zoom: 13.95;
|
|
236
|
-
readonly bearing: 22.5;
|
|
237
|
-
};
|
|
238
|
-
readonly web: {
|
|
239
|
-
readonly center: readonly [103.985201, 1.350226];
|
|
240
|
-
readonly zoom: 15.42;
|
|
241
|
-
readonly bearing: -67.2;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
readonly buildings: readonly [{
|
|
245
|
-
readonly name: "T1";
|
|
246
|
-
readonly taxonomyPath: "where.changi.terminals.t1";
|
|
247
|
-
readonly cameraConfigs: {
|
|
248
|
-
readonly mobile: {
|
|
249
|
-
readonly center: readonly [103.9905346, 1.3618405];
|
|
250
|
-
readonly zoom: 18.43;
|
|
251
|
-
readonly bearing: 23.2;
|
|
252
|
-
};
|
|
253
|
-
readonly web: {
|
|
254
|
-
readonly center: readonly [103.9905346, 1.3618405];
|
|
255
|
-
readonly zoom: 18.43;
|
|
256
|
-
readonly bearing: 23.2;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
readonly defaultFloorPath: "where.changi.terminals.t1.l1";
|
|
260
|
-
readonly bounds: readonly [readonly [readonly [103.98961992369539, 1.3670421359525875], readonly [103.98842900939542, 1.362079916164717], readonly [103.98906925735787, 1.3609528132339506], readonly [103.99067926179725, 1.3602175963884946], readonly [103.99204645334589, 1.360527735150555], readonly [103.99472978189493, 1.3648681124808348], readonly [103.98961992369539, 1.3670421359525875]]];
|
|
261
|
-
readonly floors: readonly [{
|
|
262
|
-
readonly name: "B2";
|
|
263
|
-
readonly taxonomyPath: "where.changi.terminals.t1.b2";
|
|
264
|
-
}, {
|
|
265
|
-
readonly name: "B1";
|
|
266
|
-
readonly taxonomyPath: "where.changi.terminals.t1.b1";
|
|
267
|
-
readonly bounds: readonly [readonly [readonly [103.98918843926157, 1.3612426524543935], readonly [103.98924614540368, 1.3605054815768511], readonly [103.99025871248523, 1.3600597614751564], readonly [103.99087416981104, 1.3605241384348687], readonly [103.98918843926157, 1.3612426524543935]]];
|
|
268
|
-
}, {
|
|
269
|
-
readonly name: "B1M";
|
|
270
|
-
readonly taxonomyPath: "where.changi.terminals.t1.b1m";
|
|
271
|
-
readonly bounds: readonly [readonly [readonly [103.98988836719957, 1.3615353273637965], readonly [103.98943398349144, 1.3604589724938592], readonly [103.9901013583156, 1.360173120218974], readonly [103.99055815584893, 1.3612466632272486], readonly [103.98988836719957, 1.3615353273637965]]];
|
|
272
|
-
}, {
|
|
273
|
-
readonly name: "L1";
|
|
274
|
-
readonly taxonomyPath: "where.changi.terminals.t1.l1";
|
|
275
|
-
}, {
|
|
276
|
-
readonly name: "L2";
|
|
277
|
-
readonly taxonomyPath: "where.changi.terminals.t1.l2";
|
|
278
|
-
}, {
|
|
279
|
-
readonly name: "L3";
|
|
280
|
-
readonly taxonomyPath: "where.changi.terminals.t1.l3";
|
|
281
|
-
}];
|
|
282
|
-
}, {
|
|
283
|
-
readonly name: "T2";
|
|
284
|
-
readonly taxonomyPath: "where.changi.terminals.t2";
|
|
285
|
-
readonly cameraConfigs: {
|
|
286
|
-
readonly mobile: {
|
|
287
|
-
readonly center: readonly [103.988933, 1.354811];
|
|
288
|
-
readonly zoom: 18.16;
|
|
289
|
-
};
|
|
290
|
-
readonly web: {
|
|
291
|
-
readonly center: readonly [103.988933, 1.354811];
|
|
292
|
-
readonly zoom: 18.16;
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
readonly defaultFloorPath: "where.changi.terminals.t2.l1";
|
|
296
|
-
readonly bounds: readonly [readonly [readonly [103.98843372402342, 1.3535180665347042], readonly [103.9875780973623, 1.35154426089737], readonly [103.9873244322336, 1.3516476370442092], readonly [103.98701233213114, 1.352584830139051], readonly [103.98947659904684, 1.3584444924566554], readonly [103.99081002652872, 1.3588581876674084], readonly [103.9916222701022, 1.3607101151843324], readonly [103.99210211513525, 1.360495049302699], readonly [103.99418373546513, 1.3569575913172969], readonly [103.99134351842446, 1.3503305150212839], readonly [103.98706147270155, 1.3487629738430797], readonly [103.98632777875605, 1.3490444758358109], readonly [103.98658958391678, 1.349651157012687], readonly [103.98739006614227, 1.3505615515273774], readonly [103.9886193620244, 1.3534433958332102], readonly [103.98843372402342, 1.3535180665347042]]];
|
|
297
|
-
readonly floors: readonly [{
|
|
298
|
-
readonly name: "B1";
|
|
299
|
-
readonly taxonomyPath: "where.changi.terminals.t2.b1";
|
|
300
|
-
}, {
|
|
301
|
-
readonly name: "L1";
|
|
302
|
-
readonly taxonomyPath: "where.changi.terminals.t2.l1";
|
|
303
|
-
}, {
|
|
304
|
-
readonly name: "L2";
|
|
305
|
-
readonly taxonomyPath: "where.changi.terminals.t2.l2";
|
|
306
|
-
}, {
|
|
307
|
-
readonly name: "L3";
|
|
308
|
-
readonly taxonomyPath: "where.changi.terminals.t2.l3";
|
|
309
|
-
}];
|
|
310
|
-
}, {
|
|
311
|
-
readonly name: "T3";
|
|
312
|
-
readonly taxonomyPath: "where.changi.terminals.t3";
|
|
313
|
-
readonly cameraConfigs: {
|
|
314
|
-
readonly mobile: {
|
|
315
|
-
readonly center: readonly [103.986463, 1.356268];
|
|
316
|
-
readonly zoom: 18.16;
|
|
317
|
-
};
|
|
318
|
-
readonly web: {
|
|
319
|
-
readonly center: readonly [103.986463, 1.356268];
|
|
320
|
-
readonly zoom: 18.16;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
323
|
-
readonly defaultFloorPath: "where.changi.terminals.t3.l1";
|
|
324
|
-
readonly bounds: readonly [readonly [readonly [103.98185918568726, 1.3492439098261002], readonly [103.98587342344706, 1.3587686767671698], readonly [103.98852142770454, 1.3624410125698887], readonly [103.98886497298838, 1.3622873667304702], readonly [103.98795253266195, 1.3599629435060194], readonly [103.98921756630114, 1.3587358070209063], readonly [103.98656724489638, 1.3526533153424367], readonly [103.98290890163503, 1.3487842250299167], readonly [103.98185918568726, 1.3492439098261002]]];
|
|
325
|
-
readonly floors: readonly [{
|
|
326
|
-
readonly name: "B3";
|
|
327
|
-
readonly taxonomyPath: "where.changi.terminals.t3.b3";
|
|
328
|
-
}, {
|
|
329
|
-
readonly name: "B2";
|
|
330
|
-
readonly taxonomyPath: "where.changi.terminals.t3.b2";
|
|
331
|
-
}, {
|
|
332
|
-
readonly name: "B1";
|
|
333
|
-
readonly taxonomyPath: "where.changi.terminals.t3.b1";
|
|
334
|
-
}, {
|
|
335
|
-
readonly name: "L1";
|
|
336
|
-
readonly taxonomyPath: "where.changi.terminals.t3.l1";
|
|
337
|
-
}, {
|
|
338
|
-
readonly name: "L2";
|
|
339
|
-
readonly taxonomyPath: "where.changi.terminals.t3.l2";
|
|
340
|
-
}, {
|
|
341
|
-
readonly name: "L3";
|
|
342
|
-
readonly taxonomyPath: "where.changi.terminals.t3.l3";
|
|
343
|
-
}, {
|
|
344
|
-
readonly name: "L4";
|
|
345
|
-
readonly taxonomyPath: "where.changi.terminals.t3.l4";
|
|
346
|
-
}];
|
|
347
|
-
}, {
|
|
348
|
-
readonly name: "T4";
|
|
349
|
-
readonly taxonomyPath: "where.changi.terminals.t4";
|
|
350
|
-
readonly cameraConfigs: {
|
|
351
|
-
readonly mobile: {
|
|
352
|
-
readonly center: readonly [103.983654, 1.338401];
|
|
353
|
-
readonly zoom: 18.22;
|
|
354
|
-
};
|
|
355
|
-
readonly web: {
|
|
356
|
-
readonly center: readonly [103.983654, 1.338401];
|
|
357
|
-
readonly zoom: 18.22;
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
readonly defaultFloorPath: "where.changi.terminals.t4.l1";
|
|
361
|
-
readonly bounds: readonly [readonly [readonly [103.98159697986523, 1.3391127207761997], readonly [103.98164155038592, 1.3357191495382494], readonly [103.98340530920888, 1.3350026590817379], readonly [103.98629594828645, 1.3418479334193592], readonly [103.98486678856739, 1.3424485320278023], readonly [103.98319023831016, 1.3396670019029528], readonly [103.98204480882845, 1.3401483644638859], readonly [103.98159697986523, 1.3391127207761997]]];
|
|
362
|
-
readonly floors: readonly [{
|
|
363
|
-
readonly name: "B1";
|
|
364
|
-
readonly taxonomyPath: "where.changi.terminals.t4.b1";
|
|
365
|
-
}, {
|
|
366
|
-
readonly name: "L1";
|
|
367
|
-
readonly taxonomyPath: "where.changi.terminals.t4.l1";
|
|
368
|
-
}, {
|
|
369
|
-
readonly name: "L1M";
|
|
370
|
-
readonly taxonomyPath: "where.changi.terminals.t4.l1m";
|
|
371
|
-
}, {
|
|
372
|
-
readonly name: "L2";
|
|
373
|
-
readonly taxonomyPath: "where.changi.terminals.t4.l2";
|
|
374
|
-
}, {
|
|
375
|
-
readonly name: "L2M";
|
|
376
|
-
readonly taxonomyPath: "where.changi.terminals.t4.l2m";
|
|
377
|
-
}];
|
|
378
|
-
}, {
|
|
379
|
-
readonly name: "Jewel";
|
|
380
|
-
readonly taxonomyPath: "where.changi.terminals.jewel";
|
|
381
|
-
readonly cameraConfigs: {
|
|
382
|
-
readonly mobile: {
|
|
383
|
-
readonly center: readonly [103.989892, 1.360604];
|
|
384
|
-
readonly zoom: 18.11;
|
|
385
|
-
};
|
|
386
|
-
readonly web: {
|
|
387
|
-
readonly center: readonly [103.989892, 1.360604];
|
|
388
|
-
readonly zoom: 18.11;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
|
-
readonly defaultFloorPath: "where.changi.terminals.jewel.l1";
|
|
392
|
-
readonly bounds: readonly [readonly [readonly [103.98848114348914, 1.3599722568208108], readonly [103.98909658473747, 1.3613985760035376], readonly [103.99099962143055, 1.360577907610363], readonly [103.99038991760119, 1.3591465604439747], readonly [103.98848114348914, 1.3599722568208108]]];
|
|
393
|
-
readonly floors: readonly [{
|
|
394
|
-
readonly name: "B5";
|
|
395
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b5";
|
|
396
|
-
}, {
|
|
397
|
-
readonly name: "B4";
|
|
398
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b4";
|
|
399
|
-
}, {
|
|
400
|
-
readonly name: "B3";
|
|
401
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b3";
|
|
402
|
-
}, {
|
|
403
|
-
readonly name: "B2";
|
|
404
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b2";
|
|
405
|
-
}, {
|
|
406
|
-
readonly name: "B2M";
|
|
407
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b2m";
|
|
408
|
-
}, {
|
|
409
|
-
readonly name: "B1";
|
|
410
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b1";
|
|
411
|
-
}, {
|
|
412
|
-
readonly name: "B1M";
|
|
413
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.b1m";
|
|
414
|
-
}, {
|
|
415
|
-
readonly name: "L1";
|
|
416
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.l1";
|
|
417
|
-
}, {
|
|
418
|
-
readonly name: "L2";
|
|
419
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.l2";
|
|
420
|
-
}, {
|
|
421
|
-
readonly name: "L3";
|
|
422
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.l3";
|
|
423
|
-
}, {
|
|
424
|
-
readonly name: "L4";
|
|
425
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.l4";
|
|
426
|
-
}, {
|
|
427
|
-
readonly name: "L5";
|
|
428
|
-
readonly taxonomyPath: "where.changi.terminals.jewel.l5d";
|
|
429
|
-
}];
|
|
430
|
-
}];
|
|
431
|
-
};
|
|
432
|
-
readonly "STE Office": {
|
|
433
|
-
readonly name: "STE";
|
|
434
|
-
readonly taxonomyPath: "where.ste";
|
|
435
|
-
readonly cameraConfigs: {
|
|
436
|
-
readonly mobile: {
|
|
437
|
-
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
438
|
-
readonly zoom: 17.912909915488857;
|
|
439
|
-
readonly bearing: -15;
|
|
440
|
-
readonly pitch: 46;
|
|
441
|
-
};
|
|
442
|
-
readonly web: {
|
|
443
|
-
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
444
|
-
readonly zoom: 17.912909915488857;
|
|
445
|
-
readonly bearing: -15;
|
|
446
|
-
readonly pitch: 46;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
readonly buildings: readonly [{
|
|
450
|
-
readonly name: "STE Office";
|
|
451
|
-
readonly taxonomyPath: "where.ste.digihub";
|
|
452
|
-
readonly defaultFloorPath: "where.ste.digihub.l1";
|
|
453
|
-
readonly cameraConfigs: {
|
|
454
|
-
readonly mobile: {
|
|
455
|
-
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
456
|
-
readonly zoom: 17.912909915488857;
|
|
457
|
-
readonly bearing: -15;
|
|
458
|
-
readonly pitch: 46;
|
|
459
|
-
};
|
|
460
|
-
readonly web: {
|
|
461
|
-
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
462
|
-
readonly zoom: 17.912909915488857;
|
|
463
|
-
readonly bearing: -15;
|
|
464
|
-
readonly pitch: 46;
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
readonly bounds: readonly [readonly [readonly [103.84566280788353, 1.3896228198885348], readonly [103.84684566196856, 1.3898748733664488], readonly [103.84698513682665, 1.3891937926302356], readonly [103.8459337109733, 1.3889122434496304], readonly [103.84566280788353, 1.3896228198885348]]];
|
|
468
|
-
readonly floors: readonly [{
|
|
469
|
-
readonly name: "Level 1";
|
|
470
|
-
readonly taxonomyPath: "where.ste.digihub.l1";
|
|
471
|
-
readonly bounds: readonly [readonly [readonly [103.84566280788353, 1.3896228198885348], readonly [103.84684566196856, 1.3898748733664488], readonly [103.84698513682665, 1.3891937926302356], readonly [103.8459337109733, 1.3889122434496304], readonly [103.84566280788353, 1.3896228198885348]]];
|
|
472
|
-
}, {
|
|
473
|
-
readonly name: "Level 3";
|
|
474
|
-
readonly taxonomyPath: "where.ste.digihub.l3";
|
|
475
|
-
readonly bounds: readonly [readonly [readonly [103.84566280788353, 1.3896228198885348], readonly [103.84684566196856, 1.3898748733664488], readonly [103.84698513682665, 1.3891937926302356], readonly [103.8459337109733, 1.3889122434496304], readonly [103.84566280788353, 1.3896228198885348]]];
|
|
476
|
-
}];
|
|
477
|
-
}];
|
|
478
|
-
};
|
|
479
|
-
};
|
|
100
|
+
/**
|
|
101
|
+
* Process 2D map click - handles all clicked features (drawn, base map, user layers)
|
|
102
|
+
* This method is called either immediately (2D mode) or deferred (3D mode)
|
|
103
|
+
*/
|
|
104
|
+
private process2DClick;
|
|
105
|
+
getFocusTree(): import("./MetaAtlasCore/focus-core").FocusTree;
|
|
480
106
|
setDrawing(id?: any, where?: any, geom?: any, props?: any): {
|
|
481
107
|
id: any;
|
|
482
108
|
where: any;
|
|
@@ -498,10 +124,11 @@ export declare class MetaAtlasSdk {
|
|
|
498
124
|
clearPins(): void;
|
|
499
125
|
removePin(): void;
|
|
500
126
|
getCurrentFocus(): string;
|
|
501
|
-
getCurrentFocusBuilding():
|
|
502
|
-
getCurrentFocusFloor():
|
|
127
|
+
getCurrentFocusBuilding(): import("./MetaAtlasCore/focus-core").Building;
|
|
128
|
+
getCurrentFocusFloor(): import("./MetaAtlasCore/focus-core").Floor;
|
|
503
129
|
addUserLayer(layer: any): void;
|
|
504
130
|
filterWhereDimension(dimensionWhere: string): void;
|
|
131
|
+
filterWhatTaxonomy(whatTaxonomyPath: string[]): void;
|
|
505
132
|
focusTo(whereTaxonomyPath: string, moveCamera?: boolean): void;
|
|
506
133
|
filterLayersByCategories(filterType: FilterType, filterValues: string[], geomType: string, dimensionWhat: string): void;
|
|
507
134
|
filterLayersByType(filterType: FilterType, filterValues: string[], geomType?: string): void;
|
|
@@ -542,7 +169,19 @@ export declare class MetaAtlasSdk {
|
|
|
542
169
|
/**
|
|
543
170
|
* Get the 3D map instance for 3D model operations
|
|
544
171
|
*/
|
|
545
|
-
getMap3D():
|
|
172
|
+
getMap3D(): MetaAtlasSDK3D;
|
|
173
|
+
private notifyClickSubscribers;
|
|
174
|
+
private notifyLoadSubscribers;
|
|
175
|
+
private notifyMoveEndSubscribers;
|
|
176
|
+
subscribeToClick(callback: (feature: clickedMetaFeature) => void): () => void;
|
|
177
|
+
subscribeToLoad(callback: () => void): () => void;
|
|
178
|
+
subscribeToMoveEnd(callback: () => void): () => void;
|
|
179
|
+
subscribeToClickOnce(callback: (feature: clickedMetaFeature) => void): () => void;
|
|
180
|
+
addMapObject(mapObject: CustomMapObject): void;
|
|
181
|
+
removeMapObject(mapObjectId: string): void;
|
|
182
|
+
updateMapObject(mapObjectId: string, updates: Partial<CustomMapObject>): void;
|
|
183
|
+
getCustomMapObjects(): metaFeature[];
|
|
184
|
+
clearCustomMapObjects(): void;
|
|
546
185
|
}
|
|
547
186
|
export {};
|
|
548
187
|
//# sourceMappingURL=meta-atlas-sdk.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta-atlas-sdk.d.ts","sourceRoot":"","sources":["../../../src/meta-atlas-sdk/meta-atlas-sdk.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAG1C,OAAO,kCAAkC,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAiI,MAAM,eAAe,CAAC;AACrK,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"meta-atlas-sdk.d.ts","sourceRoot":"","sources":["../../../src/meta-atlas-sdk/meta-atlas-sdk.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,UAAU,MAAM,aAAa,CAAC;AAG1C,OAAO,kCAAkC,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAiI,MAAM,eAAe,CAAC;AACrK,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAMnC,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAKhD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtH,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAGrF,OAAO,EAA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IAYxB,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,aAAa;IAwB9C,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,GAAI,GAAG,EAAE;IAInD,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,EAAE,OAAO;;KAAmC,GAAI,MAAM,GAAG,SAAS;IAWvG,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,GAAI,MAAM;IAI7C;;OAEG;IACH,QAAQ;IAKR,OAAO,CAAC,sBAAsB;IAW9B,OAAO,CAAC,qBAAqB;IAI7B,OAAO,CAAC,wBAAwB;IAKhC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,GAAG,MAAM,IAAI;IAO7E,eAAe,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAOjD,kBAAkB,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAOpD,oBAAoB,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,GAAG,MAAM,IAAI;IAQjF,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAI9C,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAI1C,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI;IAI7E,mBAAmB,IAAI,WAAW,EAAE;IAIpC,qBAAqB,IAAI,IAAI;CAG9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/utils/helpers.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,SAAgB,GAAG,OAAO,MAAM,aAAa,MAAM,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/utils/helpers.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,SAAgB,GAAG,OAAO,MAAM,aAAa,MAAM,oBA8B1E,CAAC;AAGF,eAAO,MAAM,iBAAiB,SAAU,MAAM,KAAG,MAUhD,CAAA;AAED,eAAO,MAAM,gBAAgB,QAAS,MAAM,oDAQ3C,CAAA"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
declare const useMapObjectsDataStore: {
|
|
2
2
|
setState: (newState: any) => void;
|
|
3
3
|
getState: () => any;
|
|
4
|
+
addCustomMapObject: (mapObject: any) => void;
|
|
5
|
+
removeCustomMapObject: (mapObjectId: string) => void;
|
|
6
|
+
updateCustomMapObject: (mapObjectId: string, updates: Partial<any>) => void;
|
|
7
|
+
getAllCustomMapObjects: () => any[];
|
|
8
|
+
clearCustomMapObjects: () => void;
|
|
4
9
|
};
|
|
5
10
|
export default useMapObjectsDataStore;
|
|
6
11
|
//# sourceMappingURL=mapobjects-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapobjects-store.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/utils/mapobjects-store.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,sBAAsB;;;
|
|
1
|
+
{"version":3,"file":"mapobjects-store.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/utils/mapobjects-store.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,sBAAsB;;;oCAYa,GAAG,KAAG,IAAI;yCAIL,MAAM,KAAG,IAAI;yCAIb,MAAM,WAAW,QAAQ,GAAG,CAAC,KAAG,IAAI;kCAO7C,GAAG,EAAE;iCAIN,IAAI;CAapC,CAAC;AAEL,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MetaAtlasMap.d.ts","sourceRoot":"","sources":["../../../src/react/MetaAtlasMap.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MetaAtlasMap.d.ts","sourceRoot":"","sources":["../../../src/react/MetaAtlasMap.tsx"],"names":[],"mappings":"AACA,OAAO,kCAAkC,CAAC;AAG1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,SAAS,EACT,IAAqB,EACrB,MAAM,EACN,UAAU,EACV,qBAAgD,EAChD,oBAA+C,EAC/C,gBAAgB,EAAE,oBAAoB,EACtC,KAAK,EACL,QAAQ,GACT,EAAE,iBAAiB,2CAkInB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useCustomMapObject/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,kBAAkB,IAAI,wBAAwB,CAoB7D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { metaFeature } from '../../../meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core';
|
|
2
|
+
import { CustomMapObject } from '../../../meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core';
|
|
3
|
+
export interface UseCustomMapObjectReturn {
|
|
4
|
+
/**
|
|
5
|
+
* Add a custom map object to the SDK
|
|
6
|
+
* Automatically adds to search index and map layer
|
|
7
|
+
*/
|
|
8
|
+
addMapObject: (mapObject: CustomMapObject) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Remove a custom map object
|
|
11
|
+
*/
|
|
12
|
+
removeMapObject: (mapObjectId: string) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Update an existing custom map object
|
|
15
|
+
*/
|
|
16
|
+
updateMapObject: (mapObjectId: string, updates: Partial<CustomMapObject>) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Get all custom map objects
|
|
19
|
+
*/
|
|
20
|
+
getCustomMapObjects: () => metaFeature[];
|
|
21
|
+
/**
|
|
22
|
+
* Clear all custom map objects
|
|
23
|
+
*/
|
|
24
|
+
clearCustomMapObjects: () => void;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the SDK is ready for custom map object operations
|
|
27
|
+
*/
|
|
28
|
+
isReady: boolean;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useCustomMapObject/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAE5F,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,YAAY,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,IAAI,CAAC;IAEnD;;OAEG;IACH,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAE/C;;OAEG;IACH,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IAElF;;OAEG;IACH,mBAAmB,EAAE,MAAM,WAAW,EAAE,CAAC;IAEzC;;OAEG;IACH,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAElC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useFocus/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAkD,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useFocus/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAkD,MAAM,SAAS,CAAC;AAazF,wBAAgB,QAAQ,IAAI,cAAc,CAuHzC"}
|