@mappedin/mappedin-js 5.42.1 → 5.44.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.
@@ -0,0 +1 @@
1
+ import{b as a}from"./chunk-ZRT45YCM.js";var e,c=a((()=>{e={env:{NODE_ENV:"production",npm_package_version:"5.44.0"}}}));export{c as a,e as b};
@@ -1153,13 +1153,13 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedi
1153
1153
  }
1154
1154
 
1155
1155
  declare module '@mappedin/mappedin-js/renderer/MapView.types' {
1156
- import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon, ThingsOption } from '@mappedin/mappedin-js/get-venue';
1156
+ import type { MAP_RENDER_MODE, Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon, ThingsOption } from '@mappedin/mappedin-js/get-venue';
1157
1157
  import type { TFloatingLabelAppearance } from '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel';
1158
1158
  import type { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
1159
1159
  import type { Euler, Object3D, Vector3 } from 'three';
1160
1160
  import type { Path } from '@mappedin/mappedin-js/renderer/private/controllers/PathsController';
1161
1161
  import { TOOLTIP_ANCHOR } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip';
1162
- import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON } from '@mappedin/mappedin-js/renderer/MapView.enums';
1162
+ import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON, STACKED_MAPS_STATE } from '@mappedin/mappedin-js/renderer/MapView.enums';
1163
1163
  import { TOutdoorViewOptions, TOutdoorViewOptionsWithHeaders, TOutdoorViewOptionsWithAuthURL } from '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewController';
1164
1164
  export type { TEnableBlueDotOptions, TFloatingLabelAppearance, ThingsOption };
1165
1165
  /** @internal */
@@ -1220,12 +1220,12 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
1220
1220
  * Radius of path at nearest zoom, in metres.
1221
1221
  * @defaultValue 1.8
1222
1222
  */
1223
- nearRadius?: number;
1223
+ nearRadius?: number | (() => number);
1224
1224
  /**
1225
1225
  * Radius of path at furthest zoom, in metres.
1226
1226
  * @defaultValue 2.3 times nearRadius
1227
1227
  */
1228
- farRadius?: number;
1228
+ farRadius?: number | (() => number);
1229
1229
  /**
1230
1230
  * Zoom level where the path size is `nearRadius`.
1231
1231
  * @defaultValue 375
@@ -1370,6 +1370,12 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
1370
1370
  * Path Options for map to map vertical paths.
1371
1371
  */
1372
1372
  connectionPathOptions?: TPathOptions;
1373
+ overviewPathOptions?: TPathOptions;
1374
+ overviewPathOnConnectionsOptions?: TPathOptions;
1375
+ showOverviewPathOnMap?: MappedinMap;
1376
+ overviewPathMode?: 'always' | 'current-elevation-and-mapgroup';
1377
+ overviewInactivePathSizeFactor?: number;
1378
+ overviewPathInactiveColor?: string;
1373
1379
  };
1374
1380
  export const labelThemes: {
1375
1381
  lightOnDark: {
@@ -2338,6 +2344,7 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
2338
2344
  map: MappedinMap;
2339
2345
  reason?: E_MAP_CHANGED_REASON;
2340
2346
  };
2347
+ [E_SDK_EVENT.STACKED_MAPS_STATE_CHANGE]: STACKED_MAPS_STATE;
2341
2348
  };
2342
2349
  /**
2343
2350
  * Arguments that get passed to listeners of an {@link E_BLUEDOT_EVENT}.
@@ -2526,9 +2533,12 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/PathsControll
2526
2533
  export type TPathOptionsInternal = TPathOptions & {
2527
2534
  curve?: typeof ANIMATION_TWEENS;
2528
2535
  drawConnectionSegments?: boolean;
2536
+ dashed?: boolean;
2529
2537
  connectionPathOptions?: TPathOptions & {
2530
2538
  curve?: typeof ANIMATION_TWEENS;
2531
2539
  };
2540
+ alwaysVisible?: boolean;
2541
+ zOffset?: number;
2532
2542
  };
2533
2543
  /**
2534
2544
  * @hidden
@@ -2645,6 +2655,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/PathsControll
2645
2655
  removeAllPaths(): void;
2646
2656
  }
2647
2657
  export default PathsController;
2658
+ export function getRadius<T extends number | (() => number) | undefined>(v: T): T extends number | (() => number) ? number : undefined;
2648
2659
  }
2649
2660
 
2650
2661
  declare module '@mappedin/mappedin-js/renderer/private/controllers/FloatingLabelsController' {
@@ -4024,7 +4035,11 @@ declare module '@mappedin/mappedin-js/renderer/MapView.enums' {
4024
4035
  * Use this event to create a loading screen that ensures outdoor view is fully loaded and rendered.
4025
4036
  * @experimental
4026
4037
  */
4027
- OUTDOOR_VIEW_LOADED = "OUTDOOR_VIEW_LOADED"
4038
+ OUTDOOR_VIEW_LOADED = "OUTDOOR_VIEW_LOADED",
4039
+ /**
4040
+ * Emitted when the stacked maps state changes
4041
+ */
4042
+ STACKED_MAPS_STATE_CHANGE = "STACKED_MAPS_STATE_CHANGE"
4028
4043
  }
4029
4044
  /**
4030
4045
  * @enum
@@ -4066,7 +4081,6 @@ declare module '@mappedin/mappedin-js/renderer/MapView.enums' {
4066
4081
  */
4067
4082
  CHANGED = "CHANGED"
4068
4083
  }
4069
- export { MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
4070
4084
  export enum E_CAMERA_DIRECTION {
4071
4085
  UP = "up",
4072
4086
  DOWN = "down",
@@ -4284,14 +4298,15 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/WatermarkCont
4284
4298
 
4285
4299
  declare module '@mappedin/mappedin-js/renderer/internal' {
4286
4300
  import { Texture } from 'three';
4287
- import { STATE } from '@mappedin/mappedin-js/renderer/MapView.enums';
4301
+ import { STACKED_MAPS_STATE, STATE } from '@mappedin/mappedin-js/renderer/MapView.enums';
4288
4302
  import { TMapClickEvent } from '@mappedin/mappedin-js/renderer/MapView.types';
4289
4303
  import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
4290
4304
  import { Vector3 } from '@mappedin/mvf';
4291
4305
  export { MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode, MappedinLocation, MappedinVenue, } from '@mappedin/mappedin-js/get-venue';
4292
4306
  export type { TEnableBlueDotOptions, TFloatingLabelAppearance, TGeolocationObject, TPathOptions, TConnectionProps, TConnectionTemplateFn, TMarkerTemplateProps, TMarkerTemplateFn, TJourneyOptions, TPadding, TCreateMarkerOptions, TAnimationOptions, TCreateTooltipInternalOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TCreateTextTooltipOptions, TCreateCustomInnerHTMLTooltipOptions, TCreateCustomTooltipOptions, TCreateThreeDMarkerOptions, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TMapViewOptionsLegacy, TFlatLabelOptions, TFlatLabelAppearance, TFloatingLabelPolygonOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TLabelAllLocationCommonOptions, TLabelAllLocationFloatingLabelOptions, TLabelAllLocationFlatLabelOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, changeListenerFn, TMapClickEvent, E_SDK_EVENT_PAYLOAD, E_BLUEDOT_EVENT_PAYLOAD, CAMERA_EVENT_PAYLOAD, } from '@mappedin/mappedin-js/renderer/MapView.types';
4293
4307
  export { labelThemes } from '@mappedin/mappedin-js/renderer/MapView.types';
4294
- export { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, E_BLUEDOT_STATE_REASON, E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, CAMERA_EASING_MODE, MAP_RENDER_MODE, ANIMATION_TWEENS, STACKED_MAPS_STATE, } from '@mappedin/mappedin-js/renderer/MapView.enums';
4308
+ export { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, E_BLUEDOT_STATE_REASON, E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, CAMERA_EASING_MODE, ANIMATION_TWEENS, STACKED_MAPS_STATE, } from '@mappedin/mappedin-js/renderer/MapView.enums';
4309
+ export { MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
4295
4310
  export { default as JSONSceneLoader } from '@mappedin/mappedin-js/renderer/internal/json-scene-loader';
4296
4311
  export { default as RENDER } from '@mappedin/mappedin-js/renderer/internal/Mappedin.RenderTasks';
4297
4312
  export { FrameUpdate, FrameTask, TaskScheduler } from '@mappedin/mappedin-js/get-venue/Mappedin.TaskScheduler';
@@ -4340,7 +4355,8 @@ declare module '@mappedin/mappedin-js/renderer/internal' {
4340
4355
  OUTDOOR_VIEW_LOADED = 31,
4341
4356
  LAYER_VISIBILITY_CHANGED = 32,
4342
4357
  USER_INTERACTION_START = 33,
4343
- USER_INTERACTION_END = 34
4358
+ USER_INTERACTION_END = 34,
4359
+ STACKED_MAPS_STATE_CHANGE = 35
4344
4360
  }
4345
4361
  export type INTERNAL_EVENT_PAYLOAD = {
4346
4362
  [INTERNAL_EVENT.SET_SCENE_START]: undefined;
@@ -4392,6 +4408,7 @@ declare module '@mappedin/mappedin-js/renderer/internal' {
4392
4408
  [INTERNAL_EVENT.SCENE_VISIBLITY_CHANGED]: undefined;
4393
4409
  [INTERNAL_EVENT.USER_INTERACTION_START]: undefined;
4394
4410
  [INTERNAL_EVENT.USER_INTERACTION_END]: undefined;
4411
+ [INTERNAL_EVENT.STACKED_MAPS_STATE_CHANGE]: STACKED_MAPS_STATE;
4395
4412
  };
4396
4413
  /**
4397
4414
  * Factories
@@ -5517,6 +5534,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinLocation' {
5517
5534
  */
5518
5535
  export class MappedinLocation extends MappedinNavigatable {
5519
5536
  #private;
5537
+ static readonly __type = "MappedinLocation";
5538
+ readonly __type = "MappedinLocation";
5539
+ static is(instance: object): instance is MappedinLocation;
5520
5540
  states: TLocation['states'];
5521
5541
  id: string;
5522
5542
  name: string;
@@ -5621,6 +5641,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinCoordinate' {
5621
5641
  */
5622
5642
  export class MappedinCoordinate {
5623
5643
  #private;
5644
+ static readonly __type = "MappedinCoordinate";
5645
+ readonly __type = "MappedinCoordinate";
5646
+ static is(instance: object): instance is MappedinCoordinate;
5624
5647
  /**
5625
5648
  * The Map that the Node is located on.
5626
5649
  *
@@ -5895,6 +5918,7 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.OfflineSearch' {
5895
5918
  */
5896
5919
  weight?: number;
5897
5920
  }): Promise<void>;
5921
+ destroy(): void;
5898
5922
  }
5899
5923
  }
5900
5924
 
@@ -6859,12 +6883,13 @@ declare module '@mappedin/mappedin-js/renderer/index.rn' {
6859
6883
  export type { ThingsOption } from '@mappedin/mappedin-js/renderer/MapView.types';
6860
6884
  export type { IFlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
6861
6885
  export type { IFloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
6862
- export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, TShowVenueOptions, } from '@mappedin/mappedin-js/renderer/MapView.types';
6886
+ export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, TShowVenueOptions, TAnimationOptions, } from '@mappedin/mappedin-js/renderer/MapView.types';
6863
6887
  export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
6864
6888
  export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
6865
- export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, } from '@mappedin/mappedin-js/get-venue';
6889
+ export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TDirectionToOptions, } from '@mappedin/mappedin-js/get-venue';
6866
6890
  export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, GET_VENUE_EVENT, } from '@mappedin/mappedin-js/get-venue';
6867
6891
  export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, TCameraInteractionsSetOptions, } from '@mappedin/mappedin-js/renderer/private/controllers/CameraController';
6892
+ export { MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue/Mappedin.enums';
6868
6893
  }
6869
6894
 
6870
6895
  declare module '@mappedin/mappedin-js/renderer/internal/outdoor-context/Mappedin.Tile' {
@@ -7188,7 +7213,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/json-scene-loader' {
7188
7213
  import { Element } from '@mappedin/mappedin-js/renderer/internal';
7189
7214
  import DefaultAssetManager from '@mappedin/mappedin-js/renderer/internal/Mappedin.AssetManager';
7190
7215
  import { MappedinMap, MappedinPolygon } from '@mappedin/mappedin-js/renderer/internal';
7191
- import { MAP_RENDER_MODE } from '@mappedin/mappedin-js/renderer/MapView.enums';
7216
+ import { type MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
7192
7217
  class JSONSceneLoader {
7193
7218
  defaultExtrudeSettings: {
7194
7219
  amount: number;
@@ -8099,7 +8124,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.MapObject' {
8099
8124
  * to postpone its tasks.
8100
8125
  * @param persistImages - if true, image meshes will not be set visible = false
8101
8126
  */
8102
- onInvisible(persistImages?: boolean): void;
8127
+ onInvisible(persistImages?: boolean, persistPaths?: boolean): void;
8103
8128
  /**
8104
8129
  * Queue a task on this map that will be executed when the high and low
8105
8130
  * priority tasks have been processed.
@@ -8193,6 +8218,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.CameraLayers' {
8193
8218
  let STATIC: number;
8194
8219
  let ANIMATED: number;
8195
8220
  let ALWAYS_ON_TOP: number;
8221
+ let ANIMATED_BACKGROUND: number;
8196
8222
  }
8197
8223
  }
8198
8224
 
@@ -8474,7 +8500,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Element' {
8474
8500
  import { MeshLambertMaterial, Mesh, ExtrudeGeometry, Vector3, Texture, Group } from 'three';
8475
8501
  import { PubSub } from '@mappedin/mappedin-js/renderer/internal/pub-sub';
8476
8502
  import { AssetManager, MappedinMap, MappedinPolygon } from '@mappedin/mappedin-js/renderer/internal';
8477
- import { MAP_RENDER_MODE } from '@mappedin/mappedin-js/renderer/MapView.enums';
8503
+ import { MAP_RENDER_MODE } from '@mappedin/mappedin-js/get-venue';
8478
8504
  class Element extends PubSub {
8479
8505
  polygon: MappedinPolygon;
8480
8506
  mapClass: MappedinMap;
@@ -9209,6 +9235,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/StackedMapsCo
9209
9235
  transitionResolved: any;
9210
9236
  disable: () => Promise<void>;
9211
9237
  enable: (opts?: TStackedMapsOptions) => Promise<void>;
9238
+ publishChangeEvent: () => void;
9212
9239
  get nodesInJourneyOrMap(): MappedinNode[];
9213
9240
  showOverview: (animationOptions?: TCameraAnimationOptions) => Promise<void>;
9214
9241
  scrollToMap: (map: MappedinMap, duration?: number) => Promise<void>;
@@ -9452,6 +9479,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Renderer' {
9452
9479
  mapboxOutdoorContext: any;
9453
9480
  staticSceneRenderTarget: WebGLRenderTarget<Texture> | undefined;
9454
9481
  animatedSceneRenderTarget: WebGLRenderTarget<Texture> | undefined;
9482
+ animatedSceneBackgroundRenderTarget: WebGLRenderTarget<Texture> | undefined;
9455
9483
  alwaysOnTopSceneRenderTarget: WebGLRenderTarget<Texture> | undefined;
9456
9484
  outdoorViewRenderTarget: WebGLRenderTarget<Texture> | undefined;
9457
9485
  populateRenderTarget(renderTarget: any): void;
@@ -9464,6 +9492,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.Renderer' {
9464
9492
  * Dispose of the renderer and its buffers.
9465
9493
  */
9466
9494
  destroy(): void;
9495
+ renderToAnimatedBackgroundBuffer(scene: any, sceneCamera: any): void;
9467
9496
  /**
9468
9497
  * Render the provided scene using the given camera, re-rendering only
9469
9498
  * the animated parts.
@@ -9577,6 +9606,8 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/JourneyContro
9577
9606
  constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions | undefined, core: Core);
9578
9607
  setStep: (step: any) => void;
9579
9608
  setStepByPath: (path: Path) => void;
9609
+ overviewPathMode: 'never' | 'always' | 'current-elevation-and-mapgroup';
9610
+ setOverviewPathMode(mode: 'never' | 'always' | 'current-elevation-and-mapgroup'): void;
9580
9611
  static instance: JourneyController | null;
9581
9612
  static create(directions: MappedinDirections | MappedinDirections[], options: any, core: Core): JourneyController;
9582
9613
  destroy(): void;
@@ -10593,6 +10624,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinNode' {
10593
10624
  */
10594
10625
  export class MappedinNode extends MappedinNavigatable {
10595
10626
  #private;
10627
+ static readonly __type = "MappedinNode";
10628
+ readonly __type = "MappedinNode";
10629
+ static is(instance: object): instance is MappedinNode;
10596
10630
  /**
10597
10631
  * Node ID.
10598
10632
  * @property id {string}
@@ -10676,6 +10710,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinPolygon' {
10676
10710
  */
10677
10711
  export class MappedinPolygon extends MappedinNavigatable {
10678
10712
  #private;
10713
+ static readonly __type = "MappedinPolygon";
10714
+ readonly __type = "MappedinPolygon";
10715
+ static is(instance: object): instance is MappedinPolygon;
10679
10716
  geometry: any;
10680
10717
  perspectives?: any;
10681
10718
  image?: {
@@ -10843,6 +10880,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinCategory' {
10843
10880
  */
10844
10881
  export class MappedinCategory {
10845
10882
  #private;
10883
+ static readonly __type = "MappedinCategory";
10884
+ readonly __type = "MappedinCategory";
10885
+ static is(instance: object): instance is MappedinCategory;
10846
10886
  name?: string | undefined;
10847
10887
  externalId?: string | undefined;
10848
10888
  parents?: string[] | undefined;
@@ -10892,6 +10932,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinVortex' {
10892
10932
  */
10893
10933
  export class MappedinVortex {
10894
10934
  #private;
10935
+ static readonly __type = "MappedinVortex";
10936
+ readonly __type = "MappedinVortex";
10937
+ static is(instance: object): instance is MappedinVortex;
10895
10938
  /**
10896
10939
  * Vortex ID.
10897
10940
  *
@@ -11163,6 +11206,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinMap' {
11163
11206
  */
11164
11207
  export class MappedinMap {
11165
11208
  #private;
11209
+ static readonly __type = "MappedinMap";
11210
+ readonly __type = "MappedinMap";
11211
+ static is(instance: object): instance is MappedinMap;
11166
11212
  id: string;
11167
11213
  group: string;
11168
11214
  name: string;
@@ -11237,6 +11283,9 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinMapGroup' {
11237
11283
  */
11238
11284
  export class MappedinMapGroup {
11239
11285
  #private;
11286
+ static readonly __type = "MappedinMapGroup";
11287
+ readonly __type = "MappedinMapGroup";
11288
+ static is(instance: object): instance is MappedinMapGroup;
11240
11289
  id: string;
11241
11290
  name: string;
11242
11291
  constructor(mappedin: Mappedin, data: any);
@@ -11377,9 +11426,8 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.cache' {
11377
11426
  findNearestNodeOnMap(mapId: string, coordinate: MappedinCoordinate): MappedinNode;
11378
11427
  findNodeWithinRadiusOnMap(mapId: string, coordinate: MappedinCoordinate, radius: number): MappedinNode[];
11379
11428
  get locationsByMapId(): Map<string, MappedinLocation[]>;
11380
- static instances: Map<Mappedin, MappedinCache>;
11429
+ static instances: WeakMap<Mappedin, MappedinCache>;
11381
11430
  static create(mappedin: Mappedin): MappedinCache;
11382
- static clear(): void;
11383
11431
  static clearInstance(mappedin: Mappedin): void;
11384
11432
  }
11385
11433
  export default MappedinCache;
@@ -11534,6 +11582,32 @@ declare module '@mappedin/mappedin-js/common/random-id' {
11534
11582
  export const randomId: () => string;
11535
11583
  }
11536
11584
 
11585
+ declare module '@mappedin/mappedin-js/get-venue/Mappedin.enums' {
11586
+ export enum MAP_RENDER_MODE {
11587
+ /** Each polygon, its geometry and mesh are sent to the GPU every render frame.
11588
+ * This was the default rendering mode before 4.0.17
11589
+ */
11590
+ MULTI_GEOMETRY = "MULTI_GEOMETRY",
11591
+ /** Polygons' geometries are grouped by material and merged together, resulting in far fewer
11592
+ * draw calls to the GPU. Default rendering mode since 4.0.17
11593
+ */
11594
+ SINGLE_GEOMETRY = "SINGLE_GEOMETRY"
11595
+ }
11596
+ export enum GET_VENUE_EVENT {
11597
+ LANGUAGE_CHANGED = 0
11598
+ }
11599
+ export enum MappedinCollectionType {
11600
+ CATEGORY = "categories",
11601
+ EVENT = "events",
11602
+ LOCATION = "locations",
11603
+ MAPGROUP = "mapGroups",
11604
+ MAP = "maps",
11605
+ NODE = "nodes",
11606
+ POLYGON = "polygons",
11607
+ VORTEX = "vortexes"
11608
+ }
11609
+ }
11610
+
11537
11611
  declare module '@mappedin/mappedin-js/renderer/internal/quad-tree' {
11538
11612
  export function contains(rect1: Rectangle, rect2: Rectangle): boolean;
11539
11613
  export function intersects(rect1: Rectangle, rect2: Rectangle): boolean;
@@ -11596,6 +11670,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.EffectComposer'
11596
11670
  staticSceneDepthTexture: Uniform;
11597
11671
  animatedSceneColorTexture: Uniform;
11598
11672
  animatedSceneDepthTexture: Uniform;
11673
+ animatedSceneBackgroundTexture: Uniform;
11599
11674
  alwaysOnTopSceneColorTexture: Uniform;
11600
11675
  alwaysOnBottomSceneColorTexture: Uniform;
11601
11676
  };