@mappedin/react-sdk 6.0.1-beta.45 → 6.0.1-beta.47

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.
Files changed (35) hide show
  1. package/THIRD_PARTY_LICENSES.txt +2169 -27784
  2. package/lib/esm/{GLTFExporter-64BG5G32.js → GLTFExporter-7OZO7OAN.js} +1 -1
  3. package/lib/esm/GLTFLoader-BTM3ARCC.js +1 -0
  4. package/lib/esm/{browser-4WZEG5RQ.js → browser-RWOI5BLY.js} +1 -1
  5. package/lib/esm/chunk-3DLWMSMA.js +1 -0
  6. package/lib/esm/{chunk-OFX4UKYI.js → chunk-7WCA75NG.js} +1 -1
  7. package/lib/esm/chunk-MH6J7HN7.js +1 -0
  8. package/lib/esm/chunk-NS37OT4J.js +1 -0
  9. package/lib/esm/chunk-OEBM7FFM.js +1 -0
  10. package/lib/esm/chunk-PEDEW3M6.js +1 -0
  11. package/lib/esm/chunk-SB6JFH4C.js +1 -0
  12. package/lib/esm/index.css +1 -1
  13. package/lib/esm/index.d.ts +319 -128
  14. package/lib/esm/index.js +1 -1
  15. package/lib/esm/inspector-WRNBK432.js +1 -0
  16. package/lib/esm/inspector-WWR77OPX.css +1 -0
  17. package/lib/esm/internal-KFN6TGNE.js +1 -0
  18. package/lib/esm/internal-M7DPGYMI.css +1 -0
  19. package/lib/esm/outdoor-context-v4-T22T5B5J.js +1 -0
  20. package/lib/esm/{roboto-regular-E5TUWU5Q.js → roboto-regular-3HSVPIGX.js} +1 -1
  21. package/lib/esm/text3d-LSJE37UM.js +1 -0
  22. package/package.json +6 -6
  23. package/lib/esm/GLTFLoader-ELXGWZD3.js +0 -1
  24. package/lib/esm/chunk-BYMKRV3A.js +0 -1
  25. package/lib/esm/chunk-FAMEMKII.js +0 -1
  26. package/lib/esm/chunk-FSBH4P52.js +0 -1
  27. package/lib/esm/chunk-GVHB2OJC.js +0 -1
  28. package/lib/esm/chunk-LQS3FVBN.js +0 -1
  29. package/lib/esm/chunk-VVO7QO3Y.js +0 -1
  30. package/lib/esm/inspector-GOK26VAV.css +0 -1
  31. package/lib/esm/inspector-I2YHDXM6.js +0 -1
  32. package/lib/esm/internal-7A3UJNAV.css +0 -1
  33. package/lib/esm/internal-7LLUWCE5.js +0 -1
  34. package/lib/esm/outdoor-context-v4-XU2K4KTH.js +0 -1
  35. package/lib/esm/text3d-OPI6K2SH.js +0 -1
@@ -2,7 +2,7 @@
2
2
  // Dependencies for this module:
3
3
  // ../react/react
4
4
  // ../react/@packages/internal/mvf-utils
5
- // ../react/@mappedin/mvf
5
+ // ../react/@mappedin/mvf-v2
6
6
  // ../react/@packages/internal/common/pubsub
7
7
  // ../react/@packages/internal/common/Mappedin.Logger
8
8
  // ../react/geojson
@@ -13,14 +13,11 @@
13
13
  // ../react/@tweenjs/tween.js
14
14
  // ../react/@packages/internal/outdoor-context-v4
15
15
  // ../react/@packages/internal/geojson-navigator
16
- // ../react/@mappedin/mvf-core
17
16
  // ../react/three
18
17
  // ../react/zod
19
18
  // ../react/@packages/internal/shave-text/shave-text
20
- // ../react/@turf/turf
21
19
  // ../react/troika-three-text
22
20
  // ../react/@packages/internal/quad-tree
23
- // ../react/@mappedin/core-sdk/src/components/text3d
24
21
  // ../react/minisearch
25
22
  // ../react/three/examples/jsm/loaders/GLTFLoader.js
26
23
  // ../react/@mapbox/point-geometry
@@ -62,7 +59,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src' {
62
59
  import type { TGetMapDataOptions, TGetMapDataWithAccessTokenOptions, TGetMapDataWithCredentialsOptions, TGetMapDataSharedOptions, Environment } from '@mappedin/react-sdk/packages/mvf-utils';
63
60
  import { parseMVF, unzipMVF } from '@packages/internal/mvf-utils';
64
61
  import type { Floor } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
65
- import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle, ParsedMVFLocalePack, OperationHours, SiblingGroup, LocationState } from '@mappedin/mvf';
62
+ import type { ParsedMVF as TMVF, StyleCollection as TMVFStyleCollection, Style as TMVFStyle, LineStringStyle as TMVFLineStringStyle, PolygonStyle as TMVFPolygonStyle, PointStyle as TMVFPointStyle, ParsedMVFLocalePack, OperationHours, SiblingGroup, LocationState } from '@mappedin/mvf-v2';
66
63
  import { MapView } from '@mappedin/react-sdk/mappedin-js/src/map-view';
67
64
  export type { Text3D as Text3DApi } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/text3d';
68
65
  export { disableText3DWorker } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/text3d';
@@ -319,6 +316,22 @@ declare module '@mappedin/react-sdk/mappedin-js/src' {
319
316
  * @internal
320
317
  */
321
318
  onWebGLRendererError?: (error: Error) => void;
319
+ /**
320
+ * @experimental
321
+ * @internal
322
+ *
323
+ * If true, the map will use a standalone camera for rendering instead of syncing with MapLibre's camera.
324
+ * This enables environment map reflections to update with camera movement in interleaved and overlay modes.
325
+ * Note: This disables building occlusion since the depth buffer is no longer synchronized with MapLibre.
326
+ *
327
+ * @default false
328
+ */
329
+ useStandaloneCamera?: boolean;
330
+ /**
331
+ *
332
+ * Preload floors for the map. Allows floors to appear faster but requires more time and memory up front.
333
+ */
334
+ preloadFloors?: Floor[];
322
335
  };
323
336
  /**
324
337
  * @internal
@@ -337,6 +350,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src' {
337
350
  export type THydrateMapDataBundle = {
338
351
  type: 'binary';
339
352
  options?: {
353
+ version?: '2.0.0' | '3.0.0';
340
354
  enterprise?: boolean;
341
355
  };
342
356
  languagePacks?: {
@@ -350,6 +364,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src' {
350
364
  } | {
351
365
  type: 'json';
352
366
  options?: {
367
+ version?: '2.0.0' | '3.0.0';
353
368
  enterprise?: boolean;
354
369
  };
355
370
  languagePacks?: {
@@ -968,7 +983,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data' {
968
983
  /**
969
984
  * @internal
970
985
  */
971
- get currentLanguage(): import("@mappedin/mvf").Language | undefined;
986
+ get currentLanguage(): import("@mappedin/mvf-v2").Language | undefined;
972
987
  /**
973
988
  * Retrieves the natural bearing of the map, which is the angle, in degrees, the map is considered to be "naturally oriented" towards.
974
989
  * Typically the angle perpendicular to the street the map is facing, or the main entrance. Other print maps inside the map may have this direction be up.
@@ -1233,7 +1248,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects' {
1233
1248
  import FloorStack from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor-stack';
1234
1249
  import Facade from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/facade';
1235
1250
  import type { MapDataRecords, EnterpriseMapDataRecords } from '@mappedin/react-sdk/mappedin-js/src/utils/data-creation';
1236
- import type { AnnotationCollection, ParsedMVF, Connection as MVFConnection, EntranceCollection, NodeCollection, ObstructionCollection, SpaceCollection, FloorProperties as MVFFloor, FloorStack as MVFFloorStack, Language, AreaCollection, TilesetStyle } from '@mappedin/mvf';
1251
+ import type { AnnotationCollection, ParsedMVF, Connection as MVFConnection, EntranceCollection, NodeCollection, ObstructionCollection, SpaceCollection, FloorProperties as MVFFloor, FloorStack as MVFFloorStack, Language, AreaCollection, TilesetStyle } from '@mappedin/mvf-v2';
1237
1252
  import { AnalyticsInternal } from '@mappedin/react-sdk/mappedin-js/src/analytics';
1238
1253
  import EnterpriseLocation from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location';
1239
1254
  import EnterpriseCategory from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/category';
@@ -1696,6 +1711,12 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-view' {
1696
1711
  * @param floorStack The floor stack or floor stack ID to set.
1697
1712
  */
1698
1713
  setFloorStack(floorStack: FloorStack | string, options?: TSetFloorOptions): void;
1714
+ /**
1715
+ * Preload floor geometry and outlines for the map at runtime. Can be used when anticipating a large number of floors will be visible at once to
1716
+ * keep the map responsive.
1717
+ * @param floors The floors to preload.
1718
+ */
1719
+ preloadFloors(floors: Floor[]): void;
1699
1720
  /**
1700
1721
  * Create a tween object that will be updated on every render frame.
1701
1722
  * See https://tweenjs.github.io/tween.js/docs/user_guide.html for more information.
@@ -2141,7 +2162,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/types' {
2141
2162
  import type { Feature, MultiPolygon, Polygon } from 'geojson';
2142
2163
  import type { Coordinate, Floor, Door, Space, MapObject, PointOfInterest, Connection, EnterpriseLocation, Node, Area, Facade, FloorStack, Annotation, EnterpriseCategory, EnterpriseVenue, LocationCategory, LocationProfile } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
2143
2164
  import type { Label, Marker, Model, Image, Shape, Text3D, Path } from '@mappedin/react-sdk/mappedin-js/src/map-view-objects';
2144
- import type { Language, ParsedMVFLocalePack } from '@mappedin/mvf';
2165
+ import type { Language, ParsedMVFLocalePack } from '@mappedin/mvf-v2';
2145
2166
  import type { InsetPaddingOption, UpdatableText3DState, Text3DState, AddText3DOptions, EnvMapOptions, InitializeModelState, ModelState, UpdateModelState as GeoJsonUpdateModelState, ImagePlacementOptions, LabelAppearance } from '@mappedin/react-sdk/geojson/src';
2146
2167
  import type { PathSegment } from '@mappedin/react-sdk/mappedin-js/src/map-view-objects/path';
2147
2168
  import type { TFloorChangeReason } from '@mappedin/react-sdk/mappedin-js/src/events';
@@ -2334,10 +2355,6 @@ declare module '@mappedin/react-sdk/mappedin-js/src/types' {
2334
2355
  * The color of the path.
2335
2356
  */
2336
2357
  color: string;
2337
- /**
2338
- * The complete fraction of the path.
2339
- */
2340
- completeFraction: number;
2341
2358
  /**
2342
2359
  * The near radius of the path.
2343
2360
  */
@@ -2346,6 +2363,10 @@ declare module '@mappedin/react-sdk/mappedin-js/src/types' {
2346
2363
  * The far radius of the path.
2347
2364
  */
2348
2365
  farRadius: number;
2366
+ /**
2367
+ * The fraction of the path that should be complete. This can be used to animate the path.
2368
+ */
2369
+ completeFraction: number;
2349
2370
  /**
2350
2371
  * Whether the path is visible.
2351
2372
  */
@@ -2772,6 +2793,26 @@ declare module '@mappedin/react-sdk/mappedin-js/src/types' {
2772
2793
  * @defaultValue -Infinite
2773
2794
  */
2774
2795
  minAdjustedAltitude?: number;
2796
+ /**
2797
+ * Whether the path should be dashed.
2798
+ *
2799
+ * @defaultValue false
2800
+ */
2801
+ dashed?: boolean;
2802
+ /**
2803
+ * Whether the path should be visible.
2804
+ *
2805
+ * @defaultValue true
2806
+ */
2807
+ visible?: boolean;
2808
+ /**
2809
+ * @internal
2810
+ *
2811
+ * Whether the path should be visible through geometry. Can be used to create paths that are visible through walls and floors.
2812
+ *
2813
+ * @defaultValue false
2814
+ */
2815
+ visibleThroughGeometry?: boolean;
2775
2816
  };
2776
2817
  /**
2777
2818
  * Control how a {@link Label} looks
@@ -2869,6 +2910,10 @@ declare module '@mappedin/react-sdk/mappedin-js/src/types' {
2869
2910
  * If there is no path that does not include the these connections, the directions will be undefined.
2870
2911
  */
2871
2912
  excludedConnections?: Connection[];
2913
+ /**
2914
+ * Override the default weights for specific connection ids.
2915
+ */
2916
+ connectionIdWeightMap?: Record<string, number>;
2872
2917
  };
2873
2918
  /**
2874
2919
  * The target for the add model operation.
@@ -3953,6 +3998,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/api' {
3953
3998
  Images: Images;
3954
3999
  get StackedMaps(): import("..").StackedMaps;
3955
4000
  constructor(rendererCore: RendererCore, mapView: MapView);
4001
+ preloadFloors(floors: Floor[]): void;
3956
4002
  updateState<T extends Space | Text3DView | MapObject | Label | Shape | Marker | Model | Door | Facade | Floor | WALLS | DOORS | Path | PathSegment | (string & NonNullable<unknown>)>(target: T, state: TUpdateState<T>): void;
3957
4003
  update: () => void;
3958
4004
  getMapDataInternal(): MapDataInternal | undefined;
@@ -4095,7 +4141,7 @@ declare module '@mappedin/react-sdk/react-sdk/src' {
4095
4141
  }
4096
4142
 
4097
4143
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/directions' {
4098
- import type { ParsedMVF } from '@mappedin/mvf';
4144
+ import type { ParsedMVF } from '@mappedin/mvf-v2';
4099
4145
  import type { DirectionsCollection } from '@packages/internal/geojson-navigator';
4100
4146
  import { Navigator } from '@packages/internal/geojson-navigator';
4101
4147
  import { Connection, Coordinate, Node, type MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
@@ -4166,6 +4212,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/directions' {
4166
4212
  };
4167
4213
  zones: TDirectionZone[];
4168
4214
  excludedConnections: Connection[];
4215
+ connectionIdWeightMap: Record<string, number>;
4169
4216
  }, mapData: MapDataInternal) => Directions | undefined;
4170
4217
  /**
4171
4218
  * Get the node IDs that should be excluded from the navigation graph.
@@ -4203,12 +4250,12 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/types' {
4203
4250
  import type Annotation from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/annotation';
4204
4251
  import type Connection from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/connection';
4205
4252
  import type MapObject from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/object';
4206
- import type { EnterpriseLocation as MvfEnterpriseLocation, EnterpriseCategory as MvfEnterpriseCategory, ParsedMVFLocalePack, Feature, FloorStack as MvfFloorStack, FloorProperties as MvfFloor } from '@mappedin/mvf';
4207
- import type { PartialExcept } from '@mappedin/mvf-core';
4253
+ import type { EnterpriseLocation as MvfEnterpriseLocation, EnterpriseCategory as MvfEnterpriseCategory, ParsedMVFLocalePack, Feature, FloorStack as MvfFloorStack, FloorProperties as MvfFloor } from '@mappedin/mvf-v2';
4254
+ import type { PartialExcept } from '@mappedin/react-sdk/packages/common/types';
4208
4255
  import type { LocalePackUrls } from '@packages/internal/mvf-utils';
4209
4256
  import type { LanguagePackHydrationItem } from '@mappedin/react-sdk/mappedin-js/src/types';
4210
4257
  import type { EnvControl, TGetMapDataOptions } from '@packages/internal/mvf-utils/mvf-utils';
4211
- import { TokenManager } from '@packages/internal/mvf-utils/tokens/token-manager';
4258
+ import type { TokenManager } from '@packages/internal/mvf-utils/tokens/token-manager';
4212
4259
  /**
4213
4260
  * Places are the main objects that can be searched for.
4214
4261
  */
@@ -4508,7 +4555,7 @@ declare module '@mappedin/react-sdk/packages/mvf-utils/api-types' {
4508
4555
  }
4509
4556
 
4510
4557
  declare module '@mappedin/react-sdk/packages/mvf-utils/mvf-types' {
4511
- import type { MapId, Style, Feature, LineString, ObstructionProperties, EntranceProperties, SpaceProperties, ObstructionCollection, EntranceCollection, SpaceCollection, FloorImageProperties, BaseTextAreaProperties, EnterpriseTexture } from '@mappedin/mvf';
4558
+ import type { MapId, Style, Feature, LineString, ObstructionProperties, EntranceProperties, SpaceProperties, ObstructionCollection, EntranceCollection, SpaceCollection, FloorImageProperties, BaseTextAreaProperties, EnterpriseTexture } from '@mappedin/mvf-v2';
4512
4559
  import type { FeatureCollection, MultiPolygon, Point, Polygon } from 'geojson';
4513
4560
  import type { TImage, TMap, TNode, TOpeningHours, TPhone, TSiblingGroup, TSocial } from '@mappedin/react-sdk/packages/mvf-utils/api-types';
4514
4561
  export type WithIDs<T> = Map<string, T>;
@@ -4751,7 +4798,7 @@ declare module '@mappedin/react-sdk/packages/mvf-utils/mvf-types' {
4751
4798
  }
4752
4799
 
4753
4800
  declare module '@mappedin/react-sdk/packages/mvf-utils/mvf-utils' {
4754
- import { type ParsedMVF, type ParsedMVFLocalePack, type RawMVF } from '@mappedin/mvf';
4801
+ import { type ParsedMVF, type ParsedMVFLocalePack, type RawMVF } from '@mappedin/mvf-v2';
4755
4802
  import type { ParsedMVFv1, RawMVFv1 } from '@mappedin/react-sdk/packages/mvf-utils/mvf-types';
4756
4803
  export * from '@mappedin/react-sdk/packages/mvf-utils/tokens/access-token';
4757
4804
  export * from '@mappedin/react-sdk/packages/mvf-utils/tokens/sas-token';
@@ -4898,6 +4945,11 @@ declare module '@mappedin/react-sdk/packages/mvf-utils/mvf-utils' {
4898
4945
  * @internal
4899
4946
  */
4900
4947
  layoutId?: 'draft';
4948
+ /**
4949
+ * @hidden
4950
+ * @internal
4951
+ */
4952
+ mvfVersion?: '2.0.0' | '3.0.0';
4901
4953
  };
4902
4954
  /**
4903
4955
  * @interface
@@ -5071,6 +5123,7 @@ declare module '@mappedin/react-sdk/packages/mvf-utils/mvf-utils' {
5071
5123
  * outdoor map. If a map is not a multi-building map, an empty array is returned.
5072
5124
  */
5073
5125
  export const getBuildingIds: (mvf: ParsedMVF) => string[];
5126
+ export function unzipAndParseMVFv2(data: Uint8Array, inputVersion?: '2.0.0' | '3.0.0'): Promise<ParsedMVF>;
5074
5127
  }
5075
5128
 
5076
5129
  declare module '@mappedin/react-sdk/packages/mvf-utils/geometry' {
@@ -5082,7 +5135,7 @@ declare module '@mappedin/react-sdk/packages/mvf-utils/geometry' {
5082
5135
  }
5083
5136
 
5084
5137
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/node' {
5085
- import type { NodeCollection } from '@mappedin/mvf';
5138
+ import type { NodeCollection } from '@mappedin/mvf-v2';
5086
5139
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5087
5140
  import type { EnterpriseLocation, MapDataInternal, Space } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5088
5141
  import type Floor from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor';
@@ -5155,8 +5208,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/node' {
5155
5208
  */
5156
5209
  get geoJSON(): {
5157
5210
  properties: null;
5158
- type: import("@mappedin/mvf").FeatureType;
5159
- geometry: import("@mappedin/mvf").Point;
5211
+ type: import("@mappedin/mvf-v2").FeatureType;
5212
+ geometry: import("@mappedin/mvf-v2").Point;
5160
5213
  };
5161
5214
  /** @internal */
5162
5215
  get focusTarget(): Coordinate;
@@ -5189,7 +5242,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/node' {
5189
5242
  }
5190
5243
 
5191
5244
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/area' {
5192
- import type { AreaCollection } from '@mappedin/mvf';
5245
+ import type { AreaCollection } from '@mappedin/mvf-v2';
5193
5246
  import { Coordinate, type MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5194
5247
  import type Floor from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor';
5195
5248
  import type { IGeoJSONData } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/types';
@@ -5244,8 +5297,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/area' {
5244
5297
  */
5245
5298
  get geoJSON(): {
5246
5299
  properties: null;
5247
- type: import("@mappedin/mvf").FeatureType;
5248
- geometry: import("@mappedin/mvf").Polygon;
5300
+ type: import("@mappedin/mvf-v2").FeatureType;
5301
+ geometry: import("@mappedin/mvf-v2").Polygon;
5249
5302
  };
5250
5303
  /** @internal */
5251
5304
  get focusTarget(): this;
@@ -5272,7 +5325,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/area' {
5272
5325
  }
5273
5326
 
5274
5327
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/door' {
5275
- import type { EntranceCollection } from '@mappedin/mvf';
5328
+ import type { EntranceCollection } from '@mappedin/mvf-v2';
5276
5329
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5277
5330
  import type Floor from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor';
5278
5331
  import type { MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
@@ -5353,8 +5406,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/door' {
5353
5406
  */
5354
5407
  get geoJSON(): {
5355
5408
  properties: null;
5356
- type: import("@mappedin/mvf").FeatureType;
5357
- geometry: import("@mappedin/mvf").LineString;
5409
+ type: import("@mappedin/mvf-v2").FeatureType;
5410
+ geometry: import("@mappedin/mvf-v2").LineString;
5358
5411
  };
5359
5412
  /** @internal */
5360
5413
  get focusTarget(): Coordinate;
@@ -5387,7 +5440,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/door' {
5387
5440
  }
5388
5441
 
5389
5442
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/space' {
5390
- import type { SpaceCollection } from '@mappedin/mvf';
5443
+ import type { SpaceCollection } from '@mappedin/mvf-v2';
5391
5444
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5392
5445
  import type { EnterpriseLocation, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5393
5446
  import type Floor from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor';
@@ -5426,7 +5479,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/space' {
5426
5479
  * @internal
5427
5480
  * @hidden
5428
5481
  */
5429
- getMvfData(): import("@mappedin/mvf").Feature<import("@mappedin/mvf").Polygon | import("@mappedin/mvf").LineString | import("@mappedin/mvf").Point, import("@mappedin/mvf").SpaceProperties>;
5482
+ getMvfData(): import("@mappedin/mvf-v2").Feature<import("@mappedin/mvf-v2").Polygon | import("@mappedin/mvf-v2").LineString | import("@mappedin/mvf-v2").Point, import("@mappedin/mvf-v2").SpaceProperties>;
5430
5483
  /**
5431
5484
  * Checks if the provided instance is of type Space.
5432
5485
  *
@@ -5475,8 +5528,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/space' {
5475
5528
  */
5476
5529
  get geoJSON(): {
5477
5530
  properties: null;
5478
- type: import("@mappedin/mvf").FeatureType;
5479
- geometry: import("@mappedin/mvf").Polygon | import("@mappedin/mvf").LineString | import("@mappedin/mvf").Point;
5531
+ type: import("@mappedin/mvf-v2").FeatureType;
5532
+ geometry: import("@mappedin/mvf-v2").Polygon | import("@mappedin/mvf-v2").LineString | import("@mappedin/mvf-v2").Point;
5480
5533
  };
5481
5534
  /** @internal */
5482
5535
  get focusTarget(): Coordinate | this;
@@ -5515,7 +5568,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/space' {
5515
5568
  }
5516
5569
 
5517
5570
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor' {
5518
- import type { Feature, FloorCollection, MultiPolygon, Polygon } from '@mappedin/mvf';
5571
+ import type { Feature, FloorCollection, MultiPolygon, Polygon } from '@mappedin/mvf-v2';
5519
5572
  import type { Annotation, Connection, Door, MapDataInternal, PointOfInterest, Space, MapObject, FloorStack } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5520
5573
  import BaseMapData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-object';
5521
5574
  import type { IFocusable } from '@mappedin/react-sdk/mappedin-js/src/types';
@@ -5648,7 +5701,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor' {
5648
5701
  }
5649
5702
 
5650
5703
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/connection' {
5651
- import type { Feature, FeatureCollection, Point, SpaceProperties, Connection as MVFConnection } from '@mappedin/mvf';
5704
+ import type { Feature, FeatureCollection, Point, SpaceProperties, Connection as MVFConnection } from '@mappedin/mvf-v2';
5652
5705
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5653
5706
  import type Node from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/node';
5654
5707
  import type { Floor, LocationProfile, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
@@ -5753,7 +5806,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/connection'
5753
5806
  }
5754
5807
 
5755
5808
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/object' {
5756
- import type { ObstructionCollection } from '@mappedin/mvf';
5809
+ import type { ObstructionCollection } from '@mappedin/mvf-v2';
5757
5810
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5758
5811
  import type { MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5759
5812
  import type Floor from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor';
@@ -5816,8 +5869,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/object' {
5816
5869
  */
5817
5870
  get geoJSON(): {
5818
5871
  properties: null;
5819
- type: import("@mappedin/mvf").FeatureType;
5820
- geometry: import("@mappedin/mvf").Polygon | import("@mappedin/mvf").LineString;
5872
+ type: import("@mappedin/mvf-v2").FeatureType;
5873
+ geometry: import("@mappedin/mvf-v2").Polygon | import("@mappedin/mvf-v2").LineString;
5821
5874
  };
5822
5875
  /** @internal */
5823
5876
  get anchorTarget(): Coordinate;
@@ -5964,7 +6017,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate'
5964
6017
  }
5965
6018
 
5966
6019
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/poi' {
5967
- import type { FeatureCollection, Point, SpaceProperties } from '@mappedin/mvf';
6020
+ import type { FeatureCollection, Point, SpaceProperties } from '@mappedin/mvf-v2';
5968
6021
  import type { Floor, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
5969
6022
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
5970
6023
  import type { IGeoJSONData } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/types';
@@ -6018,7 +6071,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/poi' {
6018
6071
  */
6019
6072
  get geoJSON(): {
6020
6073
  properties: null;
6021
- type: import("@mappedin/mvf").FeatureType;
6074
+ type: import("@mappedin/mvf-v2").FeatureType;
6022
6075
  geometry: Point;
6023
6076
  };
6024
6077
  /** @internal */
@@ -6052,7 +6105,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/poi' {
6052
6105
  }
6053
6106
 
6054
6107
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/annotation' {
6055
- import type { AnnotationCollection } from '@mappedin/mvf';
6108
+ import type { AnnotationCollection } from '@mappedin/mvf-v2';
6056
6109
  import type { Floor, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6057
6110
  import Coordinate from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/coordinate';
6058
6111
  import type { IGeoJSONData } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/types';
@@ -6119,8 +6172,8 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/annotation'
6119
6172
  */
6120
6173
  get geoJSON(): {
6121
6174
  properties: null;
6122
- type: import("@mappedin/mvf").FeatureType;
6123
- geometry: import("@mappedin/mvf").Point;
6175
+ type: import("@mappedin/mvf-v2").FeatureType;
6176
+ geometry: import("@mappedin/mvf-v2").Point;
6124
6177
  };
6125
6178
  /** @internal */
6126
6179
  get focusTarget(): Coordinate;
@@ -6153,7 +6206,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/annotation'
6153
6206
  }
6154
6207
 
6155
6208
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/hyperlink' {
6156
- import type { LocationLink, Hyperlink as MVFHyperlink } from '@mappedin/mvf';
6209
+ import type { LocationLink, Hyperlink as MVFHyperlink } from '@mappedin/mvf-v2';
6157
6210
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
6158
6211
  /**
6159
6212
  * A class representing hyperlink link data within the map.
@@ -6210,7 +6263,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/hyperlink'
6210
6263
  }
6211
6264
 
6212
6265
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/image' {
6213
- import type { Image as MVFImage } from '@mappedin/mvf';
6266
+ import type { Image as MVFImage } from '@mappedin/mvf-v2';
6214
6267
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
6215
6268
  import type { MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6216
6269
  /**
@@ -6277,7 +6330,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/image' {
6277
6330
  }
6278
6331
 
6279
6332
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/floor-stack' {
6280
- import type { FloorStack as MVFFloorStack } from '@mappedin/mvf';
6333
+ import type { FloorStack as MVFFloorStack } from '@mappedin/mvf-v2';
6281
6334
  import type { MapDataInternal, Floor, Facade } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6282
6335
  import BaseMapData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-object';
6283
6336
  /**
@@ -6369,7 +6422,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/facade' {
6369
6422
  import type { Space, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6370
6423
  import { Coordinate } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6371
6424
  import BaseMapData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-object';
6372
- import type { Facade as MVFFacade } from '@mappedin/mvf';
6425
+ import type { Facade as MVFFacade } from '@mappedin/mvf-v2';
6373
6426
  import type { IAnchorable, IFocusable } from '@mappedin/react-sdk/mappedin-js/src/types';
6374
6427
  /**
6375
6428
  * A Facade is a collection of spaces that make up the exterior representation of a Floor Stack ({@link FloorStack}).
@@ -6411,7 +6464,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/facade' {
6411
6464
  }
6412
6465
 
6413
6466
  declare module '@mappedin/react-sdk/mappedin-js/src/utils/data-creation' {
6414
- import type { AnnotationCollection, EntranceCollection, FeatureCollection, Connection as MVFConnection, EnterpriseCategory as MVFEnterpriseCategory, EnterpriseCategoryId as MVFEnterpriseCategoryId, EnterpriseLocation as MVFEnterpriseLocation, EnterpriseLocationId as MVFEnterpriseLocationId, EnterpriseVenue as MVFEnterpriseVenue, FloorProperties as MVFFloor, FloorStack as MVFFloorStack, NodeCollection, ObstructionCollection, ParsedMVF, Point, SpaceCollection, SpaceProperties, AreaCollection, AreaId, EnterpriseLocationInstance, SpaceId } from '@mappedin/mvf';
6467
+ import type { AnnotationCollection, EntranceCollection, FeatureCollection, Connection as MVFConnection, EnterpriseCategory as MVFEnterpriseCategory, EnterpriseCategoryId as MVFEnterpriseCategoryId, EnterpriseLocation as MVFEnterpriseLocation, EnterpriseLocationId as MVFEnterpriseLocationId, EnterpriseVenue as MVFEnterpriseVenue, FloorProperties as MVFFloor, FloorStack as MVFFloorStack, NodeCollection, ObstructionCollection, ParsedMVF, Point, SpaceCollection, SpaceProperties, AreaCollection, AreaId, EnterpriseLocationInstance, SpaceId } from '@mappedin/mvf-v2';
6415
6468
  import { Annotation, Area, Connection, Door, EnterpriseCategory, EnterpriseLocation, Facade, Floor, FloorStack, MapObject, Node, PointOfInterest, Space, LocationCategory, LocationProfile, type MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6416
6469
  export type MapDataRecords = {
6417
6470
  spacesById: Record<string, Space>;
@@ -6515,7 +6568,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/utils/data-creation' {
6515
6568
  }
6516
6569
 
6517
6570
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location' {
6518
- import type { EnterpriseLocation as MVFEnterpriseLocation, LocationState, OperationHours, SiblingGroup } from '@mappedin/mvf';
6571
+ import type { EnterpriseLocation as MVFEnterpriseLocation, LocationState, OperationHours, SiblingGroup } from '@mappedin/mvf-v2';
6519
6572
  import type { Coordinate, EnterpriseCategory, MapDataInternal, Space } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6520
6573
  import type Node from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/node';
6521
6574
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
@@ -6674,6 +6727,10 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location' {
6674
6727
  * The type of the location.
6675
6728
  */
6676
6729
  type: string;
6730
+ /**
6731
+ * Whether the location has been marked as hidden.
6732
+ */
6733
+ hidden: boolean;
6677
6734
  /**
6678
6735
  * Checks if the provided instance is of type EnterpriseLocation.
6679
6736
  *
@@ -6716,7 +6773,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location' {
6716
6773
  }
6717
6774
 
6718
6775
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/category' {
6719
- import type { EnterpriseCategory as MVFEnterpriseCategory } from '@mappedin/mvf';
6776
+ import type { EnterpriseCategory as MVFEnterpriseCategory } from '@mappedin/mvf-v2';
6720
6777
  import type { MapDataInternal, EnterpriseLocation } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6721
6778
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
6722
6779
  /**
@@ -6812,7 +6869,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/category' {
6812
6869
  }
6813
6870
 
6814
6871
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/venue' {
6815
- import type { EnterpriseVenue as MVFEnterpriseVenue, Language } from '@mappedin/mvf';
6872
+ import type { EnterpriseVenue as MVFEnterpriseVenue, Language } from '@mappedin/mvf-v2';
6816
6873
  import type { Hyperlink, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6817
6874
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
6818
6875
  /**
@@ -6926,7 +6983,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/venue' {
6926
6983
  }
6927
6984
 
6928
6985
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location-profile' {
6929
- import type { LocationId, LocationSocial, Location as MVFLocation } from '@mappedin/mvf';
6986
+ import type { LocationId, LocationSocial, Location as MVFLocation } from '@mappedin/mvf-v2';
6930
6987
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
6931
6988
  import type { Annotation, Connection, Door, LocationCategory, MapDataInternal, Space, MapObject, PointOfInterest, Area } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
6932
6989
  import type { TFocusTarget, TNavigationTarget, IFocusable, INavigatable } from '@mappedin/react-sdk/mappedin-js/src/types';
@@ -7060,7 +7117,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location-pr
7060
7117
  }
7061
7118
 
7062
7119
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location-category' {
7063
- import type { CategoryId, Category as MVFCategory } from '@mappedin/mvf';
7120
+ import type { CategoryId, Category as MVFCategory } from '@mappedin/mvf-v2';
7064
7121
  import BaseMetaData from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metadata-object';
7065
7122
  import type { LocationProfile, MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
7066
7123
  class LocationCategory extends BaseMetaData implements Omit<MVFCategory, 'parent'> {
@@ -7674,6 +7731,14 @@ declare module '@mappedin/react-sdk/geojson/src/components/path' {
7674
7731
  * Arrows on path should animate to indicate direction
7675
7732
  */
7676
7733
  animateArrowsOnPath?: boolean;
7734
+ /**
7735
+ * Whether the path should be visible through geometry.
7736
+ */
7737
+ visibleThroughGeometry?: boolean;
7738
+ /**
7739
+ * Whether the path should be dashed.
7740
+ */
7741
+ dashed?: boolean;
7677
7742
  };
7678
7743
  export const addPathOptionsSchema: z.ZodObject<{
7679
7744
  interactive: z.ZodOptional<z.ZodBoolean>;
@@ -7685,6 +7750,8 @@ declare module '@mappedin/react-sdk/geojson/src/components/path' {
7685
7750
  animateArrowsOnPath: z.ZodOptional<z.ZodBoolean>;
7686
7751
  nearZoomLevel: z.ZodOptional<z.ZodNumber>;
7687
7752
  farZoomLevel: z.ZodOptional<z.ZodNumber>;
7753
+ visibleThroughGeometry: z.ZodOptional<z.ZodBoolean>;
7754
+ dashed: z.ZodOptional<z.ZodBoolean>;
7688
7755
  }, "strip", z.ZodTypeAny, {
7689
7756
  id?: string | undefined;
7690
7757
  interactive?: boolean | undefined;
@@ -7695,6 +7762,8 @@ declare module '@mappedin/react-sdk/geojson/src/components/path' {
7695
7762
  nearZoomLevel?: number | undefined;
7696
7763
  farRadius?: number | undefined;
7697
7764
  farZoomLevel?: number | undefined;
7765
+ visibleThroughGeometry?: boolean | undefined;
7766
+ dashed?: boolean | undefined;
7698
7767
  }, {
7699
7768
  id?: string | undefined;
7700
7769
  interactive?: boolean | undefined;
@@ -7705,6 +7774,8 @@ declare module '@mappedin/react-sdk/geojson/src/components/path' {
7705
7774
  nearZoomLevel?: number | undefined;
7706
7775
  farRadius?: number | undefined;
7707
7776
  farZoomLevel?: number | undefined;
7777
+ visibleThroughGeometry?: boolean | undefined;
7778
+ dashed?: boolean | undefined;
7708
7779
  }>;
7709
7780
  export const featureSchema: z.ZodObject<{
7710
7781
  type: z.ZodEnum<["Feature"]>;
@@ -7765,6 +7836,8 @@ declare module '@mappedin/react-sdk/geojson/src/components/path' {
7765
7836
  altitudeAdjustment: number;
7766
7837
  displayArrowsOnPath: boolean;
7767
7838
  animateArrowsOnPath: boolean;
7839
+ visibleThroughGeometry: boolean;
7840
+ dashed: boolean;
7768
7841
  /**
7769
7842
  * If the path is vertical it will be rebuilt whenever altitudeDirty = true. This will be set during the first render of the path.
7770
7843
  */
@@ -7841,6 +7914,22 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7841
7914
  active?: string | undefined;
7842
7915
  inactive?: string | undefined;
7843
7916
  }>>;
7917
+ iconSizeInterpolation: z.ZodOptional<z.ZodObject<{
7918
+ nearZoomLevel: z.ZodOptional<z.ZodNumber>;
7919
+ farZoomLevel: z.ZodOptional<z.ZodNumber>;
7920
+ nearScale: z.ZodOptional<z.ZodNumber>;
7921
+ farScale: z.ZodOptional<z.ZodNumber>;
7922
+ }, "strip", z.ZodTypeAny, {
7923
+ nearZoomLevel?: number | undefined;
7924
+ farZoomLevel?: number | undefined;
7925
+ nearScale?: number | undefined;
7926
+ farScale?: number | undefined;
7927
+ }, {
7928
+ nearZoomLevel?: number | undefined;
7929
+ farZoomLevel?: number | undefined;
7930
+ nearScale?: number | undefined;
7931
+ farScale?: number | undefined;
7932
+ }>>;
7844
7933
  }, "strip", z.ZodTypeAny, {
7845
7934
  size?: number | undefined;
7846
7935
  backgroundColor?: {
@@ -7851,6 +7940,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7851
7940
  active?: string | undefined;
7852
7941
  inactive?: string | undefined;
7853
7942
  } | undefined;
7943
+ iconSizeInterpolation?: {
7944
+ nearZoomLevel?: number | undefined;
7945
+ farZoomLevel?: number | undefined;
7946
+ nearScale?: number | undefined;
7947
+ farScale?: number | undefined;
7948
+ } | undefined;
7854
7949
  }, {
7855
7950
  size?: number | undefined;
7856
7951
  backgroundColor?: {
@@ -7861,6 +7956,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7861
7956
  active?: string | undefined;
7862
7957
  inactive?: string | undefined;
7863
7958
  } | undefined;
7959
+ iconSizeInterpolation?: {
7960
+ nearZoomLevel?: number | undefined;
7961
+ farZoomLevel?: number | undefined;
7962
+ nearScale?: number | undefined;
7963
+ farScale?: number | undefined;
7964
+ } | undefined;
7864
7965
  }>>;
7865
7966
  }, "strip", z.ZodTypeAny, {
7866
7967
  text?: {
@@ -7882,6 +7983,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7882
7983
  active?: string | undefined;
7883
7984
  inactive?: string | undefined;
7884
7985
  } | undefined;
7986
+ iconSizeInterpolation?: {
7987
+ nearZoomLevel?: number | undefined;
7988
+ farZoomLevel?: number | undefined;
7989
+ nearScale?: number | undefined;
7990
+ farScale?: number | undefined;
7991
+ } | undefined;
7885
7992
  } | undefined;
7886
7993
  }, {
7887
7994
  text?: {
@@ -7903,6 +8010,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7903
8010
  active?: string | undefined;
7904
8011
  inactive?: string | undefined;
7905
8012
  } | undefined;
8013
+ iconSizeInterpolation?: {
8014
+ nearZoomLevel?: number | undefined;
8015
+ farZoomLevel?: number | undefined;
8016
+ nearScale?: number | undefined;
8017
+ farScale?: number | undefined;
8018
+ } | undefined;
7906
8019
  } | undefined;
7907
8020
  }>>;
7908
8021
  }, "strip", z.ZodTypeAny, {
@@ -7928,6 +8041,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7928
8041
  active?: string | undefined;
7929
8042
  inactive?: string | undefined;
7930
8043
  } | undefined;
8044
+ iconSizeInterpolation?: {
8045
+ nearZoomLevel?: number | undefined;
8046
+ farZoomLevel?: number | undefined;
8047
+ nearScale?: number | undefined;
8048
+ farScale?: number | undefined;
8049
+ } | undefined;
7931
8050
  } | undefined;
7932
8051
  } | undefined;
7933
8052
  }, {
@@ -7953,6 +8072,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
7953
8072
  active?: string | undefined;
7954
8073
  inactive?: string | undefined;
7955
8074
  } | undefined;
8075
+ iconSizeInterpolation?: {
8076
+ nearZoomLevel?: number | undefined;
8077
+ farZoomLevel?: number | undefined;
8078
+ nearScale?: number | undefined;
8079
+ farScale?: number | undefined;
8080
+ } | undefined;
7956
8081
  } | undefined;
7957
8082
  } | undefined;
7958
8083
  }>;
@@ -8119,6 +8244,27 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8119
8244
  * @default -Infinity
8120
8245
  */
8121
8246
  iconVisibleAtZoomLevel?: number;
8247
+ /**
8248
+ * Interpolates the icon size based on the zoom level.
8249
+ */
8250
+ iconSizeInterpolation?: {
8251
+ /**
8252
+ * The zoom level closest to the ground, where the icon is at "maxScale"
8253
+ */
8254
+ maxZoomLevel: number;
8255
+ /**
8256
+ * The zoom level farthest from the ground, where the icon is at "minScale"
8257
+ */
8258
+ minZoomLevel: number;
8259
+ /**
8260
+ * The scale of the icon at "maxZoomLevel"
8261
+ */
8262
+ maxScale: number;
8263
+ /**
8264
+ * The scale of the icon at "minZoomLevel"
8265
+ */
8266
+ minScale: number;
8267
+ };
8122
8268
  };
8123
8269
  };
8124
8270
  /**
@@ -8158,6 +8304,7 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8158
8304
  */
8159
8305
  attachTo?: EntityId<GeometryState> | string | null;
8160
8306
  };
8307
+ export const DEFAULT_ICON_PADDING = 2;
8161
8308
  type TStyle = {
8162
8309
  top?: number;
8163
8310
  left?: number;
@@ -8166,6 +8313,8 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8166
8313
  textAlign?: TEXTALIGN;
8167
8314
  cachedSymbol?: HTMLCanvasElement;
8168
8315
  };
8316
+ export const isOneOfTextDirtyOptions: (currentAppearance: LabelAppearance, newAppearance: LabelAppearance) => boolean;
8317
+ export const isOneOfMarkerDirtyOptions: (currentAppearance: LabelAppearance, newAppearance: LabelAppearance) => boolean;
8169
8318
  type LabelAppearanceFillenIn = {
8170
8319
  margin: number;
8171
8320
  text: {
@@ -8191,6 +8340,12 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8191
8340
  iconOverflow: 'visible' | 'hidden';
8192
8341
  icon?: string;
8193
8342
  iconVisibleAtZoomLevel?: number;
8343
+ iconSizeInterpolation?: {
8344
+ maxZoomLevel: number;
8345
+ minZoomLevel: number;
8346
+ maxScale: number;
8347
+ minScale: number;
8348
+ };
8194
8349
  };
8195
8350
  };
8196
8351
  export type LabelOptions = {
@@ -8256,6 +8411,7 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8256
8411
  verticalOffset: number;
8257
8412
  };
8258
8413
  export class LabelComponent {
8414
+ #private;
8259
8415
  lines: number;
8260
8416
  id: string;
8261
8417
  rank: number;
@@ -8296,8 +8452,14 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8296
8452
  height: number;
8297
8453
  };
8298
8454
  currentStrategyIndex: number;
8299
- totalMarkerSize: number;
8455
+ iconScale: number;
8456
+ get totalMarkerSize(): number;
8457
+ set totalMarkerSize(size: number);
8458
+ get scaledIconPadding(): number;
8459
+ set scaledIconPadding(padding: number);
8300
8460
  dirty: boolean;
8461
+ textDirty: boolean;
8462
+ markerDirty: boolean;
8301
8463
  /** Flag used in 2d-projection system to determine if the parent has changed */
8302
8464
  attachedDirty: boolean;
8303
8465
  collisionDirty: boolean;
@@ -8312,6 +8474,7 @@ declare module '@mappedin/react-sdk/geojson/src/components/label' {
8312
8474
  get lowPriorityStrategyIndex(): 3 | -1;
8313
8475
  get strategies(): any[];
8314
8476
  animate: boolean;
8477
+ recomputeCurrentStrategy(scale?: number): void;
8315
8478
  onStrategySelected: (strategyIndex: any) => void;
8316
8479
  updatePosition(): void;
8317
8480
  disable(): void;
@@ -8373,6 +8536,10 @@ declare module '@mappedin/react-sdk/geojson/src/entities/group-container' {
8373
8536
  * The opacity of the group container, which sets the opacity of all its children
8374
8537
  */
8375
8538
  opacity: number;
8539
+ /**
8540
+ * If true, the group container will preload geometry for its children even when invisible.
8541
+ */
8542
+ readonly preloadGeometry: boolean;
8376
8543
  };
8377
8544
  export class GroupContainerObject3D extends Object3D {
8378
8545
  childrenIds: Set<string | number>;
@@ -8388,6 +8555,10 @@ declare module '@mappedin/react-sdk/geojson/src/entities/group-container' {
8388
8555
  opacity: number;
8389
8556
  /** The effective opacity of the entity after all parent containers have been considered. */
8390
8557
  computedOpacity: number;
8558
+ /**
8559
+ * If true, the group container will preload geometry for its children even when invisible.
8560
+ */
8561
+ preloadGeometry: boolean;
8391
8562
  };
8392
8563
  components: [StackComponent?, InteractionComponent?, FocusableComponent?];
8393
8564
  constructor(id: string);
@@ -8396,6 +8567,7 @@ declare module '@mappedin/react-sdk/geojson/src/entities/group-container' {
8396
8567
  removeEntity(entityGroupOrContainer: EntityTypes): void;
8397
8568
  setVisible(visible: boolean): void;
8398
8569
  setAltitude(altitude: number): void;
8570
+ set2DGeometryChildrenPositionDirty(): void;
8399
8571
  get altitude(): number;
8400
8572
  setOpacity(opacity: number): void;
8401
8573
  get opacity(): number;
@@ -8845,6 +9017,7 @@ declare module '@mappedin/react-sdk/geojson/src/types' {
8845
9017
  cameraObject: Camera;
8846
9018
  naturalBearing: number;
8847
9019
  containerOffset: [number, number];
9020
+ useStandaloneCamera: boolean;
8848
9021
  };
8849
9022
  /**
8850
9023
  * All of the entities in the scene
@@ -8908,10 +9081,9 @@ declare module '@mappedin/react-sdk/geojson/src/components/mesh' {
8908
9081
  import { BatchedMesh, Color, Vector3 } from 'three';
8909
9082
  import type { BatchedStandardMaterial } from '@mappedin/react-sdk/geojson/src/systems/mesh-creation-and-optimization/batched-material';
8910
9083
  import type { EntityId, Position } from '@mappedin/react-sdk/geojson/src/types';
8911
- import type { Feature, LineString, MultiLineString, MultiPolygon, Polygon, Position as GeoJsonPosition } from 'geojson';
8912
- import type { BBox } from '@turf/turf';
9084
+ import type { Feature, LineString, MultiLineString, MultiPolygon, Polygon, Position as GeoJsonPosition, BBox } from 'geojson';
8913
9085
  import { type ImageProperties } from '@mappedin/react-sdk/geojson/src/components/image';
8914
- import { type BaseTextAreaProperties, type EnterpriseTexture } from '@mappedin/mvf';
9086
+ import { type BaseTextAreaProperties, type EnterpriseTexture } from '@mappedin/mvf-v2';
8915
9087
  import type { Text } from 'troika-three-text';
8916
9088
  import type { GeometryGroupState } from '@mappedin/react-sdk/geojson/src/entities/geometry-group';
8917
9089
  export class EntityBatchedMesh extends BatchedMesh {
@@ -9141,15 +9313,15 @@ declare module '@mappedin/react-sdk/geojson/src/components/custom' {
9141
9313
  constructor(feature: Feature<Point>, builder: CustomGeometryBuilder);
9142
9314
  get visible(): boolean;
9143
9315
  set visible(value: boolean);
9144
- set opacity(_v: number);
9316
+ set opacity(value: number);
9145
9317
  get opacity(): number;
9146
9318
  color: Color;
9147
- setColor(): void;
9319
+ setColor(color: string): void;
9148
9320
  get position(): import("three").Vector3;
9149
9321
  get altitude(): number;
9150
9322
  set altitude(value: number);
9151
9323
  get renderOrder(): number;
9152
- set renderOrder(_: number);
9324
+ set renderOrder(value: number);
9153
9325
  }
9154
9326
  }
9155
9327
 
@@ -9488,7 +9660,7 @@ declare module '@mappedin/react-sdk/geojson/src/renderer' {
9488
9660
  import { Group as TweenGroup } from '@tweenjs/tween.js';
9489
9661
  import { Debug } from '@mappedin/react-sdk/geojson/src/utils/debug';
9490
9662
  import { Occlusion2DSystem } from '@mappedin/react-sdk/geojson/src/systems/2d-occlusion/system';
9491
- import type { FloatingFloorTextProperties } from '@mappedin/mvf';
9663
+ import type { FloatingFloorTextProperties } from '@mappedin/mvf-v2';
9492
9664
  export type * from '@mappedin/react-sdk/geojson/src/types';
9493
9665
  export const raycaster: Raycaster;
9494
9666
  /**
@@ -9572,6 +9744,7 @@ declare module '@mappedin/react-sdk/geojson/src/renderer' {
9572
9744
  altitude?: number;
9573
9745
  interactive?: boolean;
9574
9746
  focusable?: boolean;
9747
+ preloadGeometry?: boolean;
9575
9748
  }, parent?: EntityId<GroupContainerState> | string | number | null): EntityId<GroupContainerState>;
9576
9749
  addStackContainer(id: string, style?: {
9577
9750
  visible?: true;
@@ -10076,7 +10249,7 @@ declare module '@mappedin/react-sdk/geojson/src/components/text3d' {
10076
10249
  import type { Text3DStyle } from '@mappedin/react-sdk/geojson/src/components/styles';
10077
10250
  import type { MeshComponentProperties } from '@mappedin/react-sdk/geojson/src/components/mesh';
10078
10251
  import type { GroupContainerObject3D } from '@mappedin/react-sdk/geojson/src/entities/group-container';
10079
- import { type FloorTextCommonProperties } from '@mappedin/mvf';
10252
+ import { type FloorTextCommonProperties } from '@mappedin/mvf-v2';
10080
10253
  /**
10081
10254
  * State representing an Text3D
10082
10255
  */
@@ -10617,10 +10790,13 @@ declare module '@mappedin/react-sdk/geojson/src/utils/constants' {
10617
10790
  import type { InsetPadding } from '@mappedin/react-sdk/geojson/src/types';
10618
10791
  export const DEFAULT_INSET_PADDING: InsetPadding;
10619
10792
  export const MAPPEDIN_LAYER_ID = "mappedin";
10620
- export enum ENTITY_3D_LAYERS {
10793
+ export enum RAYCAST_LAYERS {
10621
10794
  DEFAULT = 0,
10622
10795
  OUTLINES = 1
10623
10796
  }
10797
+ export const RENDER_LAYERS: {
10798
+ ALWAYS_ON_TOP: number;
10799
+ };
10624
10800
  /**
10625
10801
  * Duration of zoom in/out animation when double tapping with one finger or single tapping with two fingers.
10626
10802
  */
@@ -10773,8 +10949,8 @@ declare module '@mappedin/react-sdk/geojson/src/systems/watermark/system' {
10773
10949
  visible?: boolean;
10774
10950
  };
10775
10951
  export type WatermarkUpdateOptions = Omit<WatermarkOptions, 'onClick' | 'visible'> & {
10776
- /** Show the Mappedin watermark. Once it is visible it cannot be hidden again. */
10777
- visible?: true;
10952
+ /** Show the Mappedin watermark. */
10953
+ visible?: boolean;
10778
10954
  /** Set the interactivity of the watermark. */
10779
10955
  interactive?: boolean;
10780
10956
  };
@@ -11004,10 +11180,10 @@ declare module '@mappedin/react-sdk/geojson/src/components/styles' {
11004
11180
  }
11005
11181
 
11006
11182
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/map-object' {
11007
- import type { ParsedMVF } from '@mappedin/mvf';
11183
+ import type { ParsedMVF } from '@mappedin/mvf-v2';
11008
11184
  import type { FeatureCollection, LineString, MultiPolygon, Polygon } from 'geojson';
11009
11185
  import { PubSub } from '@packages/internal/common';
11010
- import type { Position, AddLabelOptions, RendererCore, PathState, MarkerState, LineStyle, PaintStyle, EntityId } from '@mappedin/core-sdk';
11186
+ import type { Position, AddLabelOptions, RendererCore, PathState, MarkerState, LineStyle, PaintStyle, EntityId, Text3DState } from '@mappedin/core-sdk';
11011
11187
  import { FloorObject } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-object';
11012
11188
  import type { Directions, Floor, TAddMarkerOptions, TAddPathOptions, TShow3DMapOptions } from '@mappedin/react-sdk/mappedin-js/src';
11013
11189
  import type { GLTFExportOptions, TAnimationOptions, TAddModelOptions, TAddImageOptions, TDirectionInstruction, TAddText3DOptions, IAnchorable, TAddLabelOptions } from '@mappedin/react-sdk/mappedin-js/src/types';
@@ -11019,7 +11195,6 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/map-object' {
11019
11195
  import { Space, Coordinate } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
11020
11196
  import { type GeoJsonApi } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/api';
11021
11197
  import { FloorStackObject } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-stack-object';
11022
- import type { Text3DState } from '@mappedin/core-sdk/src/components/text3d';
11023
11198
  export class GeojsonApiMapObject extends PubSub<{
11024
11199
  'floor-change': {
11025
11200
  reason?: TFloorChangeReason;
@@ -11071,7 +11246,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/map-object' {
11071
11246
  Images: {
11072
11247
  add: (target: Position, url: string, opts: TAddImageOptions & {
11073
11248
  floorId?: string;
11074
- }) => EntityId<import("@mappedin/core-sdk/src/components/image").ImageState> | undefined;
11249
+ }) => EntityId<import("../../../geojson/src/components/image").ImageState> | undefined;
11075
11250
  remove: (id: string) => void;
11076
11251
  removeAll: () => void;
11077
11252
  };
@@ -11985,7 +12160,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/paths' {
11985
12160
  }
11986
12161
 
11987
12162
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/style' {
11988
- import type { StyleCollection } from '@mappedin/mvf';
12163
+ import type { StyleCollection } from '@mappedin/mvf-v2';
11989
12164
  import type { GeojsonApiMapObject } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/map-object';
11990
12165
  export class Style {
11991
12166
  #private;
@@ -12912,6 +13087,16 @@ declare module '@mappedin/react-sdk/mappedin-js/src/analytics/customer' {
12912
13087
  export {};
12913
13088
  }
12914
13089
 
13090
+ declare module '@mappedin/react-sdk/packages/common/types' {
13091
+ type Primitive = string | number | boolean | null | undefined;
13092
+ export type PartialExcept<T, K extends string> = {
13093
+ [P in keyof T as P extends K ? P : never]: T[P];
13094
+ } & {
13095
+ [P in keyof T as P extends K ? never : P]?: T[P] extends Primitive ? T[P] : T[P] extends (infer U)[] ? PartialExcept<U, K>[] : PartialExcept<T[P], K>;
13096
+ };
13097
+ export {};
13098
+ }
13099
+
12915
13100
  declare module '@mappedin/react-sdk/packages/mvf-utils/tokens/access-token' {
12916
13101
  import { type TGetMapDataWithCredentialsOptions } from '@mappedin/react-sdk/packages/mvf-utils/mvf-utils';
12917
13102
  export const ACCESS_TOKEN_REFRESH_BUFFER_MINUTES = 60;
@@ -12977,7 +13162,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-metada
12977
13162
  }
12978
13163
 
12979
13164
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/detailed-map-data' {
12980
- import type { Details, Feature as MVFFeature, Geometry } from '@mappedin/mvf';
13165
+ import type { Details, Feature as MVFFeature, Geometry } from '@mappedin/mvf-v2';
12981
13166
  import type LocationProfile from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/location-profile';
12982
13167
  import Hyperlink from '@mappedin/react-sdk/mappedin-js/src/map-data-objects/hyperlink';
12983
13168
  import type { MapDataInternal } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
@@ -13052,7 +13237,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/base-object
13052
13237
  }
13053
13238
 
13054
13239
  declare module '@mappedin/react-sdk/mappedin-js/src/map-data-objects/opening-hours' {
13055
- import type { OpeningHoursSpecification } from '@mappedin/mvf';
13240
+ import type { OpeningHoursSpecification } from '@mappedin/mvf-v2';
13056
13241
  /**
13057
13242
  * Represents the opening hours of a location.
13058
13243
  */
@@ -13204,10 +13389,6 @@ declare module '@mappedin/react-sdk/geojson/src/entities/geometry3d' {
13204
13389
  type: 'b';
13205
13390
  value: boolean;
13206
13391
  };
13207
- flattenFactor: {
13208
- type: 'f';
13209
- value: number;
13210
- };
13211
13392
  showPulse: {
13212
13393
  type: 'b';
13213
13394
  value: boolean;
@@ -13216,6 +13397,10 @@ declare module '@mappedin/react-sdk/geojson/src/entities/geometry3d' {
13216
13397
  type: 'f';
13217
13398
  value: number;
13218
13399
  };
13400
+ dashed: {
13401
+ type: 'b';
13402
+ value: boolean;
13403
+ };
13219
13404
  }
13220
13405
  export {};
13221
13406
  }
@@ -13240,16 +13425,18 @@ declare module '@mappedin/react-sdk/geojson/src/entities/geometry2d' {
13240
13425
  /** The geometry3D that this 2D entity is attached to */
13241
13426
  get attachedTo(): string | number | undefined;
13242
13427
  verticalOffset: number;
13243
- /**
13244
- * When the position of the entity changes, this should be set to true, so that systems like pan bounds can update
13245
- */
13246
- positionDirty: boolean;
13247
13428
  occluderId?: number;
13248
13429
  object3d: Geometry2DObject3D;
13249
13430
  components: [MarkerComponent | LabelComponent, InteractionComponent?];
13250
13431
  disposed: boolean;
13251
13432
  constructor(ui: MarkerComponent | LabelComponent, position: Vector3, verticalOffset?: number);
13252
13433
  get position(): Vector3;
13434
+ /**
13435
+ * When the position of the entity changes, this should be set to true, so that systems like pan bounds can update
13436
+ */
13437
+ get positionDirty(): boolean;
13438
+ set positionDirty(value: boolean);
13439
+ updatePosition(position: Vector3): void;
13253
13440
  setAltitude(z: number): void;
13254
13441
  }
13255
13442
  }
@@ -13509,6 +13696,7 @@ declare module '@mappedin/react-sdk/geojson/src/types/options' {
13509
13696
  map?: MapLibreMap;
13510
13697
  mode?: 'standalone' | 'outdoors-interleaved' | 'outdoors-overlay';
13511
13698
  antialias?: boolean;
13699
+ useStandaloneCamera?: boolean;
13512
13700
  onWebGLRendererError?: (error: Error) => void;
13513
13701
  onWebGLContextCreationError?: (event: Event) => void;
13514
13702
  onWebGLContextLost?: (event: Event) => void;
@@ -13798,9 +13986,9 @@ declare module '@mappedin/react-sdk/geojson/src/systems/2d-draw/system' {
13798
13986
  };
13799
13987
  textToCanvas: (textDrawFn: (ctx: CanvasRenderingContext2D, x: number, y: number) => void, size: number, textAlign: TEXTALIGN, width: number, height: number, foregroundColor: string, backgroundColor: string) => any;
13800
13988
  cacheImage: (label: LabelComponent) => void;
13801
- createPinCanvas: (label: LabelComponent, markerSize: number, backgroundColor: string, foregroundColor: string) => HTMLCanvasElement | OffscreenCanvas;
13989
+ createPinCanvas: (label: LabelComponent, markerSize: number, backgroundColor: string, foregroundColor: string, maxIconScale?: number) => HTMLCanvasElement | OffscreenCanvas;
13802
13990
  prepare: (label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D) => void;
13803
- draw(label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D): void;
13991
+ draw(label: LabelComponent, labelCacheId: string, context: CanvasRenderingContext2D, zoomLevel: number): void;
13804
13992
  }
13805
13993
  export {};
13806
13994
  }
@@ -14122,7 +14310,7 @@ declare module '@mappedin/react-sdk/geojson/src/systems/outline-interpolation/sy
14122
14310
  * @param zoomLevel - The current zoom level.
14123
14311
  * @param isCameraZoomDirty - Whether the zoom level has changed since the last update. If this is true, the system will update if zoomLevel falls between range.
14124
14312
  */
14125
- update(zoomLevel: number, isCameraZoomDirty?: boolean): null | undefined;
14313
+ update(zoomLevel: number, isCameraZoomDirty?: boolean): void;
14126
14314
  destroy(): void;
14127
14315
  }
14128
14316
  }
@@ -14709,7 +14897,7 @@ declare module '@mappedin/react-sdk/geojson/src/components/styles/constants' {
14709
14897
  }
14710
14898
 
14711
14899
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-object' {
14712
- import type { Polygon, MultiPolygon, FloorProperties as MVFFloor, ParsedMVF, Feature } from '@mappedin/mvf';
14900
+ import type { Polygon, MultiPolygon, FloorProperties as MVFFloor, ParsedMVF, Feature } from '@mappedin/mvf-v2';
14713
14901
  import type { RendererCore, BBox } from '@mappedin/core-sdk';
14714
14902
  import type { AggregatedStyleMap } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/utils';
14715
14903
  import type { TShow3DMapOptions } from '@mappedin/react-sdk/mappedin-js/src';
@@ -14749,7 +14937,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-object' {
14749
14937
 
14750
14938
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/utils' {
14751
14939
  import { Coordinate, MapObject, Space, type Floor, type Facade } from '@mappedin/react-sdk/mappedin-js/src/map-data-objects';
14752
- import type { EntranceCollection, LineString, Polygon, Point, SpaceProperties, ObstructionProperties, StyleCollection, PolygonStyle, LineStringStyle, Feature, ObstructionCollection, PointStyle } from '@mappedin/mvf';
14940
+ import type { EntranceCollection, LineString, Polygon, Point, SpaceProperties, ObstructionProperties, StyleCollection, PolygonStyle, LineStringStyle, Feature, ObstructionCollection, PointStyle } from '@mappedin/mvf-v2';
14753
14941
  import type { PolygonFeatureProperties } from '@packages/internal/mvf-utils';
14754
14942
  import type { BBox, FeatureCollection, MultiLineString } from 'geojson';
14755
14943
  import type { LabelState, MarkerState, GeometryState, CollisionRankingTier, LineStyle, PaintStyle, Position, EntityId, PathState } from '@mappedin/core-sdk';
@@ -14801,7 +14989,7 @@ declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/utils' {
14801
14989
 
14802
14990
  declare module '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-stack-object' {
14803
14991
  import type { RendererCore } from '@mappedin/core-sdk';
14804
- import type { FloorId, FloorStack as MVFFloorStack, Facade as MVFFacade } from '@mappedin/mvf';
14992
+ import type { FloorId, FloorStack as MVFFloorStack, Facade as MVFFacade } from '@mappedin/mvf-v2';
14805
14993
  import type { FloorObject } from '@mappedin/react-sdk/mappedin-js/src/api-geojson/floor-object';
14806
14994
  export class FloorStackObject implements Omit<MVFFloorStack, 'maps' | 'floors' | 'defaultFloor' | 'footprint'> {
14807
14995
  #private;
@@ -23490,6 +23678,7 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigator' {
23490
23678
 
23491
23679
  declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigator/navigator' {
23492
23680
  import type { Position, Feature, MultiPolygon, Polygon } from 'geojson';
23681
+ import { Edge } from '@mappedin/react-sdk/packages/geojson-navigator/src/edge';
23493
23682
  import { NavigationGraph } from '@mappedin/react-sdk/packages/geojson-navigator/src/navigation-graph';
23494
23683
  import type { NodeCollection } from '@mappedin/react-sdk/packages/geojson-navigator/src/types/node';
23495
23684
  import type { ObstructionCollection } from '@mappedin/react-sdk/packages/geojson-navigator/src/types/obstruction';
@@ -23551,7 +23740,7 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigator/nav
23551
23740
  * @param {SimplifyDirectionsOptions} [simplify] - Options to simplify the pathfinding result.
23552
23741
  * @returns {DirectionsCollection} A collection of directional features representing the path.
23553
23742
  */
23554
- getDirections({ zones: directionsZones, originIds, destinationNodeIds, excludedNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, }: {
23743
+ getDirections({ zones: directionsZones, originIds, destinationNodeIds, excludedNodeIds, disabledConnectionNodeIds, simplify, multiplicativeDistanceWeightScaling, overrideEdgeWeights, }: {
23555
23744
  originIds: string[];
23556
23745
  destinationNodeIds: string[];
23557
23746
  zones?: DirectionsZone[];
@@ -23559,6 +23748,7 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigator/nav
23559
23748
  disabledConnectionNodeIds?: string[];
23560
23749
  simplify?: SimplifyDirectionsOptions;
23561
23750
  multiplicativeDistanceWeightScaling?: boolean;
23751
+ overrideEdgeWeights?: Map<Edge, number>;
23562
23752
  }): DirectionsCollection;
23563
23753
  /**
23564
23754
  * Calculates the approximate distance between two geographic coordinates on Earth's surface.
@@ -23628,7 +23818,7 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/types/node' {
23628
23818
 
23629
23819
  declare module '@mappedin/react-sdk/packages/geojson-navigator/src/types/obstruction' {
23630
23820
  import type { LineString, Polygon, Feature } from 'geojson';
23631
- import type { ObstructionProperties, ObstructionCollection } from '@mappedin/mvf';
23821
+ import type { ObstructionProperties, ObstructionCollection } from '@mappedin/mvf-v2';
23632
23822
  /**
23633
23823
  * A GeoJSON feature representing an obstruction, which can be either a line string or a polygon.
23634
23824
  * This type is crucial for mapping and managing areas that impede or restrict movement, such as barriers or restricted zones.
@@ -27273,13 +27463,17 @@ declare module '@mappedin/react-sdk/packages/outdoor-context-v4/ui/handler/tap_z
27273
27463
  }
27274
27464
  }
27275
27465
 
27466
+ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/edge' {
27467
+ export * from '@mappedin/react-sdk/packages/geojson-navigator/src/edge/edge';
27468
+ }
27469
+
27276
27470
  declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigation-graph' {
27277
27471
  export * from '@mappedin/react-sdk/packages/geojson-navigator/src/navigation-graph/navigation-graph';
27278
27472
  }
27279
27473
 
27280
27474
  declare module '@mappedin/react-sdk/packages/geojson-navigator/src/types/space' {
27281
27475
  import type { LineString, Polygon, Point, Feature } from 'geojson';
27282
- import type { SpaceProperties, SpaceCollection } from '@mappedin/mvf';
27476
+ import type { SpaceProperties, SpaceCollection } from '@mappedin/mvf-v2';
27283
27477
  /**
27284
27478
  * A GeoJSON feature representing a space, which can be either a line string or a polygon.
27285
27479
  * This type is crucial for mapping and managing areas that impede or restrict movement, such as barriers or restricted zones.
@@ -27289,10 +27483,6 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/types/space'
27289
27483
  export { SpaceCollection, SpaceProperties };
27290
27484
  }
27291
27485
 
27292
- declare module '@mappedin/react-sdk/packages/geojson-navigator/src/edge' {
27293
- export * from '@mappedin/react-sdk/packages/geojson-navigator/src/edge/edge';
27294
- }
27295
-
27296
27486
  declare module '@mappedin/react-sdk/geojson/src/systems/camera/helpers/input-set' {
27297
27487
  import type { Vector2 } from 'three';
27298
27488
  class InputSet {
@@ -29953,6 +30143,42 @@ declare module '@mappedin/react-sdk/packages/outdoor-context-v4/source/terrain_s
29953
30143
  }
29954
30144
  }
29955
30145
 
30146
+ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/edge/edge' {
30147
+ import type { NodeFeature } from '@mappedin/react-sdk/packages/geojson-navigator/src/types/node';
30148
+ /**
30149
+ * Represents an edge in a graph, containing data about its endpoints and metrics like distance and angle.
30150
+ * @hidden
30151
+ */
30152
+ export class Edge {
30153
+ /** The originating node of the edge */
30154
+ origin: NodeFeature;
30155
+ /** The destination node of the edge */
30156
+ destination: NodeFeature;
30157
+ /** The distance between the origin and the destination nodes */
30158
+ distance: number;
30159
+ /** The angle of the edge with respect to some reference, in degrees */
30160
+ angle: number;
30161
+ /** A composite weight of the edge, combining distance and a custom path weight */
30162
+ weight: number;
30163
+ /**
30164
+ * Constructs a new Edge instance.
30165
+ * @param {NodeFeature} origin - The originating node of the edge.
30166
+ * @param {NodeFeature} destination - The destination node of the edge.
30167
+ * @param {number} [distance=0] - The physical distance between the origin and destination.
30168
+ * @param {number} [angle=0] - The angle of the edge in degrees.
30169
+ * @param {number} [pathWeight=0] - An additional weight factor for the path.
30170
+ */
30171
+ constructor({ origin, destination, distance, angle, pathWeight, multiplicativeDistanceWeightScaling, }: {
30172
+ origin: NodeFeature;
30173
+ destination: NodeFeature;
30174
+ distance?: number;
30175
+ angle?: number;
30176
+ pathWeight?: number;
30177
+ multiplicativeDistanceWeightScaling?: boolean;
30178
+ });
30179
+ }
30180
+ }
30181
+
29956
30182
  declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigation-graph/navigation-graph' {
29957
30183
  import { Edge } from '@mappedin/react-sdk/packages/geojson-navigator/src/edge';
29958
30184
  import type { NodeCollection, NodeFeature } from '@mappedin/react-sdk/packages/geojson-navigator/src/types/node';
@@ -29993,52 +30219,17 @@ declare module '@mappedin/react-sdk/packages/geojson-navigator/src/navigation-gr
29993
30219
  * @param {Set<string>} [disabledConnectionNodeIds] - Optional set of connection node IDs that are disabled (ie. act as regular nodes).
29994
30220
  * @returns {Edge[]} An array of edges representing the shortest path, or an empty array if no path is found.
29995
30221
  */
29996
- aStar({ originIds, destinationNodeIds, excludedNodeIds, disabledConnectionNodeIds, zones, }: {
30222
+ aStar({ originIds, destinationNodeIds, excludedNodeIds, disabledConnectionNodeIds, zones, overrideEdgeWeights, }: {
29997
30223
  originIds: string[];
29998
30224
  destinationNodeIds: string[];
29999
30225
  zones: DirectionsZone[];
30000
30226
  excludedNodeIds?: Set<string>;
30001
30227
  disabledConnectionNodeIds?: Set<string>;
30228
+ overrideEdgeWeights?: Map<Edge, number>;
30002
30229
  }): Edge[];
30003
30230
  }
30004
30231
  }
30005
30232
 
30006
- declare module '@mappedin/react-sdk/packages/geojson-navigator/src/edge/edge' {
30007
- import type { NodeFeature } from '@mappedin/react-sdk/packages/geojson-navigator/src/types/node';
30008
- /**
30009
- * Represents an edge in a graph, containing data about its endpoints and metrics like distance and angle.
30010
- * @hidden
30011
- */
30012
- export class Edge {
30013
- /** The originating node of the edge */
30014
- origin: NodeFeature;
30015
- /** The destination node of the edge */
30016
- destination: NodeFeature;
30017
- /** The distance between the origin and the destination nodes */
30018
- distance: number;
30019
- /** The angle of the edge with respect to some reference, in degrees */
30020
- angle: number;
30021
- /** A composite weight of the edge, combining distance and a custom path weight */
30022
- weight: number;
30023
- /**
30024
- * Constructs a new Edge instance.
30025
- * @param {NodeFeature} origin - The originating node of the edge.
30026
- * @param {NodeFeature} destination - The destination node of the edge.
30027
- * @param {number} [distance=0] - The physical distance between the origin and destination.
30028
- * @param {number} [angle=0] - The angle of the edge in degrees.
30029
- * @param {number} [pathWeight=0] - An additional weight factor for the path.
30030
- */
30031
- constructor({ origin, destination, distance, angle, pathWeight, multiplicativeDistanceWeightScaling, }: {
30032
- origin: NodeFeature;
30033
- destination: NodeFeature;
30034
- distance?: number;
30035
- angle?: number;
30036
- pathWeight?: number;
30037
- multiplicativeDistanceWeightScaling?: boolean;
30038
- });
30039
- }
30040
- }
30041
-
30042
30233
  declare module '@mappedin/react-sdk/packages/outdoor-context-v4/data/feature_position_map' {
30043
30234
  type SerializedFeaturePositionMap = {
30044
30235
  ids: Float64Array;