@twinmatrix/spatialverse-sdk-web 0.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 +4 -0
- package/lib/cjs/index.js +642 -0
- package/lib/cjs/react/index.js +642 -0
- package/lib/esm/index.js +642 -0
- package/lib/esm/react/index.js +642 -0
- package/lib/types/index.d.ts +17 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.spec.d.ts +1 -0
- package/lib/types/index.spec.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts +32 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts +30 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts +5 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts +21 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts +27 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +28 -0
- package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetch-published-json.d.ts +26 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetch-published-json.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetchMapObjectsData.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/fetchMapObjectsData.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts +406 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +573 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/index.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/index.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/interfaces.d.ts +142 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/interfaces.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/mapObjectsHelper.d.ts +13 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/mapObjectsHelper.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routeLayers.d.ts +171 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routeLayers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts +73 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/utils.d.ts +31 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/utils.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.d.ts +59 -0
- package/lib/types/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customStyles.d.ts +243 -0
- package/lib/types/meta-atlas-sdk/customStyles.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customerLayer.d.ts +6385 -0
- package/lib/types/meta-atlas-sdk/customerLayer.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +5156 -0
- package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.d.ts +18 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.d.ts +37 -0
- package/lib/types/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +548 -0
- package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts +4 -0
- package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/local-storage.d.ts +8 -0
- package/lib/types/meta-atlas-sdk/utils/local-storage.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/routing-store.d.ts +6 -0
- package/lib/types/meta-atlas-sdk/utils/routing-store.d.ts.map +1 -0
- package/lib/types/meta-atlas-sdk/utils/routing-visualizer/index.d.ts +42 -0
- package/lib/types/meta-atlas-sdk/utils/routing-visualizer/index.d.ts.map +1 -0
- package/lib/types/react/MetaAtlasMap.d.ts +4 -0
- package/lib/types/react/MetaAtlasMap.d.ts.map +1 -0
- package/lib/types/react/hooks/useDrawing/index.d.ts +3 -0
- package/lib/types/react/hooks/useDrawing/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useDrawing/types.d.ts +5 -0
- package/lib/types/react/hooks/useDrawing/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/index.d.ts +3 -0
- package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useFocus/types.d.ts +28 -0
- package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapEvents/index.d.ts +3 -0
- package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapEvents/types.d.ts +28 -0
- package/lib/types/react/hooks/useMapEvents/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapOverlays/index.d.ts +8 -0
- package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts +80 -0
- package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts +3 -0
- package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useMetaAtlas/types.d.ts +2 -0
- package/lib/types/react/hooks/useMetaAtlas/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useRouting/index.d.ts +3 -0
- package/lib/types/react/hooks/useRouting/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useRouting/types.d.ts +5 -0
- package/lib/types/react/hooks/useRouting/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useSearch/index.d.ts +3 -0
- package/lib/types/react/hooks/useSearch/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useSearch/types.d.ts +7 -0
- package/lib/types/react/hooks/useSearch/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/index.d.ts +3 -0
- package/lib/types/react/hooks/useStampRally/index.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/types.d.ts +24 -0
- package/lib/types/react/hooks/useStampRally/types.d.ts.map +1 -0
- package/lib/types/react/hooks/useStampRally/utils.d.ts +3 -0
- package/lib/types/react/hooks/useStampRally/utils.d.ts.map +1 -0
- package/lib/types/react/index.d.ts +21 -0
- package/lib/types/react/index.d.ts.map +1 -0
- package/lib/types/react/stores/useMapDataStore.d.ts +35 -0
- package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts +25 -0
- package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -0
- package/lib/types/react/types/index.d.ts +80 -0
- package/lib/types/react/types/index.d.ts.map +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerLayerVariant.d.ts","sourceRoot":"","sources":["../../../src/meta-atlas-sdk/customerLayerVariant.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DA,wBAisOC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default DrawMarker;
|
|
2
|
+
declare namespace DrawMarker {
|
|
3
|
+
function onSetup(opts: any): {
|
|
4
|
+
line: any;
|
|
5
|
+
currentVertexPosition: number;
|
|
6
|
+
direction: string;
|
|
7
|
+
};
|
|
8
|
+
function clickAnywhere(state: any, e: any): any;
|
|
9
|
+
function clickOnVertex(state: any): any;
|
|
10
|
+
function onMouseMove(state: any, e: any): void;
|
|
11
|
+
function onTap(state: any, e: any): any;
|
|
12
|
+
function onClick(state: any, e: any): any;
|
|
13
|
+
function onKeyUp(state: any, e: any): void;
|
|
14
|
+
function onStop(state: any): void;
|
|
15
|
+
function onTrash(state: any): void;
|
|
16
|
+
function toDisplayFeatures(state: any, geojson: any, display: any): any;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=draw_marker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draw_marker.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/mapbox_draw_custom_modes/draw_marker.js"],"names":[],"mappings":";;IAOA;;;;MA8DC;IAED,gDAgBC;IAED,wCAEC;IAED,+CAKC;IAEkB,wCAGlB;IAHkB,0CAGlB;IAED,2CAOC;IAED,kCAiBC;IAED,mCAGC;IAED,wEAeC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default MarkerSelect;
|
|
2
|
+
declare namespace MarkerSelect {
|
|
3
|
+
function fireUpdate(): void;
|
|
4
|
+
function fireActionable(state: any): void;
|
|
5
|
+
function startDragging(state: any, e: any): void;
|
|
6
|
+
function stopDragging(state: any): void;
|
|
7
|
+
function onVertex(state: any, e: any): void;
|
|
8
|
+
function onMidpoint(state: any, e: any): void;
|
|
9
|
+
function pathsToCoordinates(featureId: any, paths: any): any;
|
|
10
|
+
function onFeature(state: any, e: any): void;
|
|
11
|
+
function dragFeature(state: any, e: any, delta: any): void;
|
|
12
|
+
function dragVertex(state: any, e: any, delta: any): void;
|
|
13
|
+
function clickNoTarget(): void;
|
|
14
|
+
function clickInactive(): void;
|
|
15
|
+
function clickActiveFeature(state: any): void;
|
|
16
|
+
function onSetup(opts: any): {
|
|
17
|
+
featureId: any;
|
|
18
|
+
feature: any;
|
|
19
|
+
dragMoveLocation: any;
|
|
20
|
+
dragMoving: boolean;
|
|
21
|
+
canDragMove: boolean;
|
|
22
|
+
selectedCoordPaths: any[];
|
|
23
|
+
};
|
|
24
|
+
function onStop(): void;
|
|
25
|
+
function toDisplayFeatures(state: any, geojson: any, push: any): void;
|
|
26
|
+
function onTrash(state: any): void;
|
|
27
|
+
function onMouseMove(state: any, e: any): boolean;
|
|
28
|
+
function onMouseOut(state: any): boolean;
|
|
29
|
+
function onTouchStart(state: any, e: any): void;
|
|
30
|
+
function onMouseDown(state: any, e: any): void;
|
|
31
|
+
function onDrag(state: any, e: any): void;
|
|
32
|
+
function onClick(state: any, e: any): void;
|
|
33
|
+
function onTap(state: any, e: any): void;
|
|
34
|
+
function onTouchEnd(state: any): void;
|
|
35
|
+
function onMouseUp(state: any): void;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=marker_select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marker_select.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/mapbox_draw_custom_modes/marker_select.js"],"names":[],"mappings":";;IAcA,4BAKC;IAED,0CAMC;IAED,iDAIC;IAED,wCAKC;IAED,4CAYC;IAED,8CAMC;IAED,6DAEC;IAED,6CAGC;IAED,2DAGC;IAED,0DAgBC;IAED,+BAEC;IAED,+BAEC;IAED,8CAIC;IAID;;;;;;;MA8BC;IAED,wBAGC;IAED,sEAcC;IAED,mCAcC;IAED,kDAiBC;IAED,yCAMC;IAE2B,gDAI3B;IAJ2B,+CAI3B;IAED,0CAcC;IAED,2CAKC;IAED,yCAIC;IAEyB,sCAKzB;IALyB,qCAKzB"}
|
|
@@ -0,0 +1,548 @@
|
|
|
1
|
+
/// <reference types="mapbox__mapbox-gl-draw" />
|
|
2
|
+
import * as maplibregl from 'maplibre-gl';
|
|
3
|
+
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
4
|
+
import { Units } from '@turf/helpers';
|
|
5
|
+
import { Position } from 'geojson';
|
|
6
|
+
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
|
7
|
+
import { MetaAtlasCore, clickedMetaFeature } from './MetaAtlasCore/meta-atlas-sdk-core';
|
|
8
|
+
import MainMap from './3DMap/MainMap';
|
|
9
|
+
import { FirebaseApp } from 'firebase/app';
|
|
10
|
+
import { Analytics } from "firebase/analytics";
|
|
11
|
+
import { StatusUpdateCallbackType } from './MetaAtlasCore/fetch-published-json';
|
|
12
|
+
import { RoutingVisualizer } from './utils/routing-visualizer';
|
|
13
|
+
declare enum FilterType {
|
|
14
|
+
Name = "title",
|
|
15
|
+
LocalRef = "localRef",
|
|
16
|
+
WhatTaxonomy = "dimension_what"
|
|
17
|
+
}
|
|
18
|
+
export declare enum EventSource {
|
|
19
|
+
UrlLoad = "url_load",
|
|
20
|
+
MapClick = "map_click",
|
|
21
|
+
BannerClick = "banner_click",
|
|
22
|
+
SearchInput = "search_input",
|
|
23
|
+
ListClick = "list_click",
|
|
24
|
+
InfoPopupClick = "info_popup_click",
|
|
25
|
+
Chatbot = "chatbot",
|
|
26
|
+
RoutingUI = "routing_ui",
|
|
27
|
+
StampRallyClick = "stamp_rally_click"
|
|
28
|
+
}
|
|
29
|
+
export declare const DEFAULT_MAP_STYLE = "https://api.maptiler.com/maps/01985ac8-56d2-707b-afa8-68abfe8f18be/style.json?key=12H5hrITUbJ1sDrVPqkq";
|
|
30
|
+
export declare class MetaAtlasSdk {
|
|
31
|
+
accessToken: string;
|
|
32
|
+
secretKey: string;
|
|
33
|
+
onLoadCallback: () => void;
|
|
34
|
+
onLoadFailCallback: (errorMessage: string) => void;
|
|
35
|
+
map: maplibregl.Map;
|
|
36
|
+
mapBoxDraw: MapboxDraw;
|
|
37
|
+
maplibregl: any;
|
|
38
|
+
mapLoaded: boolean;
|
|
39
|
+
onFailCallbackSent: boolean;
|
|
40
|
+
CustomerLayers: any;
|
|
41
|
+
CustomerLayersVariant: any;
|
|
42
|
+
UserLayers: any;
|
|
43
|
+
floorOptions: any;
|
|
44
|
+
buildingRef: string;
|
|
45
|
+
defaultFocusedTaxonomy: string;
|
|
46
|
+
currentFocus: string;
|
|
47
|
+
lastClickedDrawing: any;
|
|
48
|
+
map3D: MainMap;
|
|
49
|
+
firebaseApp: FirebaseApp;
|
|
50
|
+
analytics: Analytics;
|
|
51
|
+
metaAtlasCore: MetaAtlasCore;
|
|
52
|
+
apiAuthenticationCallbackReceived: boolean;
|
|
53
|
+
routingVisualizer: RoutingVisualizer;
|
|
54
|
+
roleName: string;
|
|
55
|
+
verNum: string;
|
|
56
|
+
tileServer: string;
|
|
57
|
+
HOST: string;
|
|
58
|
+
empApiURL: string;
|
|
59
|
+
mapBoxDrawSourceID: string;
|
|
60
|
+
drawGeojsonData: {
|
|
61
|
+
type: string;
|
|
62
|
+
features: maplibregl.Feature[];
|
|
63
|
+
};
|
|
64
|
+
popups: any[];
|
|
65
|
+
markers: any[];
|
|
66
|
+
setupFirebase(): void;
|
|
67
|
+
logAnalyticsEvent(eventName: string, properties?: any): void;
|
|
68
|
+
onLoad(): void;
|
|
69
|
+
onLoadFail(message: string): void;
|
|
70
|
+
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): void;
|
|
73
|
+
setupMapBoxDraw(): void;
|
|
74
|
+
addCustomerLayer: (map: any, jsonToPass: any, onLoaded: Function) => void;
|
|
75
|
+
overRideSelectionOfDrawnPointGeometry(feature: maplibregl.Feature): void;
|
|
76
|
+
getFocusTree(): {
|
|
77
|
+
readonly Singapore: {
|
|
78
|
+
readonly name: "Singapore";
|
|
79
|
+
readonly taxonomyPath: "where.innotech";
|
|
80
|
+
readonly cameraConfigs: {
|
|
81
|
+
readonly mobile: {
|
|
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
|
+
};
|
|
480
|
+
setDrawing(id?: any, where?: any, geom?: any, props?: any): {
|
|
481
|
+
id: any;
|
|
482
|
+
where: any;
|
|
483
|
+
geometry: any;
|
|
484
|
+
properties: any;
|
|
485
|
+
};
|
|
486
|
+
getLastClickedFeature(): clickedMetaFeature;
|
|
487
|
+
getLastClickedDrawing(): any;
|
|
488
|
+
getMidPointOfFeature(feature: any): any;
|
|
489
|
+
dropPin(mapItemSelected: any, popupStyle: string, replaceLast?: boolean): any;
|
|
490
|
+
dropMarkerForRouting(destinations: any[]): void;
|
|
491
|
+
clearMarker(): void;
|
|
492
|
+
extractLocation(text: string): string;
|
|
493
|
+
hidePin(pinId?: string): void;
|
|
494
|
+
hidePins(): void;
|
|
495
|
+
showPin(pinId?: string): void;
|
|
496
|
+
showPins(): void;
|
|
497
|
+
clearPin(pinId?: string): void;
|
|
498
|
+
clearPins(): void;
|
|
499
|
+
removePin(): void;
|
|
500
|
+
getCurrentFocus(): string;
|
|
501
|
+
getCurrentFocusBuilding(): any;
|
|
502
|
+
getCurrentFocusFloor(): any;
|
|
503
|
+
addUserLayer(layer: any): void;
|
|
504
|
+
filterWhereDimension(dimensionWhere: string): void;
|
|
505
|
+
focusTo(whereTaxonomyPath: string, moveCamera?: boolean): void;
|
|
506
|
+
filterLayersByCategories(filterType: FilterType, filterValues: string[], geomType: string, dimensionWhat: string): void;
|
|
507
|
+
filterLayersByType(filterType: FilterType, filterValues: string[], geomType?: string): void;
|
|
508
|
+
styleLayersByType(filterType: FilterType, filterValues: string[], property: string, value: string): void;
|
|
509
|
+
clearStyleLayersByType(filterType: FilterType, filterValues: string[], property: string): void;
|
|
510
|
+
changeTerminalInFocusToUserViewpoint(defaultFloor?: object): boolean;
|
|
511
|
+
isLocationWithinHongKong(location: Position): boolean;
|
|
512
|
+
getMapObjectsByFilteredLocalRef(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByName>): void;
|
|
513
|
+
getMapObjectsByName(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByName>): void;
|
|
514
|
+
getMapObjectById(...args: Parameters<typeof this.metaAtlasCore.getMapObjectById>): void;
|
|
515
|
+
getMapObjectByLocalRef(...args: Parameters<typeof this.metaAtlasCore.getMapObjectByLocalRef>): void;
|
|
516
|
+
getMapObjectMatchingLocalRef(...args: Parameters<typeof this.metaAtlasCore.getMapObjectMatchingLocalRef>): void;
|
|
517
|
+
getMapObjectsMatchingLocalRefs(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsMatchingLocalRefs>): void;
|
|
518
|
+
getMapObjectsByWhatTaxonomy(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByWhatTaxonomy>): void;
|
|
519
|
+
getMapObjectsByWhatTaxonomyAPI(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByWhatTaxonomyAPI>): void;
|
|
520
|
+
getMapObjectsByWhereTaxonomy(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByWhereTaxonomy>): void;
|
|
521
|
+
getMapObjectsByWhatAndWhereTaxonomy(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsByWhatAndWhereTaxonomy>): void;
|
|
522
|
+
getMapObjectsInWhatTaxonomy(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsInWhatTaxonomy>): void;
|
|
523
|
+
getMapObjectsInWhereTaxonomy(...args: Parameters<typeof this.metaAtlasCore.getMapObjectsInWhereTaxonomy>): void;
|
|
524
|
+
computeRoute(...args: Parameters<typeof this.routingVisualizer.computeRoute>): Promise<import("..").Route>;
|
|
525
|
+
computeRoutes(mapObjectIds: string[], wheelChairAccessibleRouteOnly: boolean, source: EventSource): Promise<import("..").Route>;
|
|
526
|
+
setActiveRoute(...args: Parameters<typeof this.routingVisualizer.setActiveRoute>): void;
|
|
527
|
+
getActiveRoute(...args: Parameters<typeof this.routingVisualizer.getActiveRoute>): import("..").Route;
|
|
528
|
+
highlightRouteSegment(...args: Parameters<typeof this.routingVisualizer.highlightRouteSegment>): void;
|
|
529
|
+
clearRoute(...args: Parameters<typeof this.routingVisualizer.clearRoute>): void;
|
|
530
|
+
drawGeometryOnMap(type: string, onDrawEnd: (drawnFeature: maplibregl.Feature) => void, onlyVisibleAtCurrentFocus?: boolean): boolean;
|
|
531
|
+
isInDrawMode(): boolean;
|
|
532
|
+
addDrawingsToBaseMap(drawings: Array<maplibregl.Feature>): void;
|
|
533
|
+
getDrawingById(id: string): maplibregl.Feature;
|
|
534
|
+
editDrawing(id: string): boolean;
|
|
535
|
+
removeDrawing(id: string): boolean;
|
|
536
|
+
createMarker(options: maplibregl.MarkerOptions): maplibregl.Marker;
|
|
537
|
+
getCoordinates(feature: maplibregl.Feature): any[];
|
|
538
|
+
getLength(feature: maplibregl.Feature, options?: {
|
|
539
|
+
units: Units;
|
|
540
|
+
}): number | undefined;
|
|
541
|
+
getArea(feature: maplibregl.Feature): number;
|
|
542
|
+
/**
|
|
543
|
+
* Get the 3D map instance for 3D model operations
|
|
544
|
+
*/
|
|
545
|
+
getMap3D(): MainMap;
|
|
546
|
+
}
|
|
547
|
+
export {};
|
|
548
|
+
//# sourceMappingURL=meta-atlas-sdk.d.ts.map
|
|
@@ -0,0 +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;AAKnC,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAKhD,OAAO,EAAE,aAAa,EAAe,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAErG,OAAO,OAAO,MAAM,iBAAiB,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAiB,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,SAAS,EAA0B,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAS/D,aAAK,UAAU;IACb,IAAI,UAAU;IACd,QAAQ,aAAa;IACrB,YAAY,mBAAmB;CAChC;AAED,oBAAY,WAAW;IACrB,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,SAAS,eAAe;IACxB,cAAc,qBAAqB;IACnC,OAAO,YAAY;IACnB,S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O,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,CAAC;IAI9F,UAAU,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC;IAKxE,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC,OAAO,KAAK,IAAI,EAAE,yBAAyB,UAAQ,GAAI,OAAO;IA0CnI,YAAY;IAIZ,oBAAoB,CAAC,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC;IAKxD,cAAc,CAAC,EAAE,EAAE,MAAM;IAUzB,WAAW,CAAC,EAAE,EAAE,MAAM;IA0EtB,aAAa,CAAC,EAAE,EAAE,MAAM;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;CAGT"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const decryptFile: (data: any, tag: string, secretKey: string) => Promise<string>;
|
|
2
|
+
export declare const getAvatarInitials: (name: string) => string;
|
|
3
|
+
export declare const stringToHslColor: (str: string, saturation?: number, lightness?: number) => string;
|
|
4
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +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,oBAyBxE,CAAC;AAGF,eAAO,MAAM,iBAAiB,SAAU,MAAM,KAAG,MAUhD,CAAA;AAED,eAAO,MAAM,gBAAgB,QAAS,MAAM,oDAQ3C,CAAA"}
|