@mappedin/viewer 0.59.5 → 0.59.6-901149a.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.
|
@@ -6,6 +6,7 @@ export type TLoadDataOptions = Partial<{
|
|
|
6
6
|
onMVFParsed: (mvf: ParsedMVF) => void;
|
|
7
7
|
featureFlagStore: FeatureFlagStore;
|
|
8
8
|
omitNodes?: boolean;
|
|
9
|
+
workerNodeGraph?: boolean;
|
|
9
10
|
}> & THydrateDataOptions;
|
|
10
11
|
/**
|
|
11
12
|
* Load a public MVF while bypassing the need for API keys.
|
|
@@ -79,6 +79,10 @@ export type TStartViewerCommonOptions = {
|
|
|
79
79
|
* Option to get directions from an online directions service.
|
|
80
80
|
*/
|
|
81
81
|
onlineDirections?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Option that uses SDKS's experimental node graph worker that should reduce map loading time
|
|
84
|
+
*/
|
|
85
|
+
workerNodeGraph?: boolean;
|
|
82
86
|
/**
|
|
83
87
|
* Show the debug panel.
|
|
84
88
|
*/
|
|
@@ -22,6 +22,7 @@ export declare enum E_FEATURE_FLAGS {
|
|
|
22
22
|
DEFAULT_LANGUAGE = "default-language",
|
|
23
23
|
DYNAMIC_FOCUS_BUILDING_CHANGE_MODE = "dynamic-focus-building-change-mode",
|
|
24
24
|
ONLINE_DIRECTIONS = "online-directions",
|
|
25
|
+
WORKER_NODE_GRAPH = "worker-node-graph",
|
|
25
26
|
PATH_SMOOTHING_ALGORITHM = "path-smoothing-algorithm"
|
|
26
27
|
}
|
|
27
28
|
type TFeatureFlagPayloads = {
|
|
@@ -38,6 +39,7 @@ type TFeatureFlagPayloads = {
|
|
|
38
39
|
[E_FEATURE_FLAGS.DEFAULT_LANGUAGE]: Record<string, string>;
|
|
39
40
|
[E_FEATURE_FLAGS.DYNAMIC_FOCUS_BUILDING_CHANGE_MODE]: Record<string, DynamicFocusMode>;
|
|
40
41
|
[E_FEATURE_FLAGS.ONLINE_DIRECTIONS]: boolean;
|
|
42
|
+
[E_FEATURE_FLAGS.WORKER_NODE_GRAPH]: boolean;
|
|
41
43
|
[E_FEATURE_FLAGS.PATH_SMOOTHING_ALGORITHM]: string;
|
|
42
44
|
};
|
|
43
45
|
type TFeatureFlag<Key extends E_FEATURE_FLAGS> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mappedin/viewer",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.6-901149a.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"browser": "./dist/index.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@ladle/react": "^5.0.3",
|
|
21
|
-
"@mappedin/blue-dot": "6.
|
|
22
|
-
"@mappedin/dynamic-focus": "6.
|
|
23
|
-
"@mappedin/mappedin-js": "6.
|
|
21
|
+
"@mappedin/blue-dot": "6.24.1-pr-1669-sdk-room-1-66093a60.0",
|
|
22
|
+
"@mappedin/dynamic-focus": "6.24.1-pr-1669-sdk-room-1-66093a60.0",
|
|
23
|
+
"@mappedin/mappedin-js": "6.24.2-pr-1669-sdk-room-1-66093a60.0",
|
|
24
24
|
"@mappedin/mvf": "3.0.0-69b7308.0",
|
|
25
25
|
"@mappedin/self-serve-icons": "1.105.0-alpha.SRV-2719-add-bleed-kit-annotation.1754600609",
|
|
26
26
|
"@napi-rs/canvas": "^0.1.89",
|