@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,142 @@
|
|
|
1
|
+
import { Feature, LineString, MultiPoint, Position, GeoJsonProperties } from 'geojson';
|
|
2
|
+
export declare const DISTANCE_UNIT = "meters";
|
|
3
|
+
export declare const WALK_SPEED = 1.42;
|
|
4
|
+
export interface Geometry {
|
|
5
|
+
coordinates: number[][] | number[];
|
|
6
|
+
type: string;
|
|
7
|
+
}
|
|
8
|
+
export declare enum LineDirection {
|
|
9
|
+
TwoWay = 2,
|
|
10
|
+
Forward = 1,
|
|
11
|
+
Backward = -1
|
|
12
|
+
}
|
|
13
|
+
export declare enum Zone {
|
|
14
|
+
Transit = "transit",
|
|
15
|
+
Public = "public"
|
|
16
|
+
}
|
|
17
|
+
export interface Properties {
|
|
18
|
+
zone: Zone;
|
|
19
|
+
wheelchair: number;
|
|
20
|
+
direction: LineDirection;
|
|
21
|
+
}
|
|
22
|
+
export interface Line {
|
|
23
|
+
type: string;
|
|
24
|
+
geometry: Geometry;
|
|
25
|
+
properties: Properties;
|
|
26
|
+
}
|
|
27
|
+
export type EdgeLine = Feature<LineString, Properties>;
|
|
28
|
+
export interface UserPosition {
|
|
29
|
+
sourceCoords: Position;
|
|
30
|
+
whereDimension: string;
|
|
31
|
+
}
|
|
32
|
+
export interface Edge {
|
|
33
|
+
coords: number[];
|
|
34
|
+
lines: EdgeLine[];
|
|
35
|
+
zone: Zone;
|
|
36
|
+
where: string;
|
|
37
|
+
what: string;
|
|
38
|
+
name: string;
|
|
39
|
+
id: string;
|
|
40
|
+
}
|
|
41
|
+
export type PortalEdge = Edge & {
|
|
42
|
+
cost: number;
|
|
43
|
+
wheelchair: number;
|
|
44
|
+
direction: LineDirection;
|
|
45
|
+
pathFeatures: Feature<LineString, any>[] | null;
|
|
46
|
+
description: string | null;
|
|
47
|
+
};
|
|
48
|
+
export type Portal = Edge & {
|
|
49
|
+
links: PortalEdge[];
|
|
50
|
+
};
|
|
51
|
+
export interface MapObject {
|
|
52
|
+
geometry: Geometry;
|
|
53
|
+
lngLat: number[] | null;
|
|
54
|
+
mapObjectId: string;
|
|
55
|
+
name: string;
|
|
56
|
+
what: string;
|
|
57
|
+
where: string;
|
|
58
|
+
properties: {
|
|
59
|
+
dimension_what: string;
|
|
60
|
+
dimension_where: string;
|
|
61
|
+
isSearchable: boolean;
|
|
62
|
+
localRef: string;
|
|
63
|
+
myMapObjectId: string;
|
|
64
|
+
myMapObjectInstanceId?: string;
|
|
65
|
+
property_dtdx?: string;
|
|
66
|
+
tags?: string;
|
|
67
|
+
title: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export interface NodesObject {
|
|
71
|
+
[key: string]: {
|
|
72
|
+
[key: string]: Edge;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export interface Tree {
|
|
76
|
+
where: string;
|
|
77
|
+
paths: string[];
|
|
78
|
+
destinations: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export type SwitchLevel = 'building' | 'floor' | null | false;
|
|
83
|
+
export interface RouteResult {
|
|
84
|
+
geojson?: Feature<LineString | MultiPoint, GeoJsonProperties>;
|
|
85
|
+
edges: string[];
|
|
86
|
+
startFloor: string;
|
|
87
|
+
endFloor: string;
|
|
88
|
+
isPortal: boolean;
|
|
89
|
+
portalPath: EdgeLine | undefined;
|
|
90
|
+
cost: number;
|
|
91
|
+
description: string | null;
|
|
92
|
+
}
|
|
93
|
+
export interface CalculationResult {
|
|
94
|
+
startNode?: Edge;
|
|
95
|
+
endNode?: Edge;
|
|
96
|
+
routes?: RouteResult[];
|
|
97
|
+
distance?: number;
|
|
98
|
+
}
|
|
99
|
+
export declare enum RouteDimension {
|
|
100
|
+
Edge = "what.route_edge",
|
|
101
|
+
Network = "what.route_network",
|
|
102
|
+
PortalNetwork = "what.link"
|
|
103
|
+
}
|
|
104
|
+
export declare enum PortalType {
|
|
105
|
+
escalator = "escalator",
|
|
106
|
+
lift = "lift",
|
|
107
|
+
liftAnchor = "liftAnchor",
|
|
108
|
+
bus = "airport_transfer",
|
|
109
|
+
skytrain = "skytrain",
|
|
110
|
+
entrance = "entrance",
|
|
111
|
+
exit = "exit",
|
|
112
|
+
staircase = "staircase",
|
|
113
|
+
unknown = ""
|
|
114
|
+
}
|
|
115
|
+
export interface LinkData {
|
|
116
|
+
id: string;
|
|
117
|
+
firstRelatedId: string;
|
|
118
|
+
secondRelatedId: string;
|
|
119
|
+
targetLocalRef: string;
|
|
120
|
+
direction: number;
|
|
121
|
+
wheelchair: boolean;
|
|
122
|
+
cost: number;
|
|
123
|
+
description?: string;
|
|
124
|
+
isNew?: boolean;
|
|
125
|
+
isParallel?: boolean;
|
|
126
|
+
index?: number;
|
|
127
|
+
isAnchor?: boolean;
|
|
128
|
+
whereTaxonomy?: string;
|
|
129
|
+
firstPortalType?: string;
|
|
130
|
+
secondPortalType: string;
|
|
131
|
+
disableEmail?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export type PortalEdgeData = {
|
|
134
|
+
[key: string]: Portal;
|
|
135
|
+
};
|
|
136
|
+
export type PortalLinks = {
|
|
137
|
+
[key: string]: {
|
|
138
|
+
type: PortalType;
|
|
139
|
+
links: Array<any>;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/interfaces.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEvF,eAAO,MAAM,aAAa,WAAW,CAAC;AACtC,eAAO,MAAM,UAAU,OAAO,CAAC;AAE/B,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC;IACnC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,aAAa;IACvB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,QAAQ,KAAK;CACd;AAED,oBAAY,IAAI;IACd,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,QAAQ,CAAC;IACvB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CAC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;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,cAAc,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAI,MAAM,CAAA;CAAC,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAI;QACzC,IAAI,EAAE,UAAU,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;KACnB,CAAA;CAAC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Edge, UserPosition } from './interfaces';
|
|
2
|
+
export declare function getNetworkFeatures(whereDimension: string, includeChildren?: boolean): any;
|
|
3
|
+
export declare function getEdge(mapObjectId: string | UserPosition): Edge | undefined;
|
|
4
|
+
export declare function getPortalDataForDimension(whereDimension: string): any;
|
|
5
|
+
export declare function getPortalDataForMapObjects(mapObjectIds: Set<string>): {
|
|
6
|
+
edgeData?: undefined;
|
|
7
|
+
lines?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
edgeData: any;
|
|
10
|
+
lines: any;
|
|
11
|
+
};
|
|
12
|
+
export declare function getImmigrationPolygonFeaturesForWhereTaxonomy(whereDimension: string): any;
|
|
13
|
+
//# sourceMappingURL=mapObjectsHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapObjectsHelper.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/mapObjectsHelper.ts"],"names":[],"mappings":"AACA,OAAO,EACL,IAAI,EACJ,YAAY,EACb,MAAM,cAAc,CAAC;AAKtB,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,eAAe,UAAO,OAEhF;AAED,wBAAgB,OAAO,CAAC,WAAW,EAAE,MAAM,GAAG,YAAY,GAAI,IAAI,GAAG,SAAS,CAG7E;AAED,wBAAgB,yBAAyB,CAAC,cAAc,EAAE,MAAM,OAG/D;AAED,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC;;;;;;EAGnE;AAED,wBAAgB,6CAA6C,CAAC,cAAc,EAAE,MAAM,OAGnF"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export declare const routeLayers: ({
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
5
|
+
paint: {
|
|
6
|
+
'line-color': string;
|
|
7
|
+
'line-gap-width': number;
|
|
8
|
+
"line-width"?: undefined;
|
|
9
|
+
"circle-radius"?: undefined;
|
|
10
|
+
"circle-opacity"?: undefined;
|
|
11
|
+
'circle-stroke-width'?: undefined;
|
|
12
|
+
'circle-stroke-color'?: undefined;
|
|
13
|
+
'circle-stroke-opacity'?: undefined;
|
|
14
|
+
"circle-color"?: undefined;
|
|
15
|
+
};
|
|
16
|
+
layout: {
|
|
17
|
+
'line-cap': string;
|
|
18
|
+
'line-join': string;
|
|
19
|
+
};
|
|
20
|
+
style?: undefined;
|
|
21
|
+
belowLayerID?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
id: string;
|
|
24
|
+
type: string;
|
|
25
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
26
|
+
style: {
|
|
27
|
+
lineCap: string;
|
|
28
|
+
lineJoin: string;
|
|
29
|
+
lineColor: (string | (string | string[])[])[];
|
|
30
|
+
lineWidth: number;
|
|
31
|
+
lineGapWidth?: undefined;
|
|
32
|
+
circleRadius?: undefined;
|
|
33
|
+
circleOpacity?: undefined;
|
|
34
|
+
circleStrokeWidth?: undefined;
|
|
35
|
+
circleStrokeColor?: undefined;
|
|
36
|
+
circleStrokeOpacity?: undefined;
|
|
37
|
+
circleColor?: undefined;
|
|
38
|
+
};
|
|
39
|
+
paint: {
|
|
40
|
+
'line-color': (string | (string | string[])[])[];
|
|
41
|
+
'line-width': number;
|
|
42
|
+
'line-gap-width'?: undefined;
|
|
43
|
+
"circle-radius"?: undefined;
|
|
44
|
+
"circle-opacity"?: undefined;
|
|
45
|
+
'circle-stroke-width'?: undefined;
|
|
46
|
+
'circle-stroke-color'?: undefined;
|
|
47
|
+
'circle-stroke-opacity'?: undefined;
|
|
48
|
+
"circle-color"?: undefined;
|
|
49
|
+
};
|
|
50
|
+
layout: {
|
|
51
|
+
'line-cap': string;
|
|
52
|
+
'line-join': string;
|
|
53
|
+
};
|
|
54
|
+
belowLayerID: string;
|
|
55
|
+
} | {
|
|
56
|
+
id: string;
|
|
57
|
+
type: string;
|
|
58
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
59
|
+
style: {
|
|
60
|
+
lineCap: string;
|
|
61
|
+
lineJoin: string;
|
|
62
|
+
lineColor: string;
|
|
63
|
+
lineGapWidth: number;
|
|
64
|
+
lineWidth?: undefined;
|
|
65
|
+
circleRadius?: undefined;
|
|
66
|
+
circleOpacity?: undefined;
|
|
67
|
+
circleStrokeWidth?: undefined;
|
|
68
|
+
circleStrokeColor?: undefined;
|
|
69
|
+
circleStrokeOpacity?: undefined;
|
|
70
|
+
circleColor?: undefined;
|
|
71
|
+
};
|
|
72
|
+
paint: {
|
|
73
|
+
'line-color': string;
|
|
74
|
+
'line-gap-width': number;
|
|
75
|
+
"line-width"?: undefined;
|
|
76
|
+
"circle-radius"?: undefined;
|
|
77
|
+
"circle-opacity"?: undefined;
|
|
78
|
+
'circle-stroke-width'?: undefined;
|
|
79
|
+
'circle-stroke-color'?: undefined;
|
|
80
|
+
'circle-stroke-opacity'?: undefined;
|
|
81
|
+
"circle-color"?: undefined;
|
|
82
|
+
};
|
|
83
|
+
layout: {
|
|
84
|
+
'line-cap': string;
|
|
85
|
+
'line-join': string;
|
|
86
|
+
};
|
|
87
|
+
belowLayerID?: undefined;
|
|
88
|
+
} | {
|
|
89
|
+
id: string;
|
|
90
|
+
type: string;
|
|
91
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
92
|
+
style: {
|
|
93
|
+
circleRadius: number;
|
|
94
|
+
circleOpacity: number;
|
|
95
|
+
circleStrokeWidth: number;
|
|
96
|
+
circleStrokeColor: string;
|
|
97
|
+
circleStrokeOpacity: number;
|
|
98
|
+
lineCap?: undefined;
|
|
99
|
+
lineJoin?: undefined;
|
|
100
|
+
lineColor?: undefined;
|
|
101
|
+
lineWidth?: undefined;
|
|
102
|
+
lineGapWidth?: undefined;
|
|
103
|
+
circleColor?: undefined;
|
|
104
|
+
};
|
|
105
|
+
paint: {
|
|
106
|
+
'circle-radius': number;
|
|
107
|
+
'circle-opacity': number;
|
|
108
|
+
'circle-stroke-width': number;
|
|
109
|
+
'circle-stroke-color': string;
|
|
110
|
+
'circle-stroke-opacity': number;
|
|
111
|
+
"line-color"?: undefined;
|
|
112
|
+
'line-gap-width'?: undefined;
|
|
113
|
+
"line-width"?: undefined;
|
|
114
|
+
"circle-color"?: undefined;
|
|
115
|
+
};
|
|
116
|
+
layout?: undefined;
|
|
117
|
+
belowLayerID?: undefined;
|
|
118
|
+
} | {
|
|
119
|
+
id: string;
|
|
120
|
+
type: string;
|
|
121
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
122
|
+
style: {
|
|
123
|
+
circleRadius: number;
|
|
124
|
+
circleColor: string;
|
|
125
|
+
circleOpacity: number;
|
|
126
|
+
lineCap?: undefined;
|
|
127
|
+
lineJoin?: undefined;
|
|
128
|
+
lineColor?: undefined;
|
|
129
|
+
lineWidth?: undefined;
|
|
130
|
+
lineGapWidth?: undefined;
|
|
131
|
+
circleStrokeWidth?: undefined;
|
|
132
|
+
circleStrokeColor?: undefined;
|
|
133
|
+
circleStrokeOpacity?: undefined;
|
|
134
|
+
};
|
|
135
|
+
paint: {
|
|
136
|
+
'circle-color': string;
|
|
137
|
+
'circle-radius': number;
|
|
138
|
+
'circle-opacity': number;
|
|
139
|
+
"line-color"?: undefined;
|
|
140
|
+
'line-gap-width'?: undefined;
|
|
141
|
+
"line-width"?: undefined;
|
|
142
|
+
'circle-stroke-width'?: undefined;
|
|
143
|
+
'circle-stroke-color'?: undefined;
|
|
144
|
+
'circle-stroke-opacity'?: undefined;
|
|
145
|
+
};
|
|
146
|
+
layout?: undefined;
|
|
147
|
+
belowLayerID?: undefined;
|
|
148
|
+
})[];
|
|
149
|
+
export declare const routeAnimateLayers: {
|
|
150
|
+
id: string;
|
|
151
|
+
type: string;
|
|
152
|
+
filter: (string | (string | boolean | string[])[])[];
|
|
153
|
+
style: {
|
|
154
|
+
lineCap: string;
|
|
155
|
+
lineJoin: string;
|
|
156
|
+
lineColor: string;
|
|
157
|
+
lineOpacity: number;
|
|
158
|
+
lineWidth: number;
|
|
159
|
+
};
|
|
160
|
+
paint: {
|
|
161
|
+
'line-color': string;
|
|
162
|
+
'line-width': number;
|
|
163
|
+
'line-opacity': number;
|
|
164
|
+
};
|
|
165
|
+
layout: {
|
|
166
|
+
'line-cap': string;
|
|
167
|
+
'line-join': string;
|
|
168
|
+
};
|
|
169
|
+
isAnimationLayer: boolean;
|
|
170
|
+
}[];
|
|
171
|
+
//# sourceMappingURL=routeLayers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeLayers.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/routeLayers.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsMvB,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;GA2B9B,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Feature, Position } from 'geojson';
|
|
2
|
+
import { UserPosition } from './interfaces';
|
|
3
|
+
export declare enum ManeuverType {
|
|
4
|
+
RouteOverview = "Route Overview",
|
|
5
|
+
SectionOverview = "Section Overview",
|
|
6
|
+
LeftHairPinTurn = "Left hairpin turn",
|
|
7
|
+
RightHairPinTurn = "Right hairpin turn",
|
|
8
|
+
LeftTurn = "Turn left",
|
|
9
|
+
RightTurn = "Turn right",
|
|
10
|
+
ContinueStraight = "Continue straight",
|
|
11
|
+
EnterPortal = "Enter Portal",
|
|
12
|
+
TravelPortal = "Travel Portal",
|
|
13
|
+
ExitPortal = "Exit Portal",
|
|
14
|
+
Static = "Static",
|
|
15
|
+
ChangeZone = "Change Zone",
|
|
16
|
+
PassThroughImmigration = "Pass Through Immigration"
|
|
17
|
+
}
|
|
18
|
+
type Edge = {
|
|
19
|
+
mapObjectId: string;
|
|
20
|
+
whereDimension: string;
|
|
21
|
+
whatDimension: string;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
export interface RouteSegment {
|
|
25
|
+
maneuverType: ManeuverType;
|
|
26
|
+
coordinates: Position[];
|
|
27
|
+
distance: number;
|
|
28
|
+
time: number;
|
|
29
|
+
features: Feature[];
|
|
30
|
+
startEdge: Edge;
|
|
31
|
+
endEdge: Edge;
|
|
32
|
+
isPortal: boolean;
|
|
33
|
+
instructions: string[];
|
|
34
|
+
patchNumber: number;
|
|
35
|
+
whereDimension: string;
|
|
36
|
+
zone: string;
|
|
37
|
+
cost: number;
|
|
38
|
+
description: string | null;
|
|
39
|
+
}
|
|
40
|
+
export interface Route {
|
|
41
|
+
segments: RouteSegment[];
|
|
42
|
+
walkingDistance: number;
|
|
43
|
+
transportDistance: number;
|
|
44
|
+
walkingTime: number;
|
|
45
|
+
transportTime: number;
|
|
46
|
+
distanceUnit: 'meters';
|
|
47
|
+
speed: number;
|
|
48
|
+
}
|
|
49
|
+
export declare function isOverviewSegment(segment: RouteSegment): boolean;
|
|
50
|
+
export declare function highlightRouteSegment(pathFeatures: Feature[], segmentToHighlight: number, highlightNodeOnly?: boolean): Feature<import("geojson").Geometry, {
|
|
51
|
+
[name: string]: any;
|
|
52
|
+
}>[];
|
|
53
|
+
export declare function getLineStringFeaturesOfRouteSegment(routeSegment: RouteSegment, whereDimension?: string): Feature<import("geojson").Geometry, {
|
|
54
|
+
[name: string]: any;
|
|
55
|
+
}>[];
|
|
56
|
+
export declare function generateOverviewSegment(route: Route, indexOffset?: number): any;
|
|
57
|
+
export declare function createRoute(startMapObjectId: string | UserPosition, endMapObjectId: string, wheelChairAccessibleRouteOnly: boolean, shouldAddOverviewSegment?: boolean, indexOffset?: number): Promise<Route>;
|
|
58
|
+
export declare function getPatch(route: Route, patchNumber?: number): Feature<import("geojson").Geometry, {
|
|
59
|
+
[name: string]: any;
|
|
60
|
+
}>[];
|
|
61
|
+
export declare function getFeaturesForPatch(route: Route, patchNumber: number, overviewSegmentInfo: {
|
|
62
|
+
includeOverviewFeatures: boolean;
|
|
63
|
+
patchNumberForOverviewFeatures: number;
|
|
64
|
+
}): Feature<import("geojson").Geometry, {
|
|
65
|
+
[name: string]: any;
|
|
66
|
+
}>[];
|
|
67
|
+
export declare function isMovingPortalTaxonomy(whatDimension: string): boolean;
|
|
68
|
+
export declare function isNonMovingPortalTaxonomy(whatDimension: string): boolean;
|
|
69
|
+
export declare function isPortalTaxonomy(whatDimension: string): boolean;
|
|
70
|
+
export declare function formatTime(value: number): string;
|
|
71
|
+
export declare function generateInstructions(route: Route): void;
|
|
72
|
+
export {};
|
|
73
|
+
//# sourceMappingURL=routing-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routing-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAU5C,OAAO,EAC0C,YAA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AAiB,CAAC,OAAO,EAAE,YAAY,WAEtD;AAiBD,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,OAAO,EAAE,EACvB,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,UAAQ;;KAiB1B;AAgED,wBAAgB,mCAAmC,CACjD,YAAY,EAAE,YAAY,EAC1B,cAAc,SAAK;;KAmBpB;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,SAAI,OAwCpE;AAED,wBAAsB,WAAW,CAC/B,gBAAgB,EAAE,MAAM,GAAG,YAAY,EACvC,cAAc,EAAE,MAAM,EACtB,6BAA6B,EAAE,OAAO,EACtC,wBAAwB,UAAO,EAC/B,WAAW,SAAI,GACd,OAAO,CAAC,KAAK,CAAC,CAshBhB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,SAAI;;KAWrD;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE;IACrB,uBAAuB,EAAG,OAAO,CAAC;IAClC,8BAA8B,EAAE,MAAM,CAAA;CAAC;;KAmCxC;AAYD,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,WAG3D;AACD,wBAAgB,yBAAyB,CAAC,aAAa,EAAE,MAAM,WAG9D;AACD,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,MAAM,WAGrD;AA2GD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,UAGvC;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,QAwIhD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="mapbox__mapbox-gl-draw" />
|
|
2
|
+
import { Feature, LineString, GeoJsonProperties } from 'geojson';
|
|
3
|
+
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
|
4
|
+
import { EdgeLine, Portal, PortalEdgeData, PortalLinks } from './interfaces';
|
|
5
|
+
export declare const minSnapDistance = 0.001;
|
|
6
|
+
type turfLineString = Feature<LineString, GeoJsonProperties>;
|
|
7
|
+
export declare function findIntersectionsWithSuperset(a: turfLineString[], b: turfLineString[]): turfLineString[];
|
|
8
|
+
export declare function optimized(a: turfLineString[], b: turfLineString[]): void;
|
|
9
|
+
export declare function markAsModified(features: Array<Feature>, mapBoxDraw: MapboxDraw): void;
|
|
10
|
+
export declare function getFirstPointFeature(features: Feature[]): Feature | undefined;
|
|
11
|
+
export declare function getParentDimension(dimension: string): string;
|
|
12
|
+
export declare function getPortalEdgeData(portalLinks: PortalLinks): {
|
|
13
|
+
edgeData: {
|
|
14
|
+
[key: string]: Portal;
|
|
15
|
+
};
|
|
16
|
+
lines: EdgeLine[];
|
|
17
|
+
};
|
|
18
|
+
export declare function filterPortalEdgeDataByWhere(allPortalEdgeData: PortalEdgeData, whereDimension: string): {
|
|
19
|
+
edgeData: {
|
|
20
|
+
[key: string]: Portal;
|
|
21
|
+
};
|
|
22
|
+
lines: EdgeLine[];
|
|
23
|
+
};
|
|
24
|
+
export declare function filterPortalEdgeDataByList(allPortalEdgeData: PortalEdgeData, portalIdList: Set<string>): {
|
|
25
|
+
edgeData: {
|
|
26
|
+
[key: string]: Portal;
|
|
27
|
+
};
|
|
28
|
+
lines: EdgeLine[];
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/routing-core/utils.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAS,MAAM,SAAS,CAAC;AAUxE,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAIhD,OAAO,EACL,QAAQ,EAAE,MAAM,EAAc,cAAc,EAAE,WAAW,EAC1D,MAAM,cAAc,CAAC;AAKtB,eAAO,MAAM,eAAe,QAAO,CAAC;AACpC,KAAK,cAAc,GAAG,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC;AAkF7D,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,CAAC,EAAE,cAAc,EAAE,oBA2BrF;AAGD,wBAAgB,SAAS,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,CAAC,EAAE,cAAc,EAAE,QAmCjE;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,UAAU,QAU9E;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAI,OAAO,GAAG,SAAS,CAW9E;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,UAKnD;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW;;;;;EAmNzD;AAED,wBAAgB,2BAA2B,CAAC,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM;;;;;EAoBpG;AAED,wBAAgB,0BAA0B,CAAC,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC;;;;;EAmBtG"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const whatTaxonomies: {
|
|
2
|
+
readonly food: readonly ["what.shop.food_anchor", "what.shop.food"];
|
|
3
|
+
readonly fun: readonly ["what.shop.fun"];
|
|
4
|
+
readonly retail: readonly ["what.shop.retail_anchor", "what.shop.retail"];
|
|
5
|
+
readonly carpark: readonly ["what.infra.carpark"];
|
|
6
|
+
readonly entrance: readonly ["what.infra.entrance"];
|
|
7
|
+
readonly exit: readonly ["what.infra.exit"];
|
|
8
|
+
readonly escalator: readonly ["what.infra.escalator"];
|
|
9
|
+
readonly lift: readonly ["what.infra.lift"];
|
|
10
|
+
readonly stairs: readonly ["what.infra.stairs"];
|
|
11
|
+
readonly "bicycle parking": readonly ["what.infra.parking_bike"];
|
|
12
|
+
readonly "bicycle locker": readonly ["what.infra.parking_bike_locked"];
|
|
13
|
+
readonly "airport transfer": readonly ["what.service.airport_transfer"];
|
|
14
|
+
readonly immigration: readonly ["what.service.immigration"];
|
|
15
|
+
readonly "ground transport concierge": readonly ["what.service.ground_transport_concierge"];
|
|
16
|
+
readonly "tax refund": readonly ["what.service.tax_refund"];
|
|
17
|
+
readonly information: readonly ["what.service.information"];
|
|
18
|
+
readonly "baggage claim": readonly ["what.service.baggage_claim"];
|
|
19
|
+
readonly "baggage storage": readonly ["what.service.baggage_storage"];
|
|
20
|
+
readonly checkin: readonly ["what.service.checkin"];
|
|
21
|
+
readonly "checkin early": readonly ["what.service.checkin_early"];
|
|
22
|
+
readonly "money exchange": readonly ["what.service.money_exchange"];
|
|
23
|
+
readonly "movie theatre": readonly ["what.service.movie_theatre"];
|
|
24
|
+
readonly "changi rewards": readonly ["what.service.changi_rewards"];
|
|
25
|
+
readonly "connect changi": readonly ["what.service.connect_changi"];
|
|
26
|
+
readonly "attraction tour": readonly ["what.service.attraction_tour"];
|
|
27
|
+
readonly atm: readonly ["what.service.atm"];
|
|
28
|
+
readonly "charging point": readonly ["what.service.device_charging"];
|
|
29
|
+
readonly internet: readonly ["what.service.internet"];
|
|
30
|
+
readonly clinic: readonly ["what.service.clinic"];
|
|
31
|
+
readonly "lost and found": readonly ["what.service.lost_and_found"];
|
|
32
|
+
readonly post: readonly ["what.service.post"];
|
|
33
|
+
readonly "airline lounge": readonly ["what.service.airline_lounge"];
|
|
34
|
+
readonly "changi lounge": readonly ["what.service.lounge_changi"];
|
|
35
|
+
readonly "pay per use lounge": readonly ["what.service.pay_per_use_lounge"];
|
|
36
|
+
readonly "tv lounge": readonly ["what.service.tv_lounge"];
|
|
37
|
+
readonly lodging: readonly ["what.service.lodging"];
|
|
38
|
+
readonly "meditation room": readonly ["what.service.meditation_room"];
|
|
39
|
+
readonly "prayer room": readonly ["what.service.prayer_room"];
|
|
40
|
+
readonly "rest area": readonly ["what.service.rest_area"];
|
|
41
|
+
readonly "smoking area": readonly ["what.service.smoking_area"];
|
|
42
|
+
readonly "adult diaper change": readonly ["what.service.adult_diaper_change"];
|
|
43
|
+
readonly "baby care": readonly ["what.service.baby_care"];
|
|
44
|
+
readonly shower: readonly ["what.service.shower"];
|
|
45
|
+
readonly toilet: readonly ["what.service.toilet"];
|
|
46
|
+
readonly "toilet accessible": readonly ["what.service.toilet_accessible"];
|
|
47
|
+
readonly "transit entry": readonly ["what.transit.transit_entry"];
|
|
48
|
+
readonly "transit exit": readonly ["what.transit.transit_exit"];
|
|
49
|
+
readonly bus: readonly ["what.transport.bus", "what.transport.type_bus"];
|
|
50
|
+
readonly "meeting point": readonly ["what.transport.meeting_point"];
|
|
51
|
+
readonly pickup: readonly ["what.transport.pickup"];
|
|
52
|
+
readonly skytrain: readonly ["what.transport.skytrain"];
|
|
53
|
+
readonly "taxi queue": readonly ["what.transport.taxi_queue"];
|
|
54
|
+
readonly train: readonly ["what.transport.train"];
|
|
55
|
+
readonly "airplane gate": readonly ["what.airplane_gate"];
|
|
56
|
+
readonly security: readonly ["what.security"];
|
|
57
|
+
};
|
|
58
|
+
export default whatTaxonomies;
|
|
59
|
+
//# sourceMappingURL=whatTaxonomies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"whatTaxonomies.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/MetaAtlasCore/whatTaxonomies.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyKV,CAAC;AAEX,eAAe,cAAc,CAAC"}
|