@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,573 @@
|
|
|
1
|
+
import { Feature, Position } from 'geojson';
|
|
2
|
+
import { LocalStorage } from '../utils/local-storage';
|
|
3
|
+
import { Status, StatusUpdateCallbackType } from './fetch-published-json';
|
|
4
|
+
export type MetaFeatureProperties = {
|
|
5
|
+
myMapObjectId: string | number;
|
|
6
|
+
title: string;
|
|
7
|
+
localRef: string | number;
|
|
8
|
+
dimension_what: string;
|
|
9
|
+
dimension_where: string;
|
|
10
|
+
booth_info?: {
|
|
11
|
+
overview: string[] | null;
|
|
12
|
+
images: string[] | null;
|
|
13
|
+
videos: string[] | null;
|
|
14
|
+
files: string[] | null;
|
|
15
|
+
products: string[] | null;
|
|
16
|
+
logos: [
|
|
17
|
+
{
|
|
18
|
+
assetId: string;
|
|
19
|
+
fileName: string;
|
|
20
|
+
presignedUrl: string;
|
|
21
|
+
}
|
|
22
|
+
] | null;
|
|
23
|
+
} | null;
|
|
24
|
+
metadata?: any | null;
|
|
25
|
+
};
|
|
26
|
+
export type metaFeature = {
|
|
27
|
+
mapObjectId: string | null;
|
|
28
|
+
coordinates: number[] | null;
|
|
29
|
+
name: string | null;
|
|
30
|
+
whatDimension: string | null;
|
|
31
|
+
whereDimension: string | null;
|
|
32
|
+
geometry: any;
|
|
33
|
+
properties: MetaFeatureProperties | null;
|
|
34
|
+
};
|
|
35
|
+
export type clickedMetaFeature = metaFeature & {
|
|
36
|
+
clickEvent: any | null;
|
|
37
|
+
};
|
|
38
|
+
declare enum SortType {
|
|
39
|
+
Name = "Name",
|
|
40
|
+
WhereDimension = "WhereDimension",
|
|
41
|
+
Relevance = "Relevance",
|
|
42
|
+
RelevanceStrict = "RelevanceStrict"
|
|
43
|
+
}
|
|
44
|
+
export declare enum FilterType {
|
|
45
|
+
Name = "title",
|
|
46
|
+
LocalRef = "localRef",
|
|
47
|
+
WhatTaxonomy = "dimension_what"
|
|
48
|
+
}
|
|
49
|
+
export declare class MetaAtlasCore {
|
|
50
|
+
defaultFocusedTaxonomy: string;
|
|
51
|
+
searchableGeoJsonFeatures: metaFeature[];
|
|
52
|
+
currentFocus: string;
|
|
53
|
+
lastClicked: clickedMetaFeature;
|
|
54
|
+
token: string;
|
|
55
|
+
empApi: string;
|
|
56
|
+
atomsAPIAccessToken: string;
|
|
57
|
+
apiRequestLimit: number;
|
|
58
|
+
secretKeyForDecryption: string;
|
|
59
|
+
routingStatus: Status;
|
|
60
|
+
searchStatus: Status;
|
|
61
|
+
storage: LocalStorage;
|
|
62
|
+
constructor();
|
|
63
|
+
init(apiServerURL: string, token: string, secretKey: string, onAuthenticationResponse: (data: any) => void): void;
|
|
64
|
+
getAtomsAPIAccessToken(onAuthenticationResponse: (data: any) => void): void;
|
|
65
|
+
setupRouting(onRoutingStatusUpdateCallback: StatusUpdateCallbackType): Promise<void>;
|
|
66
|
+
getRoutingStatus(): Status;
|
|
67
|
+
setLastClickedFeature(featureData: clickedMetaFeature): void;
|
|
68
|
+
getLastClickedFeature(): clickedMetaFeature;
|
|
69
|
+
isClickableFeature(feature: any): boolean;
|
|
70
|
+
getMidPointOfFeature(feature: Feature): any;
|
|
71
|
+
getFocusTree(): {
|
|
72
|
+
readonly Singapore: {
|
|
73
|
+
readonly name: "Singapore";
|
|
74
|
+
readonly taxonomyPath: "where.innotech";
|
|
75
|
+
readonly cameraConfigs: {
|
|
76
|
+
readonly mobile: {
|
|
77
|
+
readonly center: readonly [103.825527, 1.294554];
|
|
78
|
+
readonly zoom: 13.5;
|
|
79
|
+
readonly bearing: 0.1;
|
|
80
|
+
readonly pitch: 46;
|
|
81
|
+
};
|
|
82
|
+
readonly web: {
|
|
83
|
+
readonly center: readonly [103.825527, 1.294554];
|
|
84
|
+
readonly zoom: 13.5;
|
|
85
|
+
readonly bearing: 0.1;
|
|
86
|
+
readonly pitch: 46;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
readonly MBS: {
|
|
91
|
+
readonly name: "Marina Bay Sands Singapore";
|
|
92
|
+
readonly taxonomyPath: "where.innotech.mbss";
|
|
93
|
+
readonly cameraConfigs: {
|
|
94
|
+
readonly mobile: {
|
|
95
|
+
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
96
|
+
readonly zoom: 19;
|
|
97
|
+
readonly bearing: -57;
|
|
98
|
+
readonly pitch: 46;
|
|
99
|
+
};
|
|
100
|
+
readonly web: {
|
|
101
|
+
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
102
|
+
readonly zoom: 19;
|
|
103
|
+
readonly bearing: -57;
|
|
104
|
+
readonly pitch: 46;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly buildings: readonly [{
|
|
108
|
+
readonly name: "Sands Expo And Convention Center";
|
|
109
|
+
readonly taxonomyPath: "where.innotech.mbss.secc";
|
|
110
|
+
readonly defaultFloorPath: "where.innotech.mbss.secc.floor_4";
|
|
111
|
+
readonly cameraConfigs: {
|
|
112
|
+
readonly mobile: {
|
|
113
|
+
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
114
|
+
readonly zoom: 19;
|
|
115
|
+
readonly bearing: -57;
|
|
116
|
+
readonly pitch: 46;
|
|
117
|
+
};
|
|
118
|
+
readonly web: {
|
|
119
|
+
readonly center: readonly [103.8578066293374, 1.281924896340982];
|
|
120
|
+
readonly zoom: 19;
|
|
121
|
+
readonly bearing: -57;
|
|
122
|
+
readonly pitch: 46;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
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]]];
|
|
126
|
+
readonly floors: readonly [{
|
|
127
|
+
readonly id: "floor_4";
|
|
128
|
+
readonly name: "Level 4";
|
|
129
|
+
readonly taxonomyPath: "where.innotech.mbss.secc.floor_4";
|
|
130
|
+
readonly levelIndex: 3;
|
|
131
|
+
readonly groundStackHeight: 21;
|
|
132
|
+
readonly zoomLevel: 19.3;
|
|
133
|
+
}];
|
|
134
|
+
}];
|
|
135
|
+
};
|
|
136
|
+
readonly "National Stadium": {
|
|
137
|
+
readonly name: "National Stadium";
|
|
138
|
+
readonly taxonomyPath: "where.innotech.national_stadium";
|
|
139
|
+
readonly cameraConfigs: {
|
|
140
|
+
readonly mobile: {
|
|
141
|
+
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
142
|
+
readonly zoom: 17.912909915488857;
|
|
143
|
+
readonly bearing: -142.99999999999952;
|
|
144
|
+
readonly pitch: 46;
|
|
145
|
+
};
|
|
146
|
+
readonly web: {
|
|
147
|
+
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
148
|
+
readonly zoom: 17.912909915488857;
|
|
149
|
+
readonly bearing: -142.99999999999952;
|
|
150
|
+
readonly pitch: 46;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly buildings: readonly [{
|
|
154
|
+
readonly name: "National Stadium";
|
|
155
|
+
readonly taxonomyPath: "where.innotech.national_stadium.building";
|
|
156
|
+
readonly defaultFloorPath: "where.innotech.national_stadium.building.ground";
|
|
157
|
+
readonly cameraConfigs: {
|
|
158
|
+
readonly mobile: {
|
|
159
|
+
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
160
|
+
readonly zoom: 17.912909915488857;
|
|
161
|
+
readonly bearing: -142.99999999999952;
|
|
162
|
+
readonly pitch: 46;
|
|
163
|
+
};
|
|
164
|
+
readonly web: {
|
|
165
|
+
readonly center: readonly [103.87434269838687, 1.3044718849258268];
|
|
166
|
+
readonly zoom: 17.912909915488857;
|
|
167
|
+
readonly bearing: -142.99999999999952;
|
|
168
|
+
readonly pitch: 46;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
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]]];
|
|
172
|
+
readonly floors: readonly [{
|
|
173
|
+
readonly name: "Ground";
|
|
174
|
+
readonly taxonomyPath: "where.innotech.national_stadium.building.ground";
|
|
175
|
+
}];
|
|
176
|
+
}];
|
|
177
|
+
};
|
|
178
|
+
readonly Campus: {
|
|
179
|
+
readonly name: "Campus";
|
|
180
|
+
readonly taxonomyPath: "where.innotech.campus";
|
|
181
|
+
readonly cameraConfigs: {
|
|
182
|
+
readonly mobile: {
|
|
183
|
+
readonly center: readonly [103.77671029357063, 1.2977084296881416];
|
|
184
|
+
readonly zoom: 17.912909915488857;
|
|
185
|
+
readonly bearing: -160;
|
|
186
|
+
readonly pitch: 46;
|
|
187
|
+
};
|
|
188
|
+
readonly web: {
|
|
189
|
+
readonly center: readonly [103.77671029357063, 1.2977084296881416];
|
|
190
|
+
readonly zoom: 17.912909915488857;
|
|
191
|
+
readonly bearing: -160;
|
|
192
|
+
readonly pitch: 46;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly buildings: readonly [{
|
|
196
|
+
readonly name: "Campus";
|
|
197
|
+
readonly taxonomyPath: "where.innotech.campus.building";
|
|
198
|
+
readonly defaultFloorPath: "where.innotech.campus.building.floor";
|
|
199
|
+
readonly cameraConfigs: {
|
|
200
|
+
readonly mobile: {
|
|
201
|
+
readonly center: readonly [103.77735057222827, 1.2973241399841977];
|
|
202
|
+
readonly zoom: 17.912909915488857;
|
|
203
|
+
readonly bearing: -160;
|
|
204
|
+
readonly pitch: 46;
|
|
205
|
+
};
|
|
206
|
+
readonly web: {
|
|
207
|
+
readonly center: readonly [103.77735057222827, 1.2973241399841977];
|
|
208
|
+
readonly zoom: 17.912909915488857;
|
|
209
|
+
readonly bearing: -160;
|
|
210
|
+
readonly pitch: 46;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
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]]];
|
|
214
|
+
readonly floors: readonly [{
|
|
215
|
+
readonly name: "Campus";
|
|
216
|
+
readonly taxonomyPath: "where.innotech.campus.building.floor";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "Hospital";
|
|
219
|
+
readonly taxonomyPath: "where.innotech.campus.building.floor_2";
|
|
220
|
+
}];
|
|
221
|
+
}];
|
|
222
|
+
};
|
|
223
|
+
readonly Changi: {
|
|
224
|
+
readonly name: "Changi";
|
|
225
|
+
readonly isAirport: true;
|
|
226
|
+
readonly taxonomyPath: "where.changi";
|
|
227
|
+
readonly cameraConfigs: {
|
|
228
|
+
readonly mobile: {
|
|
229
|
+
readonly center: readonly [103.98562, 1.351615];
|
|
230
|
+
readonly zoom: 13.95;
|
|
231
|
+
readonly bearing: 22.5;
|
|
232
|
+
};
|
|
233
|
+
readonly web: {
|
|
234
|
+
readonly center: readonly [103.985201, 1.350226];
|
|
235
|
+
readonly zoom: 15.42;
|
|
236
|
+
readonly bearing: -67.2;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
readonly buildings: readonly [{
|
|
240
|
+
readonly name: "T1";
|
|
241
|
+
readonly taxonomyPath: "where.changi.terminals.t1";
|
|
242
|
+
readonly cameraConfigs: {
|
|
243
|
+
readonly mobile: {
|
|
244
|
+
readonly center: readonly [103.9905346, 1.3618405];
|
|
245
|
+
readonly zoom: 18.43;
|
|
246
|
+
readonly bearing: 23.2;
|
|
247
|
+
};
|
|
248
|
+
readonly web: {
|
|
249
|
+
readonly center: readonly [103.9905346, 1.3618405];
|
|
250
|
+
readonly zoom: 18.43;
|
|
251
|
+
readonly bearing: 23.2;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
readonly defaultFloorPath: "where.changi.terminals.t1.l1";
|
|
255
|
+
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]]];
|
|
256
|
+
readonly floors: readonly [{
|
|
257
|
+
readonly name: "B2";
|
|
258
|
+
readonly taxonomyPath: "where.changi.terminals.t1.b2";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "B1";
|
|
261
|
+
readonly taxonomyPath: "where.changi.terminals.t1.b1";
|
|
262
|
+
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]]];
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "B1M";
|
|
265
|
+
readonly taxonomyPath: "where.changi.terminals.t1.b1m";
|
|
266
|
+
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]]];
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "L1";
|
|
269
|
+
readonly taxonomyPath: "where.changi.terminals.t1.l1";
|
|
270
|
+
}, {
|
|
271
|
+
readonly name: "L2";
|
|
272
|
+
readonly taxonomyPath: "where.changi.terminals.t1.l2";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "L3";
|
|
275
|
+
readonly taxonomyPath: "where.changi.terminals.t1.l3";
|
|
276
|
+
}];
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "T2";
|
|
279
|
+
readonly taxonomyPath: "where.changi.terminals.t2";
|
|
280
|
+
readonly cameraConfigs: {
|
|
281
|
+
readonly mobile: {
|
|
282
|
+
readonly center: readonly [103.988933, 1.354811];
|
|
283
|
+
readonly zoom: 18.16;
|
|
284
|
+
};
|
|
285
|
+
readonly web: {
|
|
286
|
+
readonly center: readonly [103.988933, 1.354811];
|
|
287
|
+
readonly zoom: 18.16;
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
readonly defaultFloorPath: "where.changi.terminals.t2.l1";
|
|
291
|
+
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]]];
|
|
292
|
+
readonly floors: readonly [{
|
|
293
|
+
readonly name: "B1";
|
|
294
|
+
readonly taxonomyPath: "where.changi.terminals.t2.b1";
|
|
295
|
+
}, {
|
|
296
|
+
readonly name: "L1";
|
|
297
|
+
readonly taxonomyPath: "where.changi.terminals.t2.l1";
|
|
298
|
+
}, {
|
|
299
|
+
readonly name: "L2";
|
|
300
|
+
readonly taxonomyPath: "where.changi.terminals.t2.l2";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "L3";
|
|
303
|
+
readonly taxonomyPath: "where.changi.terminals.t2.l3";
|
|
304
|
+
}];
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "T3";
|
|
307
|
+
readonly taxonomyPath: "where.changi.terminals.t3";
|
|
308
|
+
readonly cameraConfigs: {
|
|
309
|
+
readonly mobile: {
|
|
310
|
+
readonly center: readonly [103.986463, 1.356268];
|
|
311
|
+
readonly zoom: 18.16;
|
|
312
|
+
};
|
|
313
|
+
readonly web: {
|
|
314
|
+
readonly center: readonly [103.986463, 1.356268];
|
|
315
|
+
readonly zoom: 18.16;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
readonly defaultFloorPath: "where.changi.terminals.t3.l1";
|
|
319
|
+
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]]];
|
|
320
|
+
readonly floors: readonly [{
|
|
321
|
+
readonly name: "B3";
|
|
322
|
+
readonly taxonomyPath: "where.changi.terminals.t3.b3";
|
|
323
|
+
}, {
|
|
324
|
+
readonly name: "B2";
|
|
325
|
+
readonly taxonomyPath: "where.changi.terminals.t3.b2";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "B1";
|
|
328
|
+
readonly taxonomyPath: "where.changi.terminals.t3.b1";
|
|
329
|
+
}, {
|
|
330
|
+
readonly name: "L1";
|
|
331
|
+
readonly taxonomyPath: "where.changi.terminals.t3.l1";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "L2";
|
|
334
|
+
readonly taxonomyPath: "where.changi.terminals.t3.l2";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "L3";
|
|
337
|
+
readonly taxonomyPath: "where.changi.terminals.t3.l3";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "L4";
|
|
340
|
+
readonly taxonomyPath: "where.changi.terminals.t3.l4";
|
|
341
|
+
}];
|
|
342
|
+
}, {
|
|
343
|
+
readonly name: "T4";
|
|
344
|
+
readonly taxonomyPath: "where.changi.terminals.t4";
|
|
345
|
+
readonly cameraConfigs: {
|
|
346
|
+
readonly mobile: {
|
|
347
|
+
readonly center: readonly [103.983654, 1.338401];
|
|
348
|
+
readonly zoom: 18.22;
|
|
349
|
+
};
|
|
350
|
+
readonly web: {
|
|
351
|
+
readonly center: readonly [103.983654, 1.338401];
|
|
352
|
+
readonly zoom: 18.22;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
readonly defaultFloorPath: "where.changi.terminals.t4.l1";
|
|
356
|
+
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]]];
|
|
357
|
+
readonly floors: readonly [{
|
|
358
|
+
readonly name: "B1";
|
|
359
|
+
readonly taxonomyPath: "where.changi.terminals.t4.b1";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "L1";
|
|
362
|
+
readonly taxonomyPath: "where.changi.terminals.t4.l1";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "L1M";
|
|
365
|
+
readonly taxonomyPath: "where.changi.terminals.t4.l1m";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "L2";
|
|
368
|
+
readonly taxonomyPath: "where.changi.terminals.t4.l2";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "L2M";
|
|
371
|
+
readonly taxonomyPath: "where.changi.terminals.t4.l2m";
|
|
372
|
+
}];
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "Jewel";
|
|
375
|
+
readonly taxonomyPath: "where.changi.terminals.jewel";
|
|
376
|
+
readonly cameraConfigs: {
|
|
377
|
+
readonly mobile: {
|
|
378
|
+
readonly center: readonly [103.989892, 1.360604];
|
|
379
|
+
readonly zoom: 18.11;
|
|
380
|
+
};
|
|
381
|
+
readonly web: {
|
|
382
|
+
readonly center: readonly [103.989892, 1.360604];
|
|
383
|
+
readonly zoom: 18.11;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly defaultFloorPath: "where.changi.terminals.jewel.l1";
|
|
387
|
+
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]]];
|
|
388
|
+
readonly floors: readonly [{
|
|
389
|
+
readonly name: "B5";
|
|
390
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b5";
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "B4";
|
|
393
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b4";
|
|
394
|
+
}, {
|
|
395
|
+
readonly name: "B3";
|
|
396
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b3";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "B2";
|
|
399
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b2";
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "B2M";
|
|
402
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b2m";
|
|
403
|
+
}, {
|
|
404
|
+
readonly name: "B1";
|
|
405
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b1";
|
|
406
|
+
}, {
|
|
407
|
+
readonly name: "B1M";
|
|
408
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.b1m";
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "L1";
|
|
411
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.l1";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "L2";
|
|
414
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.l2";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "L3";
|
|
417
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.l3";
|
|
418
|
+
}, {
|
|
419
|
+
readonly name: "L4";
|
|
420
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.l4";
|
|
421
|
+
}, {
|
|
422
|
+
readonly name: "L5";
|
|
423
|
+
readonly taxonomyPath: "where.changi.terminals.jewel.l5d";
|
|
424
|
+
}];
|
|
425
|
+
}];
|
|
426
|
+
};
|
|
427
|
+
readonly "STE Office": {
|
|
428
|
+
readonly name: "STE";
|
|
429
|
+
readonly taxonomyPath: "where.ste";
|
|
430
|
+
readonly cameraConfigs: {
|
|
431
|
+
readonly mobile: {
|
|
432
|
+
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
433
|
+
readonly zoom: 17.912909915488857;
|
|
434
|
+
readonly bearing: -15;
|
|
435
|
+
readonly pitch: 46;
|
|
436
|
+
};
|
|
437
|
+
readonly web: {
|
|
438
|
+
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
439
|
+
readonly zoom: 17.912909915488857;
|
|
440
|
+
readonly bearing: -15;
|
|
441
|
+
readonly pitch: 46;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly buildings: readonly [{
|
|
445
|
+
readonly name: "STE Office";
|
|
446
|
+
readonly taxonomyPath: "where.ste.digihub";
|
|
447
|
+
readonly defaultFloorPath: "where.ste.digihub.l1";
|
|
448
|
+
readonly cameraConfigs: {
|
|
449
|
+
readonly mobile: {
|
|
450
|
+
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
451
|
+
readonly zoom: 17.912909915488857;
|
|
452
|
+
readonly bearing: -15;
|
|
453
|
+
readonly pitch: 46;
|
|
454
|
+
};
|
|
455
|
+
readonly web: {
|
|
456
|
+
readonly center: readonly [103.84633872450354, 1.3894512089945608];
|
|
457
|
+
readonly zoom: 17.912909915488857;
|
|
458
|
+
readonly bearing: -15;
|
|
459
|
+
readonly pitch: 46;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
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]]];
|
|
463
|
+
readonly floors: readonly [{
|
|
464
|
+
readonly name: "Level 1";
|
|
465
|
+
readonly taxonomyPath: "where.ste.digihub.l1";
|
|
466
|
+
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]]];
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "Level 3";
|
|
469
|
+
readonly taxonomyPath: "where.ste.digihub.l3";
|
|
470
|
+
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]]];
|
|
471
|
+
}];
|
|
472
|
+
}];
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
getWhatTaxonomies(): {
|
|
476
|
+
readonly food: readonly ["what.shop.food_anchor", "what.shop.food"];
|
|
477
|
+
readonly fun: readonly ["what.shop.fun"];
|
|
478
|
+
readonly retail: readonly ["what.shop.retail_anchor", "what.shop.retail"];
|
|
479
|
+
readonly carpark: readonly ["what.infra.carpark"];
|
|
480
|
+
readonly entrance: readonly ["what.infra.entrance"];
|
|
481
|
+
readonly exit: readonly ["what.infra.exit"];
|
|
482
|
+
readonly escalator: readonly ["what.infra.escalator"];
|
|
483
|
+
readonly lift: readonly ["what.infra.lift"];
|
|
484
|
+
readonly stairs: readonly ["what.infra.stairs"];
|
|
485
|
+
readonly "bicycle parking": readonly ["what.infra.parking_bike"];
|
|
486
|
+
readonly "bicycle locker": readonly ["what.infra.parking_bike_locked"];
|
|
487
|
+
readonly "airport transfer": readonly ["what.service.airport_transfer"];
|
|
488
|
+
readonly immigration: readonly ["what.service.immigration"];
|
|
489
|
+
readonly "ground transport concierge": readonly ["what.service.ground_transport_concierge"];
|
|
490
|
+
readonly "tax refund": readonly ["what.service.tax_refund"];
|
|
491
|
+
readonly information: readonly ["what.service.information"];
|
|
492
|
+
readonly "baggage claim": readonly ["what.service.baggage_claim"];
|
|
493
|
+
readonly "baggage storage": readonly ["what.service.baggage_storage"];
|
|
494
|
+
readonly checkin: readonly ["what.service.checkin"];
|
|
495
|
+
readonly "checkin early": readonly ["what.service.checkin_early"];
|
|
496
|
+
readonly "money exchange": readonly ["what.service.money_exchange"];
|
|
497
|
+
readonly "movie theatre": readonly ["what.service.movie_theatre"];
|
|
498
|
+
readonly "changi rewards": readonly ["what.service.changi_rewards"];
|
|
499
|
+
readonly "connect changi": readonly ["what.service.connect_changi"];
|
|
500
|
+
readonly "attraction tour": readonly ["what.service.attraction_tour"];
|
|
501
|
+
readonly atm: readonly ["what.service.atm"];
|
|
502
|
+
readonly "charging point": readonly ["what.service.device_charging"];
|
|
503
|
+
readonly internet: readonly ["what.service.internet"];
|
|
504
|
+
readonly clinic: readonly ["what.service.clinic"];
|
|
505
|
+
readonly "lost and found": readonly ["what.service.lost_and_found"];
|
|
506
|
+
readonly post: readonly ["what.service.post"];
|
|
507
|
+
readonly "airline lounge": readonly ["what.service.airline_lounge"];
|
|
508
|
+
readonly "changi lounge": readonly ["what.service.lounge_changi"];
|
|
509
|
+
readonly "pay per use lounge": readonly ["what.service.pay_per_use_lounge"];
|
|
510
|
+
readonly "tv lounge": readonly ["what.service.tv_lounge"];
|
|
511
|
+
readonly lodging: readonly ["what.service.lodging"];
|
|
512
|
+
readonly "meditation room": readonly ["what.service.meditation_room"];
|
|
513
|
+
readonly "prayer room": readonly ["what.service.prayer_room"];
|
|
514
|
+
readonly "rest area": readonly ["what.service.rest_area"];
|
|
515
|
+
readonly "smoking area": readonly ["what.service.smoking_area"];
|
|
516
|
+
readonly "adult diaper change": readonly ["what.service.adult_diaper_change"];
|
|
517
|
+
readonly "baby care": readonly ["what.service.baby_care"];
|
|
518
|
+
readonly shower: readonly ["what.service.shower"];
|
|
519
|
+
readonly toilet: readonly ["what.service.toilet"];
|
|
520
|
+
readonly "toilet accessible": readonly ["what.service.toilet_accessible"];
|
|
521
|
+
readonly "transit entry": readonly ["what.transit.transit_entry"];
|
|
522
|
+
readonly "transit exit": readonly ["what.transit.transit_exit"];
|
|
523
|
+
readonly bus: readonly ["what.transport.bus", "what.transport.type_bus"];
|
|
524
|
+
readonly "meeting point": readonly ["what.transport.meeting_point"];
|
|
525
|
+
readonly pickup: readonly ["what.transport.pickup"];
|
|
526
|
+
readonly skytrain: readonly ["what.transport.skytrain"];
|
|
527
|
+
readonly "taxi queue": readonly ["what.transport.taxi_queue"];
|
|
528
|
+
readonly train: readonly ["what.transport.train"];
|
|
529
|
+
readonly "airplane gate": readonly ["what.airplane_gate"];
|
|
530
|
+
readonly security: readonly ["what.security"];
|
|
531
|
+
};
|
|
532
|
+
getCurrentFocus(): string;
|
|
533
|
+
getCurrentFocusBuilding(): any;
|
|
534
|
+
getCurrentFocusFloor(): any;
|
|
535
|
+
getUserViewportBuilding(currentCenter: Position): any;
|
|
536
|
+
checkUserViewport(currentCenter: Position, building: any, floor?: any): boolean;
|
|
537
|
+
ignoredLayers: string[];
|
|
538
|
+
filterBaseMapWhereDimension(layersData: any, whereTaxonomyPath: string): any;
|
|
539
|
+
filterLayersWhereDimension(layersData: any, whereTaxonomyPath: string): any;
|
|
540
|
+
filterLayer(layer: any, whereFilters: string[]): void;
|
|
541
|
+
getFlyToLocation(whereTaxonomyPath: string, isMobile?: boolean): {
|
|
542
|
+
center: [number, number];
|
|
543
|
+
zoom: number;
|
|
544
|
+
bearing: number;
|
|
545
|
+
pitch?: number;
|
|
546
|
+
};
|
|
547
|
+
filterLayersByCategories(layersData: any, filterType: FilterType, filterValues: string[], geomType: string, dimensionWhat: string, map: maplibregl.Map): any;
|
|
548
|
+
filterLayersByType(layersData: any, filterType: FilterType, filterValues: string[], geomType: string): any;
|
|
549
|
+
createFilterForStyle(defValue: any, filterType: FilterType, filterValues: string[], value: string): any[];
|
|
550
|
+
styleLayersByType(layersData: any, filterType: FilterType, filterValues: string[], property: string, value: string): any;
|
|
551
|
+
createFilterForClearStyle(defValue: any, filterType: FilterType, filterValues: string[]): any[];
|
|
552
|
+
clearStyleLayersByType(layersData: any, filterType: FilterType, filterValues: string[], property: string): any;
|
|
553
|
+
normalize(string: string): string;
|
|
554
|
+
relevanceSort(metaFeatures: metaFeature[], query: string, isStrict?: boolean): metaFeature[];
|
|
555
|
+
sort(metaFeatures: metaFeature[], sortType: SortType, query?: string): metaFeature[];
|
|
556
|
+
setupMapObjectSearch(onSearchStatusUpdateCallback: StatusUpdateCallbackType): Promise<void>;
|
|
557
|
+
getMapObjectsByFilteredLocalRef(boothId: string, searchSubString: boolean, sortType: SortType, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
558
|
+
getMapObjectsByName(name: string, searchSubString: boolean, sortType: SortType, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
559
|
+
getMapObjectById(idToSearch: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
560
|
+
getMapObjectByLocalRef(localRefToSearch: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
561
|
+
getMapObjectMatchingLocalRef(localRefToSearch: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
562
|
+
getMapObjectsMatchingLocalRefs(localRefsToSearch: string | string[], onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
563
|
+
getMapObjectsByWhatTaxonomy(whatTaxonomyPath: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
564
|
+
getMapObjectsByWhereTaxonomy(whereTaxonomyPath: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
565
|
+
getMapObjectsByWhatAndWhereTaxonomy(whatTaxonomyPath: string, whereTaxonomyPath: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
566
|
+
getMapObjectsInWhatTaxonomy(whatTaxonomyPaths: string[], onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
567
|
+
getMapObjectsInWhereTaxonomy(whereTaxonomyPaths: string[], onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
568
|
+
getMapObjectsInWhatAndWhereTaxonomy(whatTaxonomyPaths: string[], whereTaxonomyPaths: string[], onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
569
|
+
getMapObjectsApi(query?: string): Promise<metaFeature[]>;
|
|
570
|
+
getMapObjectsByWhatTaxonomyAPI(whatTaxonomyPath: string, onResponseCallback: (metaFeatures: metaFeature[]) => void): void;
|
|
571
|
+
}
|
|
572
|
+
export {};
|
|
573
|
+
//# sourceMappingURL=meta-atlas-sdk-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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AC,YAAY,EAAE,WAAW,EAAE,KAAK,IAAI;CAS5D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CalculationResult, UserPosition } from './interfaces';
|
|
2
|
+
declare const RoutingCore: {
|
|
3
|
+
getRoute: (mapObjectId1: string | UserPosition, mapObjectId2: string, wheelChairAccessibleRouteOnlyParam: boolean) => CalculationResult;
|
|
4
|
+
};
|
|
5
|
+
export default RoutingCore;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/index.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,iBAAiB,EAAkG,YAAY,EAChI,MAAM,cAAc,CAAC;AAYtB,QAAA,MAAM,WAAW;6BA6fC,MAAM,GAAG,YAAY,gBACrB,MAAM,sCACgB,OAAO;CA8D3C,CAAC;AAEL,eAAe,WAAW,CAAC"}
|