@mappedin/mappedin-js 5.39.2 → 5.40.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/lib/esm/get-venue/index.d.ts +5 -5
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-I2OMW6PG.js → GLTFExporter-4VJ5OOOO.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-FEVGB5E2.js → PerformanceController-HEOODSHY.js} +1 -1
- package/lib/esm/renderer/{browser-LSTO6YXP.js → browser-FRXWDG7R.js} +1 -1
- package/lib/esm/renderer/chunk-5EJA5P3H.js +1 -0
- package/lib/esm/renderer/{chunk-NOVHOL33.js → chunk-W2TD6U3Z.js} +1 -1
- package/lib/esm/renderer/index.d.ts +21 -10
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-ESR4QFBP.js → outdoor-context-L4D7PYG3.js} +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +2 -2
- package/lib/esm/renderer/chunk-CQO5KFXZ.js +0 -1
|
@@ -5170,14 +5170,14 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin' {
|
|
|
5170
5170
|
* @param languageCode The language code to change to
|
|
5171
5171
|
* @param cache Whether or not to cache the current language so it doesn't need to be re-fetched
|
|
5172
5172
|
*/
|
|
5173
|
-
changeLanguage(languageCode: string, cache?: boolean)
|
|
5173
|
+
changeLanguage: (languageCode: string, cache?: boolean) => Promise<void>;
|
|
5174
5174
|
/**
|
|
5175
5175
|
*
|
|
5176
5176
|
* @experimental Hydrate the Mappedin instance using a response from either {@link Mappedin.toString}, {@link getVenueBundle} or by downloading the bundle manually
|
|
5177
5177
|
* @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
|
|
5178
5178
|
* @param shouldPopulateBundledImagesAsBlobs Takes the scenes and images from a bundle and maps them as blobs to where they exist as URLs in the bundle. False by default
|
|
5179
5179
|
*/
|
|
5180
|
-
hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean)
|
|
5180
|
+
hydrate: (mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean) => Promise<undefined>;
|
|
5181
5181
|
images: any;
|
|
5182
5182
|
imageBinaries?: Map<string, Uint8Array>;
|
|
5183
5183
|
scenes: any;
|
|
@@ -5194,11 +5194,11 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin' {
|
|
|
5194
5194
|
/**
|
|
5195
5195
|
* Export venue data to JSON (for storage, encryption, etc)
|
|
5196
5196
|
*/
|
|
5197
|
-
toJSON()
|
|
5197
|
+
toJSON: () => any;
|
|
5198
5198
|
/**
|
|
5199
5199
|
* Export venue data to String
|
|
5200
5200
|
*/
|
|
5201
|
-
toString()
|
|
5201
|
+
toString: () => string;
|
|
5202
5202
|
}
|
|
5203
5203
|
}
|
|
5204
5204
|
|
|
@@ -6416,7 +6416,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
6416
6416
|
declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewController' {
|
|
6417
6417
|
import './OutdoorViewController.scss';
|
|
6418
6418
|
import type { ICore } from '@mappedin/mappedin-js/renderer/internal';
|
|
6419
|
-
import { XOR } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
6419
|
+
import type { XOR } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
6420
6420
|
/**
|
|
6421
6421
|
* Represents the possible positions for map attribution.
|
|
6422
6422
|
*/
|
|
@@ -6445,6 +6445,11 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6445
6445
|
headers: {
|
|
6446
6446
|
[key: string]: string | null;
|
|
6447
6447
|
};
|
|
6448
|
+
/**
|
|
6449
|
+
* Outdoor map layers which should be hidden under the indoor geometry.
|
|
6450
|
+
* @default ['building-top']
|
|
6451
|
+
*/
|
|
6452
|
+
layersHiddenByGeometry?: string[];
|
|
6448
6453
|
};
|
|
6449
6454
|
/**
|
|
6450
6455
|
* Defines the options for an Outdoor View when initialized with a URL for authentication.
|
|
@@ -6468,6 +6473,11 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6468
6473
|
* @default 'bottom-right'
|
|
6469
6474
|
*/
|
|
6470
6475
|
attributionPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
6476
|
+
/**
|
|
6477
|
+
* Outdoor map layers which should be hidden under the indoor geometry.
|
|
6478
|
+
* @default ['building-top']
|
|
6479
|
+
*/
|
|
6480
|
+
layersHiddenByGeometry?: string[];
|
|
6471
6481
|
};
|
|
6472
6482
|
/**
|
|
6473
6483
|
* Defines the options for initializing an Outdoor View.
|
|
@@ -6496,6 +6506,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6496
6506
|
headers?: TOutdoorViewOptions['headers'];
|
|
6497
6507
|
customAttribution?: string | string[];
|
|
6498
6508
|
attributionPosition?: TAttributionPosition;
|
|
6509
|
+
userHiddenLayers: string[];
|
|
6499
6510
|
loaded: boolean;
|
|
6500
6511
|
constructor(core: ICore, options?: TOutdoorViewOptions);
|
|
6501
6512
|
module: any;
|
|
@@ -7660,7 +7671,7 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.TaskScheduler' {
|
|
|
7660
7671
|
|
|
7661
7672
|
declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.SceneManager' {
|
|
7662
7673
|
import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
|
|
7663
|
-
import type { ICore, TCameraAnimationOptions, TFocusOnCameraOptions, TCameraTargets } from '@mappedin/mappedin-js/renderer/internal';
|
|
7674
|
+
import type { ICore, TCameraAnimationOptions, TFocusOnCameraOptions, TCameraTargets, MapViewStackScene } from '@mappedin/mappedin-js/renderer/internal';
|
|
7664
7675
|
import { MapObject, MapViewScene } from '@mappedin/mappedin-js/renderer/internal';
|
|
7665
7676
|
export type TSceneTransitionOptions = {
|
|
7666
7677
|
/**
|
|
@@ -7688,7 +7699,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Sce
|
|
|
7688
7699
|
};
|
|
7689
7700
|
class SceneManager {
|
|
7690
7701
|
core: ICore;
|
|
7691
|
-
currentScene: MapViewScene;
|
|
7702
|
+
currentScene: MapViewScene | MapViewStackScene;
|
|
7692
7703
|
/**
|
|
7693
7704
|
* MapObjects that have been loaded and positioned in the scene
|
|
7694
7705
|
*/
|
|
@@ -8344,10 +8355,10 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Sta
|
|
|
8344
8355
|
computeMapZ(mo: MapObject, index: number, transitionOptions?: TSceneTransitionOptions): number;
|
|
8345
8356
|
prepare(sceneManager: SceneManager, transitionOptions?: TSceneTransitionOptions): Promise<void>;
|
|
8346
8357
|
postRender(): void;
|
|
8347
|
-
expandMaps(mapObjects: MapObject[], transitionOptions: TSceneTransitionOptions)
|
|
8358
|
+
expandMaps: (mapObjects: MapObject[], transitionOptions: TSceneTransitionOptions) => {
|
|
8348
8359
|
start: () => Promise<void[]>;
|
|
8349
8360
|
};
|
|
8350
|
-
contractMaps(currentMapObject?: MapObject)
|
|
8361
|
+
contractMaps: (currentMapObject?: MapObject | undefined) => {
|
|
8351
8362
|
start: () => Promise<void[]>;
|
|
8352
8363
|
};
|
|
8353
8364
|
scrollToMap: (map: MappedinMap, duration?: number) => Promise<unknown>;
|
|
@@ -11107,7 +11118,7 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinMap' {
|
|
|
11107
11118
|
static hydrate(maps: any, mappedin: Mappedin): MappedinMap[];
|
|
11108
11119
|
static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
|
|
11109
11120
|
static fetch(mappedin: Mappedin): Promise<MappedinMap[]>;
|
|
11110
|
-
get center():
|
|
11121
|
+
get center(): MappedinCoordinate;
|
|
11111
11122
|
toJSON(): any;
|
|
11112
11123
|
}
|
|
11113
11124
|
}
|