@mappedin/mappedin-js 6.27.0 → 6.29.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.
@@ -1,5 +1,5 @@
1
- import * as _mappedin_mvf_v22 from "@mappedin/mvf-v2";
2
- import { AnnotationCollection, AnnotationSymbol, AreaCollection, AreaId, BaseTextAreaProperties, Category, CategoryId, Connection as Connection$1, Details, EnterpriseCategory as EnterpriseCategory$1, EnterpriseCategoryId, EnterpriseLocation as EnterpriseLocation$1, EnterpriseLocationId, EnterpriseLocationInstance, EnterpriseTexture, EnterpriseVenue as EnterpriseVenue$1, EnterpriseVenueType, EntranceCollection, EntranceFeature, Facade as Facade$1, Feature as Feature$1, FeatureCollection as FeatureCollection$1, FloatingFloorTextProperties, FloorCollection, FloorId, FloorProperties, FloorStack as FloorStack$1, FloorTextCommonProperties, Geometry as Geometry$1, Hyperlink as Hyperlink$1, Image, Language, LineStringStyle, LineStringStyle as TMVFLineStringStyle, Location, LocationId, LocationLink, LocationSocial, LocationSocial as LocationSocial$1, LocationState, LocationState as LocationState$1, MVFv2_STANDARD_MVFv3, MultiPolygon as MultiPolygon$1, NavigationFlagDeclarations, NodeCollection, NodeId, ObstructionCollection, ObstructionCollection as ObstructionCollection$1, ObstructionFeature, ObstructionId, OpeningHoursSpecification, OperationHours, OperationHours as OperationHours$1, ParsedMVF, ParsedMVF as TMVF, ParsedMVFLocalePack, Point as Point$1, PointStyle, PointStyle as TMVFPointStyle, Polygon as Polygon$1, PolygonStyle, PolygonStyle as TMVFPolygonStyle, SiblingGroup, SiblingGroup as SiblingGroup$1, SpaceCollection, SpaceCollection as SpaceCollection$1, SpaceFeature, SpaceId, SpaceProperties, Style as TMVFStyle, StyleCollection, StyleCollection as TMVFStyleCollection, TilesetStyle } from "@mappedin/mvf-v2";
1
+ import * as _mappedin_mvf_v20 from "@mappedin/mvf-v2";
2
+ import { AnnotationCollection, AnnotationSymbol, AreaCollection, BaseTextAreaProperties, Category, CategoryId, Connection as Connection$1, Details, EnterpriseCategory as EnterpriseCategory$1, EnterpriseLocation as EnterpriseLocation$1, EnterpriseTexture, EnterpriseVenue as EnterpriseVenue$1, EnterpriseVenueType, EntranceCollection, EntranceFeature, Facade as Facade$1, Feature as Feature$1, FeatureCollection as FeatureCollection$1, FloatingFloorTextProperties, FloorId, FloorProperties, FloorStack as FloorStack$1, FloorTextCommonProperties, Geometry as Geometry$1, Hyperlink as Hyperlink$1, Image, Language, LineStringStyle, LineStringStyle as TMVFLineStringStyle, LocationId, LocationLink, LocationSocial, LocationSocial as LocationSocial$1, LocationState, LocationState as LocationState$1, MVFv2_STANDARD_MVFv3, MultiPolygon as MultiPolygon$1, NavigationFlagDeclarations, NodeCollection, ObstructionCollection, ObstructionCollection as ObstructionCollection$1, ObstructionFeature, OpeningHoursSpecification, OperationHours, OperationHours as OperationHours$1, ParsedMVF, ParsedMVF as TMVF, ParsedMVFLocalePack, Point as Point$1, PointStyle, PointStyle as TMVFPointStyle, Polygon as Polygon$1, PolygonStyle, PolygonStyle as TMVFPolygonStyle, SiblingGroup, SiblingGroup as SiblingGroup$1, SpaceCollection, SpaceCollection as SpaceCollection$1, SpaceFeature, SpaceProperties, Style as TMVFStyle, StyleCollection, StyleCollection as TMVFStyleCollection, TilesetStyle } from "@mappedin/mvf-v2";
3
3
  import { MVFv2_STANDARD_MVFv3 as MVFv2_STANDARD_MVFv3$1, ParsedMVF as ParsedMVF$1, RawMVF } from "@mappedin/mvf-v2/no-validator-lite";
4
4
  import * as three0 from "three";
5
5
  import { AmbientLight, BatchedMesh, BatchedMeshGeometryRange, Box3, BufferAttribute, BufferGeometry, Camera as Camera$1, Color, DirectionalLight, Group, Intersection, LineSegments, Matrix4, Mesh, MeshLambertMaterial, MeshLambertMaterialParameters, Object3D, Object3DEventMap, PerspectiveCamera, Plane, PlaneGeometry, Raycaster, Scene, ShaderMaterial, Texture, TubeGeometry, Vector2, Vector3, WebGLRenderer } from "three";
@@ -8,8 +8,8 @@ import { AddLabelOptionsInternal, AddText3DOptions, AddText3DOptions as AddText3
8
8
  import * as _tweenjs_tween_js0 from "@tweenjs/tween.js";
9
9
  import { Group as Group$1, Tween } from "@tweenjs/tween.js";
10
10
  import { CustomLayerInterface, IControl, Map as Map$1, MapEventType } from "@mappedin/outdoor-context";
11
- import { ANIMATION_TWEENS, PathWidth as PathWidth$2, PathWidth as PathWidth$3, enableTestMode } from "@mappedin/renderer-shared";
12
- import { MatchInfo, SearchResult as SearchResult$1, Suggestion, Suggestion as Suggestion$1 } from "minisearch";
11
+ import { ANIMATION_TWEENS, PathWidth as PathWidth$2, PathWidth as PathWidth$3, SlopeState, enableTestMode } from "@mappedin/renderer-shared";
12
+ import { MatchInfo, SearchOptions as SearchOptions$1, SearchResult as SearchResult$1, Suggestion, Suggestion as Suggestion$1 } from "minisearch";
13
13
  import { BatchedText, BatchedText as BatchedText$1, Text, Text as Text$1 } from "troika-three-text";
14
14
  import "../../renderer-three/src/styles/interactions.scss";
15
15
  import "../../renderer-three/src/styles/html-controls.scss";
@@ -626,11 +626,36 @@ declare class PubSub<EVENT_PAYLOAD, EVENT extends keyof EVENT_PAYLOAD = keyof EV
626
626
  * ```
627
627
  */
628
628
  get signal(): AbortSignal;
629
+ /**
630
+ * The live subscriber list for an event, or `undefined` when a `publish` of it would no-op
631
+ * (unknown event, destroyed, or no subscribers). The single guard shared by every method that
632
+ * reads subscribers, so `publish`, `off`, and `hasSubscribers` cannot drift from one another.
633
+ */
634
+ private getSubscribers;
629
635
  /**
630
636
  * @private
631
637
  * @internal
632
638
  */
633
639
  publish<EVENT_NAME extends EVENT>(eventName: EVENT_NAME, data?: EVENT_PAYLOAD[EVENT_NAME]): void;
640
+ /**
641
+ * Whether any function is currently subscribed to an event.
642
+ *
643
+ * Answers the question a caller would otherwise answer by counting {@link on} and {@link off}
644
+ * calls itself. Such a count desynchronises: {@link off} is a no-op when handed a function that
645
+ * was never subscribed, so a tally decremented alongside it drifts below the real number of
646
+ * listeners. This reads the subscriber list, so it cannot disagree with `publish`.
647
+ *
648
+ * @param eventName The event to test.
649
+ * @returns True when a later `publish` of that event would reach at least one function.
650
+ * @example
651
+ * ```typescript
652
+ * // Skip building an expensive payload nothing would receive
653
+ * if (pubsub.hasSubscribers('position-update')) {
654
+ * pubsub.publish('position-update', buildPayload());
655
+ * }
656
+ * ```
657
+ */
658
+ hasSubscribers<EVENT_NAME extends EVENT>(eventName: EVENT_NAME): boolean;
634
659
  /**
635
660
  * Subscribe a function to be called when the signal is aborted.
636
661
  * @param fn The function to call when the signal is aborted.
@@ -705,7 +730,7 @@ type EasingCurve = (typeof EASING_CURVES)[number];
705
730
  * Valid track-analytics API contexts. These should match the expected values of that endpoint or the requests will fail.
706
731
  * If a set context is not in this list, it will default to the first VALID_CONTEXTS value.
707
732
  */
708
- declare const VALID_CONTEXTS: readonly ["websdk", "web", "webv2", "kiosk", "kiosk-v2", "mobile", "iossdk", "androidsdk", "reactnativesdk", "gen7", "bespoke", "reactsdk", "minimap"];
733
+ declare const VALID_CONTEXTS: readonly ["websdk", "web", "webv2", "kiosk", "kiosk-v2", "mobile", "iossdk", "androidsdk", "reactnativesdk", "gen7", "bespoke", "reactsdk", "minimap", "app-framework"];
709
734
  type ValidContext = (typeof VALID_CONTEXTS)[number];
710
735
  declare const FOUND_POSITION = "found-position";
711
736
  declare const FOUND_FLOOR = "found-floor";
@@ -3942,6 +3967,26 @@ declare class CollisionSystem extends PubSub<TCollisionSystemEvent, keyof TColli
3942
3967
  type TransformImageRequest$1 = (url: string) => Promise<{
3943
3968
  url: string;
3944
3969
  }>;
3970
+ /**
3971
+ * Rasterized text for a single label, drawn once into a single multi-line
3972
+ * canvas (left-aligned) and blitted per-line at draw time. Replaces the
3973
+ * previous three per-alignment canvases, cutting text-canvas memory ~3x.
3974
+ */
3975
+ interface LabelTextCache {
3976
+ canvas: OffscreenCanvas | HTMLCanvasElement;
3977
+ /** Per-line text width, device px (excludes stroke). */
3978
+ lineWidths: number[];
3979
+ /** Vertical top offset (device px) of each line's row within the canvas. */
3980
+ lineTops: number[];
3981
+ /** Device px. */
3982
+ lineHeightPx: number;
3983
+ /** Device px (TEXT_STROKE_SIZE * pixelRatio). */
3984
+ strokePx: number;
3985
+ /** Block width device px = maxTextWidth + 2*strokePx. */
3986
+ width: number;
3987
+ /** Block height device px. */
3988
+ height: number;
3989
+ }
3945
3990
  /**
3946
3991
  * 2D canvas draw system for labels.
3947
3992
  * Renders label pins, icons, and text to a canvas overlay.
@@ -3975,11 +4020,7 @@ declare class TwoDDrawSystem extends PubSub<{
3975
4020
  width: number;
3976
4021
  height: number;
3977
4022
  }>;
3978
- textCache: Record<string, {
3979
- left?: OffscreenCanvas | HTMLCanvasElement;
3980
- center?: OffscreenCanvas | HTMLCanvasElement;
3981
- right?: OffscreenCanvas | HTMLCanvasElement;
3982
- }>;
4023
+ textCache: Record<string, LabelTextCache>;
3983
4024
  /** Number of labels that cleared the `canShow && visible` gate this frame. */
3984
4025
  private drawCount;
3985
4026
  /**
@@ -4002,11 +4043,22 @@ declare class TwoDDrawSystem extends PubSub<{
4002
4043
  */
4003
4044
  update: (zoomLevel: number) => void;
4004
4045
  processText: (text: string, size: number, maxWidth: number, maxLines: number, lineHeight: number) => {
4005
- textDrawFn: (ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number) => void;
4046
+ lineStrings: string[];
4047
+ lineWidths: number[];
4006
4048
  width: number;
4007
4049
  height: number;
4008
4050
  };
4009
- textToCanvas: (textDrawFn: (ctx: CanvasRenderingContext2D, x: number, y: number) => void, size: number, textAlign: TEXTALIGN, width: number, height: number, foregroundColor: string, backgroundColor: string) => HTMLCanvasElement | OffscreenCanvas | undefined;
4051
+ /**
4052
+ * Rasterizes all of a label's text lines into a single left-aligned canvas.
4053
+ *
4054
+ * The glyphs are baked once at the LEFT alignment xOffset (`strokeSize / 2`,
4055
+ * the same value the previous left-aligned canvas used) and re-positioned
4056
+ * per-line at blit time (see `draw`). Vertical placement reproduces the old
4057
+ * `draw` closure exactly: the block is centered on
4058
+ * `(bboxHeight + strokeSize / 2) / 2`, with line `i` of `n` at
4059
+ * `center + (i - (n - 1) / 2) * lineHeightPx`.
4060
+ */
4061
+ bakeTextCanvas: (component: LabelComponent, lineStrings: string[], lineWidths: number[], width: number, height: number) => LabelTextCache;
4010
4062
  cacheImage: (label: LabelComponent) => void;
4011
4063
  /**
4012
4064
  * Byte size of a single canvas assuming 4 bytes per pixel (RGBA).
@@ -4798,77 +4850,63 @@ type TNavigationMarker = {
4798
4850
  type: TNavigationMarkerType;
4799
4851
  };
4800
4852
  /**
4801
- * Path options extended with connection-specific overrides for Navigation.
4802
- * Connection paths inherit all base path options unless overridden with `__EXPERIMENTAL__CONNECTION_*` properties.
4853
+ * Path options for navigation, extended with a nested connection-specific
4854
+ * override. Connection paths inherit all base path options unless overridden
4855
+ * by the `connection` object (or the deprecated `__EXPERIMENTAL__CONNECTION_*`
4856
+ * flags).
4803
4857
  */
4804
4858
  type TNavigationPathOptions = TAddPathOptions & {
4805
4859
  /**
4806
- * @experimental Override color for connection paths (vertical paths between floors).
4807
- * If not specified, connection paths use the main `color` property.
4860
+ * Options applied to the connection path segments (vertical paths between
4861
+ * floors) of this path only. These fully override any conflicting base
4862
+ * `pathOptions` / `inactivePathOptions` keys (a complete path-options object
4863
+ * spread over the base). Every key here replaces its base counterpart —
4864
+ * including `dash` (the whole dash object).
4865
+ *
4866
+ * Because this is nested on each path, the active and inactive connections
4867
+ * can be styled independently: set `connection` on `pathOptions` for the
4868
+ * active connection and on `inactivePathOptions` for the inactive one.
4869
+ *
4870
+ * Connection segments default to square end caps: unless `endcapExtension`
4871
+ * is set explicitly here, it is forced to `[0, 0]` (overriding any base
4872
+ * `endcapExtension`), so floor paths keep their caps while connections
4873
+ * terminate flush at the junction.
4874
+ */
4875
+ connection?: Partial<TConnectionPathOptions>;
4876
+ /**
4877
+ * @deprecated Use `connection.color` instead.
4808
4878
  */
4809
4879
  __EXPERIMENTAL__CONNECTION_COLOR?: string;
4810
4880
  /**
4811
- * @experimental Override width for connection paths (vertical paths between floors).
4812
- * Accepts the same values as `width`:
4813
- * - `number` — meters
4814
- * - `'Npx'` — screen-space pixels (ribbon geometry only)
4815
- * - `Interpolation` — zoom-interpolated meters or pixels
4816
- *
4817
- * If not specified, connection paths use the main `width` property.
4881
+ * @deprecated Use `connection.width` instead.
4818
4882
  */
4819
4883
  __EXPERIMENTAL__CONNECTION_WIDTH?: PathWidth$1;
4820
4884
  /**
4821
- * @experimental Amount in meters to shorten connection path from each end.
4822
- * Prevents visual overlap with floor paths at junctions.
4823
- *
4824
- * @defaultValue 0
4885
+ * @deprecated This flat flag is retained as experimental (not yet graduated).
4886
+ * Use `connection.__EXPERIMENTAL_JUNCTION_INSET` instead.
4825
4887
  */
4826
4888
  __EXPERIMENTAL__CONNECTION_JUNCTION_INSET?: number;
4827
4889
  /**
4828
- * @experimental Override dashed styling for connection paths.
4829
- * If not specified, connection paths use the main `dashed` property.
4890
+ * @deprecated Use `connection.dashed` instead.
4830
4891
  */
4831
4892
  __EXPERIMENTAL__CONNECTION_DASHED?: boolean;
4832
4893
  /**
4833
- * @experimental Override how connection-path dashes are drawn — a painted
4834
- * mask, or discrete dashes. Mirrors
4835
- * `__EXPERIMENTAL_DASH_OPTIONS.__EXPERIMENTAL_DASH_STYLE`. If not specified,
4836
- * connection paths use the main dash style.
4837
- *
4838
- * `'discrete'` renders connections flat regardless of
4839
- * {@link __EXPERIMENTAL__CONNECTION_GEOMETRY}.
4894
+ * @deprecated Use `connection.geometry` instead (`'mask'` → `'tube'`,
4895
+ * `'discrete'` → `'ribbon'`).
4840
4896
  */
4841
4897
  __EXPERIMENTAL__CONNECTION_DASH_STYLE?: 'mask' | 'discrete';
4842
4898
  /**
4843
- * @experimental Override arrow flow animation for connection paths (vertical
4844
- * paths between floors). When `false`, connection paths keep their arrow
4845
- * flow static while floor paths can still animate. If not specified,
4846
- * connection paths use the main `animateArrowsOnPath` property.
4899
+ * @deprecated Use `connection.animateArrowsOnPath` instead.
4847
4900
  */
4848
4901
  __EXPERIMENTAL__CONNECTION_ANIMATE_ARROWS_ON_PATH?: boolean;
4849
4902
  /**
4850
- * @experimental Override arrow display for connection paths (vertical paths
4851
- * between floors). When `false`, connection paths render without directional
4852
- * arrows (plain dashes/ribbon) while floor paths can still show arrows.
4853
- * Animation is independent: arrow flow follows `animateArrowsOnPath`. If
4854
- * not specified, connection paths use the main `displayArrowsOnPath`
4855
- * property.
4903
+ * @deprecated Use `connection.displayArrowsOnPath` instead.
4856
4904
  */
4857
4905
  __EXPERIMENTAL__CONNECTION_DISPLAY_ARROWS_ON_PATH?: boolean;
4858
4906
  /**
4859
- * @experimental Override geometry type for connection paths.
4860
- * - 'tube': Original tube geometry with 8 radial segments
4861
- * - 'ribbon': Flat ribbon geometry with 2 vertices per segment
4862
- * If not specified, connection paths use the main `__EXPERIMENTAL_GEOMETRY` property.
4907
+ * @deprecated Use `connection.geometry` instead.
4863
4908
  */
4864
4909
  __EXPERIMENTAL__CONNECTION_GEOMETRY?: 'tube' | 'ribbon';
4865
- /**
4866
- * @experimental
4867
- * @deprecated Use `__EXPERIMENTAL_BILLBOARDING` instead. With per-vertex angle gating in the shader,
4868
- * billboarding applies to all path segments but only affects vertices above the angle threshold.
4869
- * A numeric value (degrees) naturally billboards only steep connection segments while leaving floor paths flat.
4870
- */
4871
- __EXPERIMENTAL__CONNECTION_BILLBOARDING?: boolean | number;
4872
4910
  };
4873
4911
  /**
4874
4912
  * Options for navigation.
@@ -4914,8 +4952,9 @@ type TNavigationOptions = {
4914
4952
  */
4915
4953
  animatePathDrawing?: boolean;
4916
4954
  /**
4917
- * Options for the path. Connection paths inherit these options unless overridden
4918
- * with `__EXPERIMENTAL__CONNECTION_*` properties.
4955
+ * Options for the path. Connection path segments inherit these options
4956
+ * unless overridden with the nested `connection` object (or the deprecated
4957
+ * `__EXPERIMENTAL__CONNECTION_*` flags).
4919
4958
  */
4920
4959
  pathOptions?: Partial<TNavigationPathOptions>;
4921
4960
  /**
@@ -6714,8 +6753,12 @@ type ExtractDeep<T$1, U$1, Depth extends readonly number[] = []> = Depth['length
6714
6753
  //#endregion
6715
6754
  //#region src/api-geojson/auto/index.d.ts
6716
6755
  /**
6717
- * Map view objects automatically created by `MapView.auto()` — typically labels
6718
- * and markers generated from venue data for common element types.
6756
+ * The result of auto-processing map elements.
6757
+ *
6758
+ * @remarks
6759
+ * `auto()` renders annotations as labels and always returns an empty `markers`
6760
+ * array; the legacy `__EXPERIMENTAL__auto()` path populates `markers` with DOM
6761
+ * markers for annotation elements.
6719
6762
  */
6720
6763
  type AutoElements = {
6721
6764
  labels: Label[];
@@ -6724,9 +6767,8 @@ type AutoElements = {
6724
6767
  //#endregion
6725
6768
  //#region src/map-view.d.ts
6726
6769
  /**
6727
- * ## MapView in Mappedin JS
6728
6770
  *
6729
- * MapView is the main rendering and interaction class for Mappedin maps. It provides comprehensive controls for manipulating map elements, camera, styling, and user interactions.
6771
+ * MapView is the main rendering and interaction class for Mappedin maps, and its auto() method adds automatic labels and makes spaces and objects interactive for a finished look with minimal code.
6730
6772
  *
6731
6773
  * ### Features
6732
6774
  * - **Rendering Control**: Camera, labels, markers, models, paths, and more
@@ -7564,17 +7606,60 @@ declare class MapView {
7564
7606
  x: number;
7565
7607
  y: number;
7566
7608
  };
7609
+ /**
7610
+ * Automatically creates labels for map elements and marks spaces and objects
7611
+ * interactive, giving the map a finished look with minimal code.
7612
+ *
7613
+ * This is the promoted replacement for {@link __EXPERIMENTAL__auto}. The one
7614
+ * behaviour difference is that `annotation` elements are rendered as labels
7615
+ * (an icon pin with no text) instead of DOM markers.
7616
+ *
7617
+ * ## What gets labelled
7618
+ *
7619
+ * - **Annotations** — an icon-only label (no text) with a white ring pin,
7620
+ * matching the former marker's look. The collision footprint is preserved via
7621
+ * a computed `margin`/`iconPadding` and an `iconBorderRadiusFactor` of 1/3.
7622
+ * - **Connections** (elevators, escalators, stairs, ladders) — one label per
7623
+ * coordinate, each with a built-in icon, coloured teal, at `low` rank.
7624
+ * - **Points of interest** — a label (built-in icon fallback) at `high` rank.
7625
+ * - **Doors** — a label (built-in icon fallback) at `low` rank.
7626
+ * - **Spaces** and **objects** — a label when the element has a name. Washrooms
7627
+ * and parking are colour-coded (blue / green).
7628
+ * - **Facades** — the floor-stack name is labelled on the facade's first space
7629
+ * at `high` rank, so it hides with the facade.
7630
+ *
7631
+ * Remote location-profile icons are fetched and recoloured when available;
7632
+ * otherwise a built-in icon is used.
7633
+ *
7634
+ * ## Other automatic updates
7635
+ *
7636
+ * - `space` and `object` geometries are set to `interactive: true`.
7637
+ *
7638
+ * @param mapElements - A custom array of map elements to process. If not
7639
+ * provided, all supported element types across the map are processed.
7640
+ * @returns An object containing the auto-created labels and an empty `markers`
7641
+ * array (kept for parity with `__EXPERIMENTAL__auto`; `auto()` never creates markers).
7642
+ *
7643
+ * @example
7644
+ * ```ts
7645
+ * const { labels } = await mapView.auto();
7646
+ * ```
7647
+ */
7648
+ auto(mapElements?: MapDataElements[]): Promise<AutoElements>;
7567
7649
  /**
7568
7650
  * @experimental
7651
+ * @deprecated Use {@link auto} instead. This method still creates DOM markers
7652
+ * for `annotation` elements; `auto()` renders them as labels.
7569
7653
  *
7570
7654
  * This is an experimental feature that may undergo significant changes,
7571
7655
  * including breaking changes, renaming, or complete removal in future versions.
7572
7656
  * Do not rely on this API in production environments.
7573
7657
  *
7574
- * Automatically creates labels, markers, and updates state of map elements provided with default settings.
7575
- * @param mapElements - A custom array of map elements to automatically create labels, markers, and update state of.
7576
- * If not provided, all map elements will be used.
7658
+ * Automatically creates labels, markers, and updates state of map elements
7659
+ * provided with default settings.
7577
7660
  *
7661
+ * @param mapElements - A custom array of map elements to automatically create
7662
+ * labels, markers, and update state of. If not provided, all map elements will be used.
7578
7663
  * @returns An object containing auto-created labels and markers.
7579
7664
  */
7580
7665
  __EXPERIMENTAL__auto(mapElements?: MapDataElements[]): Promise<AutoElements>;
@@ -7962,6 +8047,10 @@ declare class Camera {
7962
8047
  /**
7963
8048
  * Controls which camera interactions are enabled/disabled.
7964
8049
  *
8050
+ * In `external` camera mode the SDK's `cameraSystem` flags are ignored (MapLibre
8051
+ * owns the gestures), so these also drive MapLibre's native handlers
8052
+ * (`dragPan`/`scrollZoom`/`dragRotate`/`touchZoomRotate`/`keyboard`) directly.
8053
+ *
7965
8054
  * @example
7966
8055
  * ```ts
7967
8056
  * // Disable zoom and rotation
@@ -9279,6 +9368,7 @@ declare const floorStateSchemaPartial: ZodObject<{
9279
9368
  type: ZodOptional<ZodDefault<ZodLiteral<"floor.geometry">>>;
9280
9369
  opacity: ZodOptional<ZodDefault<ZodNumber>>;
9281
9370
  visible: ZodOptional<ZodDefault<ZodBoolean>>;
9371
+ heightScale: ZodOptional<ZodDefault<ZodNumber>>;
9282
9372
  maskId: ZodOptional<ZodDefault<ZodNullable<ZodNumber>>>;
9283
9373
  maskEffect: ZodOptional<ZodDefault<ZodEnum<{
9284
9374
  hide: "hide";
@@ -9363,6 +9453,7 @@ declare const floorStateSchemaStrict: ZodObject<{
9363
9453
  type: ZodDefault<ZodLiteral<"floor.geometry">>;
9364
9454
  opacity: ZodDefault<ZodNumber>;
9365
9455
  visible: ZodDefault<ZodBoolean>;
9456
+ heightScale: ZodDefault<ZodNumber>;
9366
9457
  maskId: ZodDefault<ZodNullable<ZodNumber>>;
9367
9458
  maskEffect: ZodDefault<ZodEnum<{
9368
9459
  hide: "hide";
@@ -9461,6 +9552,9 @@ declare const geometryStateSchemaPartial: ZodObject<{
9461
9552
  interactive: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pass-through">]>>>;
9462
9553
  opacity: ZodOptional<ZodDefault<ZodNumber>>;
9463
9554
  height: ZodOptional<ZodDefault<ZodNumber>>;
9555
+ slopeBearing: ZodOptional<ZodDefault<ZodNumber>>;
9556
+ slopeFactor: ZodOptional<ZodDefault<ZodNumber>>;
9557
+ slopeEnabled: ZodOptional<ZodDefault<ZodBoolean>>;
9464
9558
  altitude: ZodOptional<ZodDefault<ZodNumber>>;
9465
9559
  texture: ZodOptional<ZodOptional<ZodObject<{
9466
9560
  url: ZodString;
@@ -9484,6 +9578,9 @@ declare const geometryStateSchemaStrict: ZodObject<{
9484
9578
  interactive: ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pass-through">]>>;
9485
9579
  opacity: ZodDefault<ZodNumber>;
9486
9580
  height: ZodDefault<ZodNumber>;
9581
+ slopeBearing: ZodDefault<ZodNumber>;
9582
+ slopeFactor: ZodDefault<ZodNumber>;
9583
+ slopeEnabled: ZodDefault<ZodBoolean>;
9487
9584
  altitude: ZodDefault<ZodNumber>;
9488
9585
  texture: ZodOptional<ZodObject<{
9489
9586
  url: ZodString;
@@ -9512,7 +9609,7 @@ type TGeometryUpdateState = output<typeof geometryStateSchemaPartial>;
9512
9609
  declare const labelStateSchema: ZodObject<{
9513
9610
  type: ZodDefault<ZodLiteral<"label">>;
9514
9611
  text: ZodString;
9515
- rank: ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>;
9612
+ rank: ZodCustom<TCollisionRankingTier | "initial", TCollisionRankingTier | "initial">;
9516
9613
  appearance: ZodCustom<LabelAppearance, LabelAppearance>;
9517
9614
  interactive: ZodDefault<ZodBoolean>;
9518
9615
  enabled: ZodDefault<ZodBoolean>;
@@ -9535,7 +9632,7 @@ declare const labelStateSchema: ZodObject<{
9535
9632
  declare const labelStateSchemaPartial: ZodObject<{
9536
9633
  type: ZodOptional<ZodDefault<ZodLiteral<"label">>>;
9537
9634
  text: ZodOptional<ZodString>;
9538
- rank: ZodOptional<ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>>;
9635
+ rank: ZodOptional<ZodCustom<TCollisionRankingTier | "initial", TCollisionRankingTier | "initial">>;
9539
9636
  appearance: ZodOptional<ZodCustom<LabelAppearance, LabelAppearance>>;
9540
9637
  interactive: ZodOptional<ZodDefault<ZodBoolean>>;
9541
9638
  enabled: ZodOptional<ZodDefault<ZodBoolean>>;
@@ -9568,7 +9665,7 @@ type TLabelUpdateState = output<typeof labelStateSchemaPartial>;
9568
9665
  /** @internal */
9569
9666
  declare const markerStateSchema: ZodObject<{
9570
9667
  type: ZodDefault<ZodLiteral<"marker">>;
9571
- rank: ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>;
9668
+ rank: ZodCustom<TCollisionRankingTier | "initial", TCollisionRankingTier | "initial">;
9572
9669
  placement: ZodOptional<ZodUnion<readonly [ZodEnum<{
9573
9670
  hidden: "hidden";
9574
9671
  top: "top";
@@ -9610,7 +9707,7 @@ declare const markerStateSchema: ZodObject<{
9610
9707
  declare const markerStateSchemaPartial: ZodObject<{
9611
9708
  type: ZodOptional<ZodDefault<ZodLiteral<"marker">>>;
9612
9709
  interactive: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodLiteral<"pointer-events-auto">]>>>;
9613
- rank: ZodOptional<ZodCustom<"initial" | TCollisionRankingTier, "initial" | TCollisionRankingTier>>;
9710
+ rank: ZodOptional<ZodCustom<TCollisionRankingTier | "initial", TCollisionRankingTier | "initial">>;
9614
9711
  occlude: ZodOptional<ZodDefault<ZodBoolean>>;
9615
9712
  enabled: ZodOptional<ZodDefault<ZodBoolean>>;
9616
9713
  placement: ZodOptional<ZodOptional<ZodUnion<readonly [ZodEnum<{
@@ -9673,11 +9770,15 @@ type BorderColor = LiteralUnion<'darken', string>;
9673
9770
  declare const pathStateSchemaPartial: ZodObject<{
9674
9771
  type: ZodOptional<ZodDefault<ZodLiteral<"path">>>;
9675
9772
  color: ZodOptional<ZodDefault<ZodString>>;
9676
- width: ZodOptional<ZodType<PathWidth$2, unknown, $ZodTypeInternals<PathWidth$2, unknown>>>;
9677
- completeFraction: ZodOptional<ZodDefault<ZodNumber>>;
9678
9773
  visible: ZodOptional<ZodDefault<ZodBoolean>>;
9679
- interactive: ZodOptional<ZodDefault<ZodBoolean>>;
9680
9774
  verticalOffset: ZodOptional<ZodDefault<ZodNumber>>;
9775
+ geometry: ZodOptional<ZodDefault<ZodEnum<{
9776
+ tube: "tube";
9777
+ ribbon: "ribbon";
9778
+ }>>>;
9779
+ interactive: ZodOptional<ZodDefault<ZodBoolean>>;
9780
+ width: ZodOptional<ZodType<PathWidth$2, unknown, $ZodTypeInternals<PathWidth$2, unknown>>>;
9781
+ completeFraction: ZodOptional<ZodDefault<ZodNumber>>;
9681
9782
  highlightStartFraction: ZodOptional<ZodDefault<ZodNumber>>;
9682
9783
  highlightEndFraction: ZodOptional<ZodDefault<ZodNumber>>;
9683
9784
  highlightColor: ZodOptional<ZodDefault<ZodString>>;
@@ -9687,57 +9788,97 @@ declare const pathStateSchemaPartial: ZodObject<{
9687
9788
  xrayOpacity: ZodOptional<ZodDefault<ZodNumber>>;
9688
9789
  travelledEndFraction: ZodOptional<ZodDefault<ZodNumber>>;
9689
9790
  travelledColor: ZodOptional<ZodDefault<ZodString>>;
9690
- __EXPERIMENTAL_SMOOTHING_TENSION: ZodOptional<ZodDefault<ZodNumber>>;
9691
- __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: ZodOptional<ZodDefault<ZodNumber>>;
9791
+ smoothing: ZodOptional<ZodOptional<ZodObject<{
9792
+ tension: ZodDefault<ZodNumber>;
9793
+ cornerRadius: ZodDefault<ZodNumber>;
9794
+ }, $strip>>>;
9692
9795
  dashed: ZodOptional<ZodDefault<ZodBoolean>>;
9693
- dashDiscrete: ZodOptional<ZodDefault<ZodBoolean>>;
9694
9796
  dashCornerRadius: ZodOptional<ZodDefault<ZodNumber>>;
9695
- __EXPERIMENTAL_DASH_OPTIONS: ZodOptional<ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
9696
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9697
- mask: "mask";
9698
- discrete: "discrete";
9699
- }>>;
9700
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9701
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"length-scaling">;
9702
- __EXPERIMENTAL_DASH_LENGTH: ZodDefault<ZodNumber>;
9703
- __EXPERIMENTAL_DASH_GAP: ZodDefault<ZodNumber>;
9797
+ dash: ZodOptional<ZodOptional<ZodUnion<readonly [ZodObject<{
9798
+ enabled: ZodOptional<ZodBoolean>;
9799
+ cornerRadius: ZodDefault<ZodNumber>;
9800
+ mode: ZodOptional<ZodLiteral<"length-scaling">>;
9801
+ length: ZodDefault<ZodNumber>;
9802
+ gap: ZodDefault<ZodNumber>;
9704
9803
  }, $strip>, ZodObject<{
9705
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9706
- mask: "mask";
9707
- discrete: "discrete";
9708
- }>>;
9709
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9710
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"width-scaling">;
9711
- __EXPERIMENTAL_DASH_SIZE: ZodDefault<ZodNumber>;
9712
- __EXPERIMENTAL_GAP_SIZE: ZodDefault<ZodNumber>;
9804
+ enabled: ZodOptional<ZodBoolean>;
9805
+ cornerRadius: ZodDefault<ZodNumber>;
9806
+ mode: ZodOptional<ZodLiteral<"width-scaling">>;
9807
+ size: ZodDefault<ZodNumber>;
9808
+ gapSize: ZodDefault<ZodNumber>;
9713
9809
  }, $strip>, ZodObject<{
9714
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9715
- mask: "mask";
9716
- discrete: "discrete";
9717
- }>>;
9718
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9719
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"absolute">;
9720
- __EXPERIMENTAL_DASH_METERS: ZodDefault<ZodNumber>;
9721
- __EXPERIMENTAL_GAP_METERS: ZodDefault<ZodNumber>;
9722
- }, $strip>], "__EXPERIMENTAL_DASH_MODE">>>;
9723
- __EXPERIMENTAL_GEOMETRY: ZodOptional<ZodDefault<ZodEnum<{
9724
- tube: "tube";
9725
- ribbon: "ribbon";
9726
- }>>>;
9727
- __EXPERIMENTAL_ENDCAP_EXTENSION: ZodOptional<ZodDefault<ZodTuple<[ZodNumber, ZodNumber], null>>>;
9728
- __EXPERIMENTAL_BILLBOARDING: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodNumber]>>>;
9729
- __EXPERIMENTAL_BORDER: ZodOptional<ZodOptional<ZodObject<{
9810
+ enabled: ZodOptional<ZodBoolean>;
9811
+ cornerRadius: ZodDefault<ZodNumber>;
9812
+ mode: ZodLiteral<"absolute">;
9813
+ meters: ZodDefault<ZodNumber>;
9814
+ gapMeters: ZodDefault<ZodNumber>;
9815
+ }, $strip>]>>>;
9816
+ endcapExtension: ZodOptional<ZodDefault<ZodTuple<[ZodNumber, ZodNumber], null>>>;
9817
+ billboarding: ZodOptional<ZodDefault<ZodUnion<readonly [ZodBoolean, ZodNumber]>>>;
9818
+ border: ZodOptional<ZodOptional<ZodObject<{
9730
9819
  enabled: ZodBoolean;
9731
9820
  color: ZodCustom<BorderColor, BorderColor>;
9732
9821
  width: ZodOptional<ZodNumber>;
9733
9822
  }, $strip>>>;
9734
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP: ZodOptional<ZodDefault<ZodBoolean>>;
9735
- __EXPERIMENTAL_XRAY_STYLE: ZodOptional<ZodOptional<ZodObject<{
9823
+ xray: ZodOptional<ZodOptional<ZodObject<{
9736
9824
  opacity: ZodOptional<ZodNumber>;
9737
9825
  color: ZodOptional<ZodString>;
9738
9826
  tint: ZodOptional<ZodNumber>;
9739
9827
  dithering: ZodOptional<ZodNumber>;
9740
9828
  }, $strip>>>;
9829
+ __EXPERIMENTAL_GEOMETRY: ZodOptional<ZodEnum<{
9830
+ tube: "tube";
9831
+ ribbon: "ribbon";
9832
+ }>>;
9833
+ __EXPERIMENTAL_ENDCAP_EXTENSION: ZodOptional<ZodTuple<[ZodNumber, ZodNumber], null>>;
9834
+ __EXPERIMENTAL_BILLBOARDING: ZodOptional<ZodUnion<readonly [ZodBoolean, ZodNumber]>>;
9835
+ __EXPERIMENTAL_BORDER: ZodOptional<ZodObject<{
9836
+ enabled: ZodBoolean;
9837
+ color: ZodCustom<BorderColor, BorderColor>;
9838
+ width: ZodOptional<ZodNumber>;
9839
+ }, $strip>>;
9840
+ __EXPERIMENTAL_SMOOTHING_TENSION: ZodOptional<ZodNumber>;
9841
+ __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: ZodOptional<ZodNumber>;
9842
+ __EXPERIMENTAL_XRAY_STYLE: ZodOptional<ZodObject<{
9843
+ opacity: ZodOptional<ZodNumber>;
9844
+ color: ZodOptional<ZodString>;
9845
+ tint: ZodOptional<ZodNumber>;
9846
+ dithering: ZodOptional<ZodNumber>;
9847
+ }, $strip>>;
9848
+ __EXPERIMENTAL_DASH_OPTIONS: ZodOptional<ZodUnion<readonly [ZodUnion<readonly [ZodObject<{
9849
+ enabled: ZodOptional<ZodBoolean>;
9850
+ cornerRadius: ZodDefault<ZodNumber>;
9851
+ mode: ZodOptional<ZodLiteral<"length-scaling">>;
9852
+ length: ZodDefault<ZodNumber>;
9853
+ gap: ZodDefault<ZodNumber>;
9854
+ }, $strip>, ZodObject<{
9855
+ enabled: ZodOptional<ZodBoolean>;
9856
+ cornerRadius: ZodDefault<ZodNumber>;
9857
+ mode: ZodOptional<ZodLiteral<"width-scaling">>;
9858
+ size: ZodDefault<ZodNumber>;
9859
+ gapSize: ZodDefault<ZodNumber>;
9860
+ }, $strip>, ZodObject<{
9861
+ enabled: ZodOptional<ZodBoolean>;
9862
+ cornerRadius: ZodDefault<ZodNumber>;
9863
+ mode: ZodLiteral<"absolute">;
9864
+ meters: ZodDefault<ZodNumber>;
9865
+ gapMeters: ZodDefault<ZodNumber>;
9866
+ }, $strip>]>, ZodDiscriminatedUnion<[ZodObject<{
9867
+ __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodOptional<ZodNumber>;
9868
+ __EXPERIMENTAL_DASH_MODE: ZodLiteral<"length-scaling">;
9869
+ __EXPERIMENTAL_DASH_LENGTH: ZodOptional<ZodNumber>;
9870
+ __EXPERIMENTAL_DASH_GAP: ZodOptional<ZodNumber>;
9871
+ }, $strip>, ZodObject<{
9872
+ __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodOptional<ZodNumber>;
9873
+ __EXPERIMENTAL_DASH_MODE: ZodLiteral<"width-scaling">;
9874
+ __EXPERIMENTAL_DASH_SIZE: ZodOptional<ZodNumber>;
9875
+ __EXPERIMENTAL_GAP_SIZE: ZodOptional<ZodNumber>;
9876
+ }, $strip>, ZodObject<{
9877
+ __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodOptional<ZodNumber>;
9878
+ __EXPERIMENTAL_DASH_MODE: ZodLiteral<"absolute">;
9879
+ __EXPERIMENTAL_DASH_METERS: ZodOptional<ZodNumber>;
9880
+ __EXPERIMENTAL_GAP_METERS: ZodOptional<ZodNumber>;
9881
+ }, $strip>], "__EXPERIMENTAL_DASH_MODE">]>>;
9741
9882
  }, $strip>;
9742
9883
  /** @internal */
9743
9884
  declare const pathStateSchemaStrict: ZodObject<{
@@ -9757,52 +9898,44 @@ declare const pathStateSchemaStrict: ZodObject<{
9757
9898
  xrayOpacity: ZodDefault<ZodNumber>;
9758
9899
  travelledEndFraction: ZodDefault<ZodNumber>;
9759
9900
  travelledColor: ZodDefault<ZodString>;
9760
- __EXPERIMENTAL_SMOOTHING_TENSION: ZodDefault<ZodNumber>;
9761
- __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS: ZodDefault<ZodNumber>;
9901
+ smoothing: ZodOptional<ZodObject<{
9902
+ tension: ZodDefault<ZodNumber>;
9903
+ cornerRadius: ZodDefault<ZodNumber>;
9904
+ }, $strip>>;
9762
9905
  dashed: ZodDefault<ZodBoolean>;
9763
9906
  dashDiscrete: ZodDefault<ZodBoolean>;
9764
9907
  dashCornerRadius: ZodDefault<ZodNumber>;
9765
- __EXPERIMENTAL_DASH_OPTIONS: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
9766
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9767
- mask: "mask";
9768
- discrete: "discrete";
9769
- }>>;
9770
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9771
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"length-scaling">;
9772
- __EXPERIMENTAL_DASH_LENGTH: ZodDefault<ZodNumber>;
9773
- __EXPERIMENTAL_DASH_GAP: ZodDefault<ZodNumber>;
9908
+ dash: ZodOptional<ZodUnion<readonly [ZodObject<{
9909
+ enabled: ZodOptional<ZodBoolean>;
9910
+ cornerRadius: ZodDefault<ZodNumber>;
9911
+ mode: ZodOptional<ZodLiteral<"length-scaling">>;
9912
+ length: ZodDefault<ZodNumber>;
9913
+ gap: ZodDefault<ZodNumber>;
9774
9914
  }, $strip>, ZodObject<{
9775
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9776
- mask: "mask";
9777
- discrete: "discrete";
9778
- }>>;
9779
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9780
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"width-scaling">;
9781
- __EXPERIMENTAL_DASH_SIZE: ZodDefault<ZodNumber>;
9782
- __EXPERIMENTAL_GAP_SIZE: ZodDefault<ZodNumber>;
9915
+ enabled: ZodOptional<ZodBoolean>;
9916
+ cornerRadius: ZodDefault<ZodNumber>;
9917
+ mode: ZodOptional<ZodLiteral<"width-scaling">>;
9918
+ size: ZodDefault<ZodNumber>;
9919
+ gapSize: ZodDefault<ZodNumber>;
9783
9920
  }, $strip>, ZodObject<{
9784
- __EXPERIMENTAL_DASH_STYLE: ZodDefault<ZodEnum<{
9785
- mask: "mask";
9786
- discrete: "discrete";
9787
- }>>;
9788
- __EXPERIMENTAL_DASH_CORNER_RADIUS: ZodDefault<ZodNumber>;
9789
- __EXPERIMENTAL_DASH_MODE: ZodLiteral<"absolute">;
9790
- __EXPERIMENTAL_DASH_METERS: ZodDefault<ZodNumber>;
9791
- __EXPERIMENTAL_GAP_METERS: ZodDefault<ZodNumber>;
9792
- }, $strip>], "__EXPERIMENTAL_DASH_MODE">>;
9793
- __EXPERIMENTAL_GEOMETRY: ZodDefault<ZodEnum<{
9921
+ enabled: ZodOptional<ZodBoolean>;
9922
+ cornerRadius: ZodDefault<ZodNumber>;
9923
+ mode: ZodLiteral<"absolute">;
9924
+ meters: ZodDefault<ZodNumber>;
9925
+ gapMeters: ZodDefault<ZodNumber>;
9926
+ }, $strip>]>>;
9927
+ geometry: ZodDefault<ZodEnum<{
9794
9928
  tube: "tube";
9795
9929
  ribbon: "ribbon";
9796
9930
  }>>;
9797
- __EXPERIMENTAL_ENDCAP_EXTENSION: ZodDefault<ZodTuple<[ZodNumber, ZodNumber], null>>;
9798
- __EXPERIMENTAL_BILLBOARDING: ZodDefault<ZodUnion<readonly [ZodBoolean, ZodNumber]>>;
9799
- __EXPERIMENTAL_BORDER: ZodOptional<ZodObject<{
9931
+ endcapExtension: ZodDefault<ZodTuple<[ZodNumber, ZodNumber], null>>;
9932
+ billboarding: ZodDefault<ZodUnion<readonly [ZodBoolean, ZodNumber]>>;
9933
+ border: ZodOptional<ZodObject<{
9800
9934
  enabled: ZodBoolean;
9801
9935
  color: ZodCustom<BorderColor, BorderColor>;
9802
9936
  width: ZodOptional<ZodNumber>;
9803
9937
  }, $strip>>;
9804
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP: ZodDefault<ZodBoolean>;
9805
- __EXPERIMENTAL_XRAY_STYLE: ZodOptional<ZodObject<{
9938
+ xray: ZodOptional<ZodObject<{
9806
9939
  opacity: ZodOptional<ZodNumber>;
9807
9940
  color: ZodOptional<ZodString>;
9808
9941
  tint: ZodOptional<ZodNumber>;
@@ -10182,6 +10315,7 @@ declare class GeoJsonApi extends PubSub<TNavigationEvents> {
10182
10315
  };
10183
10316
  isInView(target: Space | MapObject | Label | Marker | string): boolean;
10184
10317
  getInView<T$1 extends string>(type: T$1, options?: TGetInViewOptions): MapFeatureOfType<T$1>[];
10318
+ auto(mapElements?: MapDataElements[]): Promise<AutoElements>;
10185
10319
  __EXPERIMENTAL__auto(mapElements?: MapDataElements[]): Promise<AutoElements>;
10186
10320
  tween<T$1 extends Record<string, unknown>>(object: T$1): Tween<T$1>;
10187
10321
  removeTween(tween: Tween<any>): void;
@@ -10478,25 +10612,25 @@ type BaseSimplifyOptions = {
10478
10612
  * Options for greedy line-of-sight simplification method (default).
10479
10613
  */
10480
10614
  type GreedyLosOptions = BaseSimplifyOptions & {
10481
- __EXPERIMENTAL_METHOD?: 'greedy-los';
10615
+ method?: 'greedy-los';
10482
10616
  };
10483
10617
  /**
10484
10618
  * Options for RDP (Ramer-Douglas-Peucker) simplification method.
10485
10619
  */
10486
10620
  type RdpOptions = BaseSimplifyOptions & {
10487
- __EXPERIMENTAL_METHOD: 'rdp';
10621
+ method: 'rdp';
10488
10622
  /**
10489
10623
  * Whether to include door-adjacent nodes (predecessor/successor of doors) in the must-include set.
10490
10624
  * When true, nodes immediately before and after doors are preserved during simplification.
10491
10625
  * @default true
10492
10626
  */
10493
- mustIncludeDoorBufferNodes?: boolean;
10627
+ includeDoorBufferNodes?: boolean;
10494
10628
  };
10495
10629
  /**
10496
10630
  * Options for DP (Dynamic Programming) optimal simplification method.
10497
10631
  */
10498
10632
  type DpOptimalOptions = BaseSimplifyOptions & {
10499
- __EXPERIMENTAL_METHOD: 'dp-optimal';
10633
+ method: 'dp-optimal';
10500
10634
  /**
10501
10635
  * Whether to include door buffer nodes in DP simplification.
10502
10636
  * When true, predecessor and successor nodes of doors are marked with preventSmoothing.
@@ -10506,7 +10640,7 @@ type DpOptimalOptions = BaseSimplifyOptions & {
10506
10640
  };
10507
10641
  /**
10508
10642
  * Options for simplifying directions in the Navigator class.
10509
- * Discriminated union based on the '__EXPERIMENTAL_METHOD' field.
10643
+ * Discriminated union based on the 'method' field.
10510
10644
  */
10511
10645
  type SimplifyDirectionsOptions = GreedyLosOptions | RdpOptions | DpOptimalOptions;
10512
10646
  /**
@@ -11518,24 +11652,20 @@ type TDirectionZone = {
11518
11652
  floor?: Floor;
11519
11653
  };
11520
11654
  /**
11521
- * @experimental
11522
- * How a dash is drawn, independent of how it is sized. Available in every dash
11523
- * mode, so the sizing axis ({@link TExperimentalDashOptions}) and the appearance
11524
- * axis stay orthogonal.
11655
+ * Dash configuration options for dashed paths.
11656
+ * Uses a discriminated union - `mode` determines which sizing properties are valid.
11657
+ *
11658
+ * The dash drawing primitive is derived from {@link TAddPathOptions.geometry}:
11659
+ * `'ribbon'` renders each dash as its own discrete rounded-rectangle primitive,
11660
+ * while `'tube'` (the default) paints the dash pattern onto one continuous path.
11525
11661
  */
11526
- type TExperimentalDashStyleOptions = {
11662
+ type TDashOptions = {
11527
11663
  /**
11528
- * How each dash is rendered.
11529
- * - `'mask'`: the dash pattern is painted onto one continuous path (default)
11530
- * - `'discrete'`: each dash is its own rounded-rectangle primitive, with its own
11531
- * travel arrow and zoom LOD, and keeps its exact shape around sharp corners
11532
- *
11533
- * `'discrete'` implies flat (ribbon) rendering — a dash has no tube analogue — so
11534
- * it overrides {@link TAddPathOptions.__EXPERIMENTAL_GEOMETRY}.
11664
+ * Whether the path should be rendered dashed.
11535
11665
  *
11536
- * @default 'mask'
11666
+ * @default false
11537
11667
  */
11538
- __EXPERIMENTAL_DASH_STYLE?: 'mask' | 'discrete';
11668
+ enabled?: boolean;
11539
11669
  /**
11540
11670
  * Corner rounding of each dash, from `0` (sharp rectangle) to `1` (fully
11541
11671
  * rounded), as a fraction of the dash's short half-side — the same idea as a
@@ -11543,68 +11673,84 @@ type TExperimentalDashStyleOptions = {
11543
11673
  * with zoom. When the dash's length equals its width, `1` renders a circle and
11544
11674
  * `0` renders a square.
11545
11675
  *
11546
- * Only meaningful when `__EXPERIMENTAL_DASH_STYLE` is `'discrete'`.
11676
+ * Ribbon geometry only — has no effect (and warns) when `geometry` is `'tube'`.
11547
11677
  *
11548
- * @default 1
11678
+ * @default 0
11549
11679
  */
11550
- __EXPERIMENTAL_DASH_CORNER_RADIUS?: number;
11551
- };
11552
- /**
11553
- * @experimental
11554
- * Dash configuration options for dashed paths.
11555
- * Uses discriminated union - mode determines which properties are valid.
11556
- *
11557
- * The mode picks how dashes are *sized*; {@link TExperimentalDashStyleOptions}
11558
- * picks how they are *drawn*, and applies to every mode.
11559
- */
11560
- type TExperimentalDashOptions = TExperimentalDashStyleOptions & ({
11680
+ cornerRadius?: number;
11681
+ } & ({
11561
11682
  /**
11562
- * Length-scaling mode: dash/gap as fractions of path length (0-1)
11683
+ * Length-scaling mode: dash/gap as fractions of path length (0-1).
11684
+ * Set explicitly to opt out of the default `'width-scaling'` mode;
11685
+ * omitting `mode` (or the whole `dash`) resolves to `'width-scaling'`.
11563
11686
  */
11564
- __EXPERIMENTAL_DASH_MODE: 'length-scaling';
11687
+ mode?: 'length-scaling';
11565
11688
  /**
11566
11689
  * Dash length as fraction of path (0-1).
11567
11690
  * @default 0.1
11568
11691
  */
11569
- __EXPERIMENTAL_DASH_LENGTH?: number;
11692
+ length?: number;
11570
11693
  /**
11571
11694
  * Gap length as fraction of path (0-1).
11572
11695
  * @default 0.1
11573
11696
  */
11574
- __EXPERIMENTAL_DASH_GAP?: number;
11697
+ gap?: number;
11575
11698
  } | {
11576
11699
  /**
11577
- * Width-scaling mode: dash/gap as multiples of path width (deck.gl style)
11700
+ * Width-scaling mode: dash/gap as multiples of path width (deck.gl style).
11701
+ * The default mode — `dash` without a `mode` resolves to this.
11702
+ *
11703
+ * @default 'width-scaling'
11578
11704
  */
11579
- __EXPERIMENTAL_DASH_MODE: 'width-scaling';
11705
+ mode?: 'width-scaling';
11580
11706
  /**
11581
11707
  * Dash size as multiple of path width.
11582
- * @default 3.0
11708
+ * @default 1.2
11583
11709
  */
11584
- __EXPERIMENTAL_DASH_SIZE?: number;
11710
+ size?: number;
11585
11711
  /**
11586
11712
  * Gap size as multiple of path width.
11587
- * @default 2.0
11713
+ * @default 0.6
11588
11714
  */
11589
- __EXPERIMENTAL_GAP_SIZE?: number;
11715
+ gapSize?: number;
11590
11716
  } | {
11591
11717
  /**
11592
11718
  * Absolute mode: dash/gap in meters (deterministic regardless of path length)
11593
11719
  */
11594
- __EXPERIMENTAL_DASH_MODE: 'absolute';
11720
+ mode: 'absolute';
11595
11721
  /**
11596
11722
  * Dash length in meters.
11597
11723
  * @default 1.0
11598
11724
  */
11599
- __EXPERIMENTAL_DASH_METERS?: number;
11725
+ meters?: number;
11600
11726
  /**
11601
11727
  * Gap length in meters.
11602
11728
  * @default 0.5
11603
11729
  */
11604
- __EXPERIMENTAL_GAP_METERS?: number;
11730
+ gapMeters?: number;
11605
11731
  });
11732
+ /**
11733
+ * Deprecated alias for {@link TDashOptions}, kept for backward compatibility.
11734
+ *
11735
+ * @deprecated Use {@link TDashOptions} instead.
11736
+ */
11737
+ type TExperimentalDashOptions = TDashOptions;
11606
11738
  /**
11607
11739
  * Options for controlling the behavior of a {@link Path}.
11740
+ *
11741
+ * @example
11742
+ * ```ts
11743
+ * const path = await mapView.Paths.add(directions.coordinates, {
11744
+ * width: 1.5,
11745
+ * geometry: 'ribbon', // 'tube' (default) | 'ribbon'
11746
+ * smoothing: { tension: 0.15, cornerRadius: 0.5 },
11747
+ * border: { enabled: true, color: 'darken' }, // ribbon only
11748
+ * endcapExtension: [0.5, 0.5], // ribbon only
11749
+ * billboarding: 80, // ribbon only: false | true | 0-90
11750
+ * dash: { enabled: true, mode: 'width-scaling', size: 1.2, gapSize: 0.6 },
11751
+ * xray: { opacity: 0.25, tint: 0.3, dithering: 2 },
11752
+ * });
11753
+ * ```
11608
11754
  */
11609
11755
  type TAddPathOptions = {
11610
11756
  /**
@@ -11692,6 +11838,8 @@ type TAddPathOptions = {
11692
11838
  /**
11693
11839
  * Whether the path should be broken into dashes.
11694
11840
  *
11841
+ * @deprecated Use {@link TAddPathOptions.dash}.enabled instead.
11842
+ *
11695
11843
  * @defaultValue false
11696
11844
  */
11697
11845
  dashed?: boolean;
@@ -11712,17 +11860,16 @@ type TAddPathOptions = {
11712
11860
  /**
11713
11861
  * The opacity of the path when it's behind geometry (x-ray effect). Value from 0 to 1.
11714
11862
  *
11715
- * Prefer {@link __EXPERIMENTAL_XRAY_STYLE}.opacity instead.
11716
- * If both are set, `__EXPERIMENTAL_XRAY_STYLE.opacity` takes precedence.
11863
+ * @deprecated Prefer {@link TAddPathOptions.xray}.opacity instead.
11864
+ * If both are set, `xray.opacity` takes precedence.
11717
11865
  *
11718
11866
  * @defaultValue 0.25
11719
11867
  */
11720
11868
  xrayOpacity?: number;
11721
11869
  /**
11722
- * @experimental
11723
11870
  * Consolidated x-ray appearance configuration. Controls how paths look when behind geometry.
11724
11871
  */
11725
- __EXPERIMENTAL_XRAY_STYLE?: {
11872
+ xray?: {
11726
11873
  /** The opacity when behind geometry (0-1). @default 0.25 */
11727
11874
  opacity?: number;
11728
11875
  /** Explicit color override for the x-ray portion. Omit to auto-compute from path color. */
@@ -11733,61 +11880,94 @@ type TAddPathOptions = {
11733
11880
  dithering?: number;
11734
11881
  };
11735
11882
  /**
11736
- * @experimental Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
11883
+ * Controls the smoothness of path corners using CatmullRom curve tension. Higher values create smoother curves.
11737
11884
  * Values between 0.1-0.3 provide subtle smoothing suitable for most use cases.
11738
- *
11739
- * @defaultValue 0.0
11885
+ */
11886
+ smoothing?: {
11887
+ /**
11888
+ * CatmullRom curve tension.
11889
+ * @defaultValue 0.0
11890
+ */
11891
+ tension?: number;
11892
+ /**
11893
+ * Distance in meters from corners where control points are inserted. Only applies when tension > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
11894
+ * @defaultValue 0.5
11895
+ */
11896
+ cornerRadius?: number;
11897
+ };
11898
+ /**
11899
+ * Dash configuration. When `enabled`, controls dash/gap sizing.
11900
+ * Uses discriminated union - mode determines which properties are valid.
11901
+ * @see TDashOptions
11902
+ * @defaultValue undefined (dashing disabled — path renders solid)
11903
+ */
11904
+ dash?: TDashOptions;
11905
+ /**
11906
+ * @deprecated Use {@link TAddPathOptions.xray} instead.
11907
+ */
11908
+ __EXPERIMENTAL_XRAY_STYLE?: {
11909
+ /** The opacity when behind geometry (0-1). @default 0.25 */
11910
+ opacity?: number;
11911
+ /** Explicit color override for the x-ray portion. Omit to auto-compute from path color. */
11912
+ color?: string;
11913
+ /** Tint strength (0-1). 0 = no muting, 1 = fully muted. @default 0.3 */
11914
+ tint?: number;
11915
+ /** Dithering cell size in screen pixels (e.g. 4 = 4x4px checkerboard). 0 or undefined = off. */
11916
+ dithering?: number;
11917
+ };
11918
+ /**
11919
+ * @deprecated Use {@link TAddPathOptions.smoothing}.tension instead.
11740
11920
  */
11741
11921
  __EXPERIMENTAL_SMOOTHING_TENSION?: number;
11742
11922
  /**
11743
- * @experimental Distance in meters from corners where control points are inserted for smoothing. Higher values create smoother curves around corners.
11744
- * Only applies when __EXPERIMENTAL_SMOOTHING_TENSION > 0. Typical values are 0.5-2.0 meters for subtle smoothing.
11745
- *
11746
- * @defaultValue 0.5
11923
+ * @deprecated Use {@link TAddPathOptions.smoothing}.cornerRadius instead.
11747
11924
  */
11748
11925
  __EXPERIMENTAL_SMOOTHING_CORNER_RADIUS?: number;
11749
11926
  /**
11750
- * @experimental
11751
- * Dash configuration. When dashed=true, controls dash/gap sizing.
11752
- * Uses discriminated union - mode determines which properties are valid.
11753
- * @see TExperimentalDashOptions
11927
+ * @deprecated Use {@link TAddPathOptions.dash} instead.
11754
11928
  */
11755
11929
  __EXPERIMENTAL_DASH_OPTIONS?: TExperimentalDashOptions;
11756
11930
  /**
11757
- * @experimental Geometry type for path rendering.
11931
+ * Geometry type for path rendering.
11758
11932
  * - 'tube': Original tube geometry with 8 radial segments (default)
11759
11933
  * - 'ribbon': Flat ribbon geometry with 2 vertices per segment
11760
11934
  *
11761
- * Ignored when `__EXPERIMENTAL_DASH_OPTIONS.__EXPERIMENTAL_DASH_STYLE` is
11762
- * `'discrete'`: a dash is a flat screen-facing quad with no tube analogue, so the
11763
- * discrete-dash style always renders flat.
11935
+ * Also selects the dash drawing primitive when the path is dashed: `'ribbon'`
11936
+ * renders each dash as its own discrete primitive, while `'tube'` paints the
11937
+ * dash pattern onto one continuous path.
11764
11938
  *
11765
11939
  * @defaultValue 'tube'
11766
11940
  */
11767
- __EXPERIMENTAL_GEOMETRY?: 'tube' | 'ribbon';
11941
+ geometry?: 'tube' | 'ribbon';
11768
11942
  /**
11769
- * @experimental Endcap extension for ribbon geometry as [start, end] tuple in meters.
11943
+ * Endcap extension for ribbon geometry as [start, end] tuple in meters.
11770
11944
  * - Value > 0: extends path and renders rounded cap
11771
11945
  * - Value = 0: square/flat end (no extension, no rounded cap)
11772
11946
  *
11947
+ * Ribbon geometry only.
11948
+ *
11773
11949
  * @defaultValue [0.5, 0.5]
11774
11950
  */
11775
- __EXPERIMENTAL_ENDCAP_EXTENSION?: [number, number];
11951
+ endcapExtension?: [number, number];
11776
11952
  /**
11777
- * @experimental Controls billboarding for ribbon path geometry.
11953
+ * Controls billboarding for ribbon path geometry.
11778
11954
  * - `true`: Every vertex faces the camera (unconditional billboard)
11779
11955
  * - `false`: Flat world-space orientation
11780
11956
  * - `number`: Angle threshold in degrees (0-90). Billboard only when path tangent
11781
11957
  * verticality >= threshold. E.g. 80 means billboard only nearly-vertical segments.
11782
11958
  *
11959
+ * Ribbon geometry only.
11960
+ *
11783
11961
  * @defaultValue 80
11784
11962
  */
11785
- __EXPERIMENTAL_BILLBOARDING?: boolean | number;
11963
+ billboarding?: boolean | number;
11786
11964
  /**
11787
- * @experimental Border configuration for ribbon path geometry.
11965
+ * Border configuration for ribbon path geometry.
11788
11966
  * Renders darkened edges along both sides of the ribbon.
11967
+ *
11968
+ * Ribbon geometry only.
11789
11969
  */
11790
- __EXPERIMENTAL_BORDER?: {
11970
+ border?: {
11791
11971
  /** Whether the border is enabled */
11792
11972
  enabled: boolean;
11793
11973
  /** Border color - 'darken' to auto-darken main color, or explicit hex color string */
@@ -11796,15 +11976,31 @@ type TAddPathOptions = {
11796
11976
  width?: number;
11797
11977
  };
11798
11978
  /**
11799
- * @experimental When true, prevents the xray path from rendering multiple overlapping pixels
11800
- * when the path crosses over itself. Uses stencil buffer to ensure single-pixel rendering.
11801
- *
11802
- * @defaultValue false
11979
+ * @deprecated Use {@link TAddPathOptions.geometry} instead.
11980
+ */
11981
+ __EXPERIMENTAL_GEOMETRY?: 'tube' | 'ribbon';
11982
+ /**
11983
+ * @deprecated Use {@link TAddPathOptions.endcapExtension} instead.
11984
+ */
11985
+ __EXPERIMENTAL_ENDCAP_EXTENSION?: [number, number];
11986
+ /**
11987
+ * @deprecated Use {@link TAddPathOptions.billboarding} instead.
11803
11988
  */
11804
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP?: boolean;
11989
+ __EXPERIMENTAL_BILLBOARDING?: boolean | number;
11990
+ /**
11991
+ * @deprecated Use {@link TAddPathOptions.border} instead.
11992
+ */
11993
+ __EXPERIMENTAL_BORDER?: {
11994
+ /** Whether the border is enabled */
11995
+ enabled: boolean;
11996
+ /** Border color - 'darken' to auto-darken main color, or explicit hex color string */
11997
+ color: 'darken' | string;
11998
+ /** Border width as fraction of total ribbon width (0-0.5). @default 0.1 */
11999
+ width?: number;
12000
+ };
11805
12001
  };
11806
12002
  /**
11807
- * @experimental Options specific to connection paths (vertical paths between floors).
12003
+ * Options specific to connection paths (vertical paths between floors).
11808
12004
  * Extends TAddPathOptions with junction inset control.
11809
12005
  */
11810
12006
  type TConnectionPathOptions = TAddPathOptions & {
@@ -11872,10 +12068,15 @@ type TGetDirectionsOptions = {
11872
12068
  *
11873
12069
  * Can be a boolean to enable or disable smoothing, or an object with configuration options.
11874
12070
  *
12071
+ * Note: this `smoothing` option performs *route simplification* (removing redundant waypoints from the
12072
+ * computed path). It is unrelated to `addPath`'s visual `smoothing` option, which controls the rendering
12073
+ * of a path's corners.
12074
+ *
11875
12075
  * **Available methods:**
11876
- * - `'greedy-los'` (default): Greedy forward scan with line-of-sight validation. Fastest, O(n) time complexity. Good default choice.
11877
- * - `'rdp'`: Uses Ramer-Douglas-Peucker preprocessing + line-of-sight validation + door buffer nodes. Better for paths with doors and complex geometry. Medium speed.
11878
- * - `'dp-optimal'`: Dynamic Programming for globally optimal simplification. Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
12076
+ * - `'greedy-los'` (default): Greedy forward scan with line-of-sight validation. Fastest, O(n).
12077
+ * - `'dp-optimal'` (recommended for the shortest path): Dynamic programming producing the globally
12078
+ * optimal path — shortest distance and straightest route. O(n²), slower on long paths.
12079
+ * - `'rdp'`: Ramer-Douglas-Peucker preprocessing + line-of-sight validation. Medium speed, not globally optimal.
11879
12080
  *
11880
12081
  * **Limitations:**
11881
12082
  * Smoothing never removes a node flagged `preventSmoothing` — such nodes are always preserved as
@@ -11887,45 +12088,36 @@ type TGetDirectionsOptions = {
11887
12088
  *
11888
12089
  * @example
11889
12090
  * ```ts
11890
- * // Enable smoothing with default settings
11891
- * mapView.getDirections(firstSpace, secondSpace, {
11892
- * smoothing: true
11893
- * })
11894
- *
11895
- * // Enable smoothing with custom radius (in meters)
11896
- * mapView.getDirections(firstSpace, secondSpace, {
11897
- * smoothing: {
11898
- * radius: 1.5,
11899
- * }
11900
- * })
11901
- *
11902
- * // Use greedy line-of-sight method (default, explicit)
12091
+ * // Recommended — the shortest, straightest path:
11903
12092
  * mapView.getDirections(firstSpace, secondSpace, {
11904
12093
  * smoothing: {
11905
12094
  * enabled: true,
11906
- * __EXPERIMENTAL_METHOD: 'greedy-los',
12095
+ * method: 'dp-optimal',
12096
+ * includeDoorBufferNodes: true,
11907
12097
  * radius: 0.4,
11908
12098
  * }
11909
12099
  * })
11910
12100
  *
11911
- * // Use RDP method (always uses line-of-sight)
12101
+ * // Faster, but not globally optimal:
11912
12102
  * mapView.getDirections(firstSpace, secondSpace, {
11913
12103
  * smoothing: {
11914
12104
  * enabled: true,
11915
- * __EXPERIMENTAL_METHOD: 'rdp',
12105
+ * method: 'rdp',
11916
12106
  * radius: 0.4,
11917
12107
  * }
11918
12108
  * })
11919
12109
  *
11920
- * // Use DP-optimal method with door buffer nodes
12110
+ * // Fastest (default):
11921
12111
  * mapView.getDirections(firstSpace, secondSpace, {
11922
12112
  * smoothing: {
11923
12113
  * enabled: true,
11924
- * __EXPERIMENTAL_METHOD: 'dp-optimal',
11925
- * __EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES: true,
12114
+ * method: 'greedy-los',
11926
12115
  * radius: 0.4,
11927
12116
  * }
11928
12117
  * })
12118
+ *
12119
+ * // Enable smoothing with default settings:
12120
+ * mapView.getDirections(firstSpace, secondSpace, { smoothing: true })
11929
12121
  * ```
11930
12122
  */
11931
12123
  smoothing?: boolean | {
@@ -11940,59 +12132,32 @@ type TGetDirectionsOptions = {
11940
12132
  */
11941
12133
  radius?: number;
11942
12134
  /**
11943
- * @experimental
11944
- * Path smoothing method using greedy line-of-sight algorithm.
11945
- * Fastest method with O(n) time complexity. Good default choice.
12135
+ * Path smoothing method.
12136
+ * - `'greedy-los'` (default): greedy forward scan with line-of-sight validation. Fastest, O(n).
12137
+ * - `'dp-optimal'` (recommended for the shortest path): dynamic programming for the globally
12138
+ * optimal path. O(n²), slower on long paths.
12139
+ * - `'rdp'`: Ramer-Douglas-Peucker preprocessing + line-of-sight validation. Medium speed.
11946
12140
  * @default 'greedy-los'
11947
12141
  */
11948
- __EXPERIMENTAL_METHOD?: 'greedy-los';
11949
- } | {
11950
- /**
11951
- * Enable or disable path smoothing.
11952
- * @default true for non-enterprise mode, false for enterprise mode
11953
- */
11954
- enabled?: boolean;
12142
+ method?: 'greedy-los' | 'rdp' | 'dp-optimal';
11955
12143
  /**
11956
- * The radius of the buffer around the path to consider when simplifying, in meters.
11957
- * @default 0.75
12144
+ * Whether to preserve door-adjacent nodes during simplification.
12145
+ * - 'rdp': adds door-adjacent nodes (predecessor/successor of doors) to the must-include set.
12146
+ * - 'dp-optimal': includes 0.5m buffer nodes perpendicular to doors.
12147
+ * - 'greedy-los': ignored.
12148
+ * @default true for rdp; false for dp-optimal (ignored by greedy-los)
11958
12149
  */
11959
- radius?: number;
12150
+ includeDoorBufferNodes?: boolean;
11960
12151
  /**
11961
- * @experimental
11962
- * Path smoothing method using Ramer-Douglas-Peucker preprocessing with line-of-sight validation.
11963
- * Better for paths with doors and complex geometry. Medium speed.
11964
- * Always uses line-of-sight validation (cannot be disabled).
12152
+ * @deprecated Use {@link method} instead.
11965
12153
  */
11966
- __EXPERIMENTAL_METHOD: 'rdp';
12154
+ __EXPERIMENTAL_METHOD?: 'greedy-los' | 'rdp' | 'dp-optimal';
11967
12155
  /**
11968
- * @experimental
11969
- * Whether to include door-adjacent nodes (predecessor/successor of doors) in the must-include set.
11970
- * When true (default), nodes immediately before and after doors are preserved during simplification.
11971
- * @default true
12156
+ * @deprecated Use {@link includeDoorBufferNodes} instead.
11972
12157
  */
11973
12158
  __EXPERIMENTAL_MUST_INCLUDE_DOOR_BUFFER_NODES?: boolean;
11974
- } | {
11975
- /**
11976
- * Enable or disable path smoothing.
11977
- * @default true for non-enterprise mode, false for enterprise mode
11978
- */
11979
- enabled?: boolean;
11980
- /**
11981
- * The radius of the buffer around the path to consider when simplifying, in meters.
11982
- * @default 0.75
11983
- */
11984
- radius?: number;
11985
12159
  /**
11986
- * @experimental
11987
- * Path smoothing method using Dynamic Programming for globally optimal simplification.
11988
- * Slowest but highest quality, O(n²) complexity. Best when path quality is critical.
11989
- */
11990
- __EXPERIMENTAL_METHOD: 'dp-optimal';
11991
- /**
11992
- * @experimental
11993
- * Whether to include 0.5m buffer nodes perpendicular to doors in DP simplification.
11994
- * When true, predecessor and successor nodes of doors are marked with preventSmoothing.
11995
- * @default false
12160
+ * @deprecated Use {@link includeDoorBufferNodes} instead.
11996
12161
  */
11997
12162
  __EXPERIMENTAL_INCLUDE_DOOR_BUFFER_NODES?: boolean;
11998
12163
  };
@@ -12019,7 +12184,6 @@ type TGetDirectionsOptions = {
12019
12184
  */
12020
12185
  zones?: TDirectionZone[];
12021
12186
  /**
12022
- * @experimental
12023
12187
  * Enterprise only. Connections that should not be used for directions.
12024
12188
  *
12025
12189
  * If a connection is excluded, it will not be used in the directions even if it is the shortest (or only) path.
@@ -12483,6 +12647,15 @@ type TMultiFloorViewOptions = {
12483
12647
  * @default true
12484
12648
  */
12485
12649
  enabled?: boolean;
12650
+ /**
12651
+ * When true, render every floor the path traverses regardless of whether it sits above or
12652
+ * below the current floor. By default only floors below the current floor are shown, which
12653
+ * clips the horizontal path and its connection tubes on a descending route (departure above
12654
+ * destination).
12655
+ * @default false
12656
+ * @experimental
12657
+ */
12658
+ showAllFloorsIncludedInNavigation?: boolean;
12486
12659
  /**
12487
12660
  * The vertical spacing between floors in meters (before `floorGapMultiplier`).
12488
12661
  *
@@ -12860,21 +13033,704 @@ declare class Coordinate implements IFocusable, IAnchorable, IGeoJSONData, INavi
12860
13033
  destroy(): void;
12861
13034
  }
12862
13035
  //#endregion
12863
- //#region src/map-data-objects/base-metadata-object.d.ts
12864
- declare abstract class BaseMetaData {
12865
- /**
12866
- * The identity of the map metadata.
12867
- */
12868
- readonly id: string;
12869
- constructor(id: string);
13036
+ //#region src/records/geometry.d.ts
13037
+ /**
13038
+ * A single geometry entry in the unified geometry index.
13039
+ * v2: one entry per space/obstruction/entrance/area feature (id = feature.properties.id).
13040
+ * v3: one entry per entry in the unified `geometry` collection.
13041
+ */
13042
+ interface GeometryRecord {
13043
+ id: string;
13044
+ floorId: string;
13045
+ /** discriminator for the folded v2 collections: 'space' | 'obstruction' | 'entrance' | 'area' */
13046
+ kind: string;
13047
+ geometry: Geometry;
13048
+ }
13049
+ /** Unified neutral geometry index, keyed by geometryId (+ floorId for v3). */
13050
+ interface GeometryIndex {
13051
+ byId: Record<string, GeometryRecord>;
13052
+ byFloorId: Record<string, GeometryRecord[]>;
12870
13053
  }
12871
13054
  //#endregion
12872
- //#region src/map-data-objects/opening-hours.d.ts
13055
+ //#region src/builders/v2/node-index.d.ts
12873
13056
  /**
12874
- * Represents the opening hours of a location.
13057
+ * Node-keyed reverse lookups. v2-only for this phase (built eagerly by builders/v2),
13058
+ * and swapped for the lazy async graph in a later phase. Not part of any neutral record.
13059
+ * Lives in builders/v2 (not records/) because it references raw MVFConnection and the Door class.
12875
13060
  */
12876
- declare class OpeningHours {
12877
- #private;
13061
+ interface NodeIndex {
13062
+ spaceIdsByNodeId: Record<string, string[]>;
13063
+ objectIdsByNodeId: Record<string, string[]>;
13064
+ doorsByNodeId: Record<string, Door>;
13065
+ mvfConnectionsByNodeId: Record<string, Connection$1>;
13066
+ locationIdsByNodeId: Record<string, string[]>;
13067
+ entranceNodeIdsBySpaceId: Record<string, string[]>;
13068
+ objectEntranceNodeIdsByObstructionId: Record<string, string[]>;
13069
+ obstructionIdByEntranceId: Record<string, string>;
13070
+ }
13071
+ //#endregion
13072
+ //#region src/records/space.d.ts
13073
+ interface SpaceRecord {
13074
+ id: string;
13075
+ floorId: string;
13076
+ geometry: Geometry;
13077
+ kind?: string | null;
13078
+ center?: [number, number];
13079
+ externalId?: string;
13080
+ details?: {
13081
+ name?: string;
13082
+ description?: string;
13083
+ icon?: string;
13084
+ images?: unknown[];
13085
+ links?: unknown[];
13086
+ };
13087
+ /** door ids (v2: entrance-node join; v3: door-connection geometry anchors) */
13088
+ doorIds: string[];
13089
+ /** enterprise location ids (v2: polygons/nodes/spaces; v3: geometryAnchors) */
13090
+ enterpriseLocationIds: string[];
13091
+ /** v2: space.properties.destinationNodes (feeds node-tree-cache 'space' case) */
13092
+ destinationNodes?: string[];
13093
+ /** Polygon image anchored to this space (see `processMVFPolygonImages`). */
13094
+ image?: {
13095
+ path: string;
13096
+ };
13097
+ }
13098
+ //#endregion
13099
+ //#region src/records/node.d.ts
13100
+ interface NodeRecord {
13101
+ id: string;
13102
+ floorId: string;
13103
+ geometry: Geometry;
13104
+ externalId?: string;
13105
+ /** forward node id refs (v2: neighbors; v3: derived from edges at graph build) */
13106
+ neighborIds: string[];
13107
+ /** node space-membership (v2: node.properties.space; v3: derived from geometry anchors) */
13108
+ spaceIds?: string[];
13109
+ flags?: number[];
13110
+ }
13111
+ //#endregion
13112
+ //#region src/records/object.d.ts
13113
+ interface MapObjectRecord {
13114
+ id: string;
13115
+ floorId: string;
13116
+ geometry: Geometry;
13117
+ kind?: string | null;
13118
+ externalId?: string;
13119
+ center?: [number, number];
13120
+ details?: Record<string, unknown>;
13121
+ /** v2: obstruction.properties.footprintComponent (drives Door.isExterior fallback) */
13122
+ footprintComponent?: boolean;
13123
+ /** Polygon image anchored to this object (see `processMVFPolygonImages`). */
13124
+ image?: {
13125
+ path: string;
13126
+ };
13127
+ }
13128
+ //#endregion
13129
+ //#region src/records/floor.d.ts
13130
+ interface FloorRecord {
13131
+ id: string;
13132
+ externalId?: string;
13133
+ geometry?: Geometry;
13134
+ name?: string;
13135
+ shortName?: string;
13136
+ subtitle?: string;
13137
+ elevation: number;
13138
+ maxHeight?: number;
13139
+ }
13140
+ //#endregion
13141
+ //#region src/records/floor-stack.d.ts
13142
+ interface FloorStackRecord {
13143
+ id: string;
13144
+ type?: string;
13145
+ name?: string;
13146
+ shortName?: string;
13147
+ externalId?: string;
13148
+ /** forward floor id refs (v2: floors|maps; v3: floorIds) */
13149
+ floorIds: string[];
13150
+ defaultFloor?: string;
13151
+ }
13152
+ //#endregion
13153
+ //#region src/records/facade.d.ts
13154
+ interface FacadeRecord {
13155
+ id: string;
13156
+ floorStackId: string;
13157
+ /** forward space id refs */
13158
+ spaceIds: string[];
13159
+ /** first space's floorId (v2: spaces[0].floorId) */
13160
+ floorId?: string;
13161
+ }
13162
+ //#endregion
13163
+ //#region src/records/connection.d.ts
13164
+ interface ConnectionRecord {
13165
+ id: string;
13166
+ type: TConnectionType;
13167
+ externalId?: string;
13168
+ extra?: Record<string, unknown>;
13169
+ accessible: boolean;
13170
+ /** forward node id refs (populated only when graph is loaded in later phases) */
13171
+ nodeIds: string[];
13172
+ details?: Record<string, unknown>;
13173
+ }
13174
+ //#endregion
13175
+ //#region src/records/door.d.ts
13176
+ interface DoorRecord {
13177
+ id: string;
13178
+ floorId: string;
13179
+ geometry: Geometry;
13180
+ externalId?: string;
13181
+ details?: {
13182
+ name?: string;
13183
+ description?: string;
13184
+ icon?: string;
13185
+ images?: unknown[];
13186
+ links?: unknown[];
13187
+ };
13188
+ /** Resolved eagerly at build time (either the raw entrance flag or the wall/object footprintComponent fallback). */
13189
+ isExterior: boolean;
13190
+ /** forward obstruction id ref (v2: obstructionIdByEntranceId; v3: door-connection) */
13191
+ obstructionId?: string;
13192
+ nodeId?: string;
13193
+ }
13194
+ //#endregion
13195
+ //#region src/records/poi.d.ts
13196
+ interface PoiRecord {
13197
+ id: string;
13198
+ floorId: string;
13199
+ geometry: Geometry;
13200
+ externalId?: string;
13201
+ center?: [number, number];
13202
+ details?: Record<string, unknown>;
13203
+ }
13204
+ //#endregion
13205
+ //#region src/records/annotation.d.ts
13206
+ interface AnnotationRecord {
13207
+ id: string;
13208
+ floorId: string;
13209
+ geometry: Geometry;
13210
+ symbolId: string;
13211
+ symbol?: AnnotationSymbol;
13212
+ externalId?: string;
13213
+ details?: Record<string, unknown>;
13214
+ }
13215
+ //#endregion
13216
+ //#region src/records/area.d.ts
13217
+ interface AreaRecord {
13218
+ id: string;
13219
+ floorId: string;
13220
+ geometry: Geometry;
13221
+ externalId?: string;
13222
+ center?: [number, number];
13223
+ details?: Record<string, unknown>;
13224
+ /**
13225
+ * Polygon image anchored to this area (see `processMVFPolygonImages`).
13226
+ * Only the `path` is captured; the `Area` object uses it to construct its `Image3DView`.
13227
+ */
13228
+ image?: {
13229
+ path: string;
13230
+ };
13231
+ }
13232
+ //#endregion
13233
+ //#region src/records/location-profile.d.ts
13234
+ interface LocationProfileRecord {
13235
+ id: string;
13236
+ name?: string;
13237
+ externalId?: string;
13238
+ description?: string;
13239
+ logo?: string;
13240
+ phone?: string;
13241
+ social?: LocationSocial$1[];
13242
+ pictures?: {
13243
+ url?: string;
13244
+ altText?: string;
13245
+ }[];
13246
+ links?: Record<string, unknown>[];
13247
+ website?: Record<string, unknown>;
13248
+ icon?: string;
13249
+ searchTags?: string[];
13250
+ categoryIds?: CategoryId[];
13251
+ spaceIds: string[];
13252
+ objectIds: string[];
13253
+ doorIds: string[];
13254
+ connectionIds: string[];
13255
+ annotationIds: string[];
13256
+ areaIds: string[];
13257
+ openingHoursSpecification?: OpeningHoursSpecification[];
13258
+ extra?: Record<string, unknown>;
13259
+ }
13260
+ //#endregion
13261
+ //#region src/records/location-category.d.ts
13262
+ interface LocationCategoryRecord {
13263
+ id: string;
13264
+ name?: string;
13265
+ icon?: string;
13266
+ parent?: string;
13267
+ }
13268
+ //#endregion
13269
+ //#region src/records/enterprise-location.d.ts
13270
+ interface EnterpriseLocationRecord {
13271
+ id: string;
13272
+ externalId?: string;
13273
+ name?: string;
13274
+ description?: string;
13275
+ amenity?: string;
13276
+ extra?: Record<string, unknown>;
13277
+ /** geometryAnchors (v2: polygons; v3: geometryAnchors) */
13278
+ geometryIds: string[];
13279
+ /** forward node id refs */
13280
+ nodeIds: string[];
13281
+ /** forward space id refs (v2: spaces falling back to polygons) */
13282
+ spaceIds: string[];
13283
+ categoryIds: string[];
13284
+ /** instance locations (already-resolved records) */
13285
+ instances?: EnterpriseLocationRecord[];
13286
+ parentId?: string;
13287
+ logo?: string;
13288
+ picture?: string;
13289
+ shortName?: string;
13290
+ showFloatingLabelWhenImagePresent?: boolean;
13291
+ showLogo?: boolean;
13292
+ siblingGroups?: SiblingGroup$1[];
13293
+ social?: {
13294
+ facebook?: string;
13295
+ instagram?: string;
13296
+ twitter?: string;
13297
+ website?: string;
13298
+ };
13299
+ sortOrder?: number;
13300
+ states?: LocationState$1[];
13301
+ tags?: string[];
13302
+ type?: string;
13303
+ hidden?: boolean;
13304
+ primaryCategory?: string;
13305
+ phone?: {
13306
+ number: string;
13307
+ extension?: string;
13308
+ };
13309
+ operationHours?: OperationHours$1[];
13310
+ gallery?: {
13311
+ caption?: string | null;
13312
+ image: string;
13313
+ embeddedUrl?: string | null;
13314
+ }[];
13315
+ links?: {
13316
+ label: string;
13317
+ url: string;
13318
+ }[];
13319
+ filterFlags?: string[];
13320
+ headerImage?: string;
13321
+ }
13322
+ //#endregion
13323
+ //#region src/records/enterprise-category.d.ts
13324
+ interface EnterpriseCategoryRecord {
13325
+ id: string;
13326
+ externalId?: string;
13327
+ name?: string;
13328
+ color?: string;
13329
+ extra?: Record<string, unknown>;
13330
+ icon?: string;
13331
+ iconFromDefaultList?: string | null;
13332
+ sortOrder?: number;
13333
+ picture?: string;
13334
+ childIds: string[];
13335
+ locationIds: string[];
13336
+ }
13337
+ //#endregion
13338
+ //#region src/records/enterprise-venue.d.ts
13339
+ interface EnterpriseVenueRecord {
13340
+ id?: string;
13341
+ externalId?: string;
13342
+ countrycode?: string;
13343
+ coverImage?: string;
13344
+ defaultLanguage?: Language;
13345
+ defaultFloor?: string;
13346
+ extra?: Record<string, unknown>;
13347
+ icon?: string;
13348
+ languages?: Language[];
13349
+ links?: unknown[];
13350
+ logo?: string;
13351
+ mappedinWebUrl?: string;
13352
+ name?: string;
13353
+ operationHours?: OperationHours$1[];
13354
+ slug?: string;
13355
+ topLocations?: string[];
13356
+ tzid?: string;
13357
+ type?: EnterpriseVenueType;
13358
+ defaultMap?: string;
13359
+ propertyImage?: string;
13360
+ }
13361
+ //#endregion
13362
+ //#region src/records/index.d.ts
13363
+ interface ModelRecords {
13364
+ geometryIndex: GeometryIndex;
13365
+ nodeIndex: NodeIndex;
13366
+ mvfSpacesById: Record<string, SpaceCollection['features'][number]>;
13367
+ mvfObstructionById: Record<string, ObstructionCollection['features'][number]>;
13368
+ mvfEntrancesById: Record<string, EntranceCollection['features'][number]>;
13369
+ mvfAreasById: Record<string, AreaCollection['features'][number]>;
13370
+ mvfAnnotationsById: Record<string, AnnotationCollection['features'][number]>;
13371
+ spacesById: Record<string, Space>;
13372
+ nodesById: Record<string, Node>;
13373
+ objectsById: Record<string, MapObject>;
13374
+ floorsById: Record<string, Floor>;
13375
+ floorStacksById: Record<string, FloorStack>;
13376
+ facadesById: Record<string, Facade>;
13377
+ facadesBySpaceId: Record<string, Facade>;
13378
+ connectionsById: Record<string, Connection>;
13379
+ doorsById: Record<string, Door>;
13380
+ poisById: Record<string, PointOfInterest>;
13381
+ annotationsById: Record<string, Annotation>;
13382
+ areasById: Record<string, Area>;
13383
+ locationProfilesById: Record<string, LocationProfile>;
13384
+ locationCategoriesById: Record<string, LocationCategory>;
13385
+ spaceRecordsById: Record<string, SpaceRecord>;
13386
+ nodeRecordsById: Record<string, NodeRecord>;
13387
+ objectRecordsById: Record<string, MapObjectRecord>;
13388
+ floorRecordsById: Record<string, FloorRecord>;
13389
+ floorStackRecordsById: Record<string, FloorStackRecord>;
13390
+ facadeRecordsById: Record<string, FacadeRecord>;
13391
+ connectionRecordsById: Record<string, ConnectionRecord>;
13392
+ doorRecordsById: Record<string, DoorRecord>;
13393
+ poiRecordsById: Record<string, PoiRecord>;
13394
+ annotationRecordsById: Record<string, AnnotationRecord>;
13395
+ areaRecordsById: Record<string, AreaRecord>;
13396
+ locationProfileRecordsById: Record<string, LocationProfileRecord>;
13397
+ locationCategoryRecordsById: Record<string, LocationCategoryRecord>;
13398
+ nodeRecordsByFloorId: Record<string, NodeRecord[]>;
13399
+ spaceRecordsByFloorId: Record<string, SpaceRecord[]>;
13400
+ poiRecordsByFloorId: Record<string, PoiRecord[]>;
13401
+ areaRecordsByFloorId: Record<string, AreaRecord[]>;
13402
+ annotationRecordsByFloorId: Record<string, AnnotationRecord[]>;
13403
+ doorRecordsByFloorId: Record<string, DoorRecord[]>;
13404
+ spacesByExternalId: Record<string, Space[]>;
13405
+ nodesByExternalId: Record<string, Node[]>;
13406
+ objectsByExternalId: Record<string, MapObject[]>;
13407
+ poisByExternalId: Record<string, PointOfInterest[]>;
13408
+ floorsByExternalId: Record<string, Floor[]>;
13409
+ floorStacksByExternalId: Record<string, FloorStack[]>;
13410
+ doorsByExternalId: Record<string, Door[]>;
13411
+ areasByExternalId: Record<string, Area[]>;
13412
+ locationProfilesByExternalId: Record<string, LocationProfile[]>;
13413
+ locationProfilesByCategoryId: Record<string, LocationProfile[]>;
13414
+ locationCategoriesByParentId: Record<string, LocationCategory[]>;
13415
+ locationProfilesByAttachedFeatureId: Record<string, LocationProfile[]>;
13416
+ }
13417
+ interface EnterpriseModelRecords {
13418
+ connectionsByExternalId: Record<string, Connection[]>;
13419
+ locationsByExternalId: Record<string, EnterpriseLocation[]>;
13420
+ categoriesByExternalId: Record<string, EnterpriseCategory[]>;
13421
+ locationsById: Record<string, EnterpriseLocation>;
13422
+ locationInstancesById: Record<string, EnterpriseLocation>;
13423
+ instanceLocationsByPolygonId: Record<string, EnterpriseLocation>;
13424
+ categoriesById: Record<string, EnterpriseCategory>;
13425
+ locationRecordsById: Record<string, EnterpriseLocationRecord>;
13426
+ categoryRecordsById: Record<string, EnterpriseCategoryRecord>;
13427
+ venueRecord: EnterpriseVenueRecord;
13428
+ locationIdsByGeometryId: Record<string, string[]>;
13429
+ }
13430
+ //#endregion
13431
+ //#region src/map-data-objects/base-object.d.ts
13432
+ declare abstract class BaseMapData {
13433
+ #private;
13434
+ /**
13435
+ * The identity of the map data.
13436
+ */
13437
+ readonly id: string;
13438
+ constructor(id: string, _data: MapDataInternal);
13439
+ /**
13440
+ * Gets the bounding box of the geoJSON geometry.
13441
+ *
13442
+ * @returns {BBox} The bounding box of the geoJSON geometry
13443
+ */
13444
+ get geoJSONBoundingBox(): BBox | undefined;
13445
+ get geoJSON(): Feature<Polygon | MultiPolygon | LineString | Point, null>;
13446
+ }
13447
+ //#endregion
13448
+ //#region src/map-data-objects/floor.d.ts
13449
+ /**
13450
+ * A class representing floor data within the map.
13451
+ *
13452
+ * Floors are used to represent different levels within a map, each containing various map elements.
13453
+ */
13454
+ declare class Floor extends BaseMapData implements IFocusable, IGeoJSONData {
13455
+ #private;
13456
+ /**
13457
+ * @internal
13458
+ */
13459
+ static readonly __type = "floor";
13460
+ /**
13461
+ * @internal
13462
+ */
13463
+ readonly __type = "floor";
13464
+ /**
13465
+ * Checks if the provided instance is of type Floor.
13466
+ *
13467
+ * @param instance The instance to check.
13468
+ * @returns {boolean} True if the instance is a Floor, false otherwise.
13469
+ */
13470
+ static is(instance: object): instance is Floor;
13471
+ /**
13472
+ * @internal
13473
+ */
13474
+ constructor(data: MapDataInternal, options: {
13475
+ record: FloorRecord;
13476
+ });
13477
+ /** @internal */
13478
+ get focusTarget(): this;
13479
+ /**
13480
+ * Gets the name of the floor.
13481
+ *
13482
+ * @returns {string} The name of the floor.
13483
+ */
13484
+ get name(): string;
13485
+ /**
13486
+ * Gets the short name of the floor (i.e. "F1", "L, "2", etc.).
13487
+ * Used in space constrained lists and Often aligns with what is displayed on an elevator.
13488
+ *
13489
+ * @returns {string} The short name of the floor.
13490
+ */
13491
+ get shortName(): string;
13492
+ /**
13493
+ * Gets the subtitle of the floor.
13494
+ *
13495
+ * @returns {string} The subtitle of the floor.
13496
+ */
13497
+ get subtitle(): string;
13498
+ /**
13499
+ * Gets the external ID of the floor.
13500
+ *
13501
+ * @returns {string} The external ID of the floor.
13502
+ */
13503
+ get externalId(): string;
13504
+ /**
13505
+ * Gets the elevation of the floor.
13506
+ *
13507
+ * @returns {number} The elevation of the floor.
13508
+ */
13509
+ get elevation(): number;
13510
+ /**
13511
+ * Gets the max height of the floor if there is one.
13512
+ *
13513
+ * @returns {number | undefined} The max height of the floor.
13514
+ */
13515
+ get maxHeight(): number | undefined;
13516
+ /**
13517
+ * Gets the spaces ({@link Space}) located on this floor.
13518
+ *
13519
+ * @returns {Space[]} An array of Space objects on this floor.
13520
+ */
13521
+ get spaces(): Space[];
13522
+ /**
13523
+ * Gets the spaces that are open to below on this floor.
13524
+ * These are spaces that create ceiling cutouts when viewed from floors above.
13525
+ *
13526
+ * @internal
13527
+ *
13528
+ * @returns {Space[]} An array of Space objects that are open to below.
13529
+ */
13530
+ get spacesOpenToBelow(): Space[];
13531
+ /**
13532
+ * Gets the underlying GeoJSON Feature representation of this Space.
13533
+ */
13534
+ get geoJSON(): Feature$1<Polygon$1 | MultiPolygon$1, null>;
13535
+ /**
13536
+ * Gets the objects ({@link MapObject}) located on this floor.
13537
+ *
13538
+ * @returns {MapObject[]} An array of MapObject objects on this floor.
13539
+ */
13540
+ get objects(): MapObject[];
13541
+ /**
13542
+ * Gets the connections ({@link Connection}) associated with this floor.
13543
+ *
13544
+ * @returns {Connection[]} An array of Connection objects linked to this floor.
13545
+ */
13546
+ get connections(): Connection[];
13547
+ /**
13548
+ * Gets the doors ({@link Door}) located on this floor.
13549
+ *
13550
+ * @returns {Door[]} An array of Door objects on this floor.
13551
+ */
13552
+ get doors(): Door[];
13553
+ /**
13554
+ * Gets the annotations ({@link Annotation}) associated with this floor.
13555
+ *
13556
+ * @returns {Annotation[]} An array of Annotation objects linked to this floor.
13557
+ */
13558
+ get annotations(): Annotation[];
13559
+ /**
13560
+ * Gets the points of interest ({@link PointOfInterest}) located on this floor.
13561
+ *
13562
+ * @returns {PointOfInterest[]} An array of PointOfInterest objects on this floor.
13563
+ */
13564
+ get pois(): PointOfInterest[];
13565
+ /**
13566
+ * Gets the FloorStack ({@link FloorStack}) that this floor belongs to.
13567
+ *
13568
+ * @returns {FloorStack} The FloorStack that this floor belongs to.
13569
+ */
13570
+ get floorStack(): FloorStack;
13571
+ get center(): Coordinate;
13572
+ /**
13573
+ * Serializes the floor data to JSON.
13574
+ *
13575
+ * @returns An object representing the floor.
13576
+ */
13577
+ toJSON(): {
13578
+ __type: string;
13579
+ id: string;
13580
+ name: string;
13581
+ shortName: string;
13582
+ subtitle: string;
13583
+ elevation: number;
13584
+ maxHeight: number | undefined;
13585
+ spaces: string[];
13586
+ objects: string[];
13587
+ connections: string[];
13588
+ doors: string[];
13589
+ annotations: string[];
13590
+ pois: string[];
13591
+ };
13592
+ /**
13593
+ * Cleans up resources used by the instance.
13594
+ *
13595
+ * @internal
13596
+ */
13597
+ destroy(): void;
13598
+ }
13599
+ //#endregion
13600
+ //#region src/map-data-objects/base-metadata-object.d.ts
13601
+ declare abstract class BaseMetaData {
13602
+ /**
13603
+ * The identity of the map metadata.
13604
+ */
13605
+ readonly id: string;
13606
+ constructor(id: string);
13607
+ }
13608
+ //#endregion
13609
+ //#region src/map-data-objects/node.d.ts
13610
+ /**
13611
+ * A class representing {@link Path} node data within the map.
13612
+ *
13613
+ * Nodes are used to define points in the map's pathfinding graph.
13614
+ *
13615
+ */
13616
+ declare class Node extends BaseMetaData implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
13617
+ #private;
13618
+ /**
13619
+ * @internal
13620
+ */
13621
+ static readonly __type = "node";
13622
+ /**
13623
+ * @internal
13624
+ */
13625
+ readonly __type = "node";
13626
+ /**
13627
+ * Checks if the provided instance is of type Node.
13628
+ *
13629
+ * @param instance The instance to check.
13630
+ * @returns {boolean} True if the instance is a Node, false otherwise.
13631
+ */
13632
+ static is(instance: object): instance is Node;
13633
+ /**
13634
+ * @internal
13635
+ */
13636
+ constructor(data: MapDataInternal, options: {
13637
+ record: NodeRecord;
13638
+ });
13639
+ /**
13640
+ * Gets the {@link EnterpriseLocation}s attached to this node.
13641
+ *
13642
+ * @remarks
13643
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
13644
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
13645
+ * using Maker credentials.
13646
+ *
13647
+ * @internal
13648
+ */
13649
+ get locations(): EnterpriseLocation[];
13650
+ /**
13651
+ * Gets the {@link Space} object associated with the node.
13652
+ */
13653
+ get space(): Space | undefined;
13654
+ /**
13655
+ * Gets the {@link MapObject} object associated with the node.
13656
+ */
13657
+ get object(): MapObject | undefined;
13658
+ /**
13659
+ * Gets the {@link Floor} associated with the node.
13660
+ *
13661
+ * @returns {Floor} The floor object.
13662
+ * @throws Will throw an error if the floor is not found.
13663
+ */
13664
+ get floor(): Floor;
13665
+ /**
13666
+ * Gets the {@link Coordinate} of the node.
13667
+ *
13668
+ * @returns {Coordinate} The node's coordinate.
13669
+ */
13670
+ get coordinate(): Coordinate;
13671
+ /**
13672
+ * Gets the external ID of the node.
13673
+ *
13674
+ * @returns {string} The external ID of the node.
13675
+ */
13676
+ get externalId(): string;
13677
+ /**
13678
+ * Gets the neighboring nodes of this node.
13679
+ *
13680
+ * @returns {Node[]} An array of neighboring Node objects.
13681
+ */
13682
+ get neighbors(): Node[];
13683
+ /**
13684
+ * Gets the navigation flags of the node.
13685
+ *
13686
+ * Navigation flags are string identifiers that describe properties of this node for navigation,
13687
+ * such as `accessible` for wheelchair accessibility or `outdoors` for outdoor routes.
13688
+ *
13689
+ * @returns {string[]} An array of navigation flags present on this node.
13690
+ */
13691
+ get navigationFlags(): readonly string[];
13692
+ /**
13693
+ * Gets the underlying GeoJSON Feature representation of this Node.
13694
+ */
13695
+ get geoJSON(): Feature<any, null>;
13696
+ /** @internal */
13697
+ get focusTarget(): Coordinate;
13698
+ /** @internal */
13699
+ get anchorTarget(): Coordinate;
13700
+ /** @internal */
13701
+ get navigationTarget(): this;
13702
+ /**
13703
+ * Serializes the node data to JSON.
13704
+ *
13705
+ * @returns An object representing the node.
13706
+ */
13707
+ toJSON(): {
13708
+ __type: string;
13709
+ id: string;
13710
+ floor: string;
13711
+ coordinate: {
13712
+ __type: string;
13713
+ latitude: number;
13714
+ longitude: number;
13715
+ floorId: string | undefined;
13716
+ verticalOffset: number;
13717
+ };
13718
+ neighbors: string[];
13719
+ };
13720
+ /**
13721
+ * Cleans up resources used by the instance.
13722
+ *
13723
+ * @internal
13724
+ */
13725
+ destroy(): void;
13726
+ }
13727
+ //#endregion
13728
+ //#region src/map-data-objects/opening-hours.d.ts
13729
+ /**
13730
+ * Represents the opening hours of a location.
13731
+ */
13732
+ declare class OpeningHours {
13733
+ #private;
12878
13734
  constructor(mvfData: OpeningHoursSpecification[]);
12879
13735
  /**
12880
13736
  * Gets the raw opening hours data.
@@ -13007,16 +13863,6 @@ declare class ImageMetaData extends BaseMetaData {
13007
13863
  }
13008
13864
  //#endregion
13009
13865
  //#region src/map-data-objects/location-profile.d.ts
13010
- type MVF3Location = Required<MVFv2_STANDARD_MVFv3>['locations'][number];
13011
- /**
13012
- * @internal
13013
- * This type helps us know we have all the properties we need
13014
- */
13015
- type LocationData = Omit<Location, 'categories' | 'spaces' | 'obstructions' | 'entrances' | 'shapes' | 'connections' | 'annotations' | 'areas' | 'openingHoursSpecification' | 'links' | 'pictures' | 'website' | 'icon'> & {
13016
- links: Hyperlink[];
13017
- images: ImageMetaData[];
13018
- icon?: ImageMetaData;
13019
- };
13020
13866
  /**
13021
13867
  * A LocationProfile contains metadata about a location, such as its name, description, logo, phone number, social media links, hours of operation and more.
13022
13868
  * They can be accessed using the {@link MapData.getByType} method as shown below.
@@ -13032,7 +13878,7 @@ type LocationData = Omit<Location, 'categories' | 'spaces' | 'obstructions' | 'e
13032
13878
  *
13033
13879
  * @see {@link EnterpriseLocation} for the CMS/Enterprise equivalent.
13034
13880
  */
13035
- declare class LocationProfile extends BaseMetaData implements LocationData, IFocusable, INavigatable {
13881
+ declare class LocationProfile extends BaseMetaData implements IFocusable, INavigatable {
13036
13882
  #private;
13037
13883
  /**
13038
13884
  * Checks if the provided instance is of type LocationProfile.
@@ -13111,8 +13957,7 @@ declare class LocationProfile extends BaseMetaData implements LocationData, IFoc
13111
13957
  searchTags?: string[];
13112
13958
  /** @internal */
13113
13959
  constructor(data: MapDataInternal, options: {
13114
- mvf2Data: Location;
13115
- mvf3Data?: MVF3Location;
13960
+ record: LocationProfileRecord;
13116
13961
  });
13117
13962
  /**
13118
13963
  * Gets the {@link Space}s associated with the location.
@@ -13184,23 +14029,6 @@ declare class LocationProfile extends BaseMetaData implements LocationData, IFoc
13184
14029
  };
13185
14030
  }
13186
14031
  //#endregion
13187
- //#region src/map-data-objects/base-object.d.ts
13188
- declare abstract class BaseMapData {
13189
- #private;
13190
- /**
13191
- * The identity of the map data.
13192
- */
13193
- readonly id: string;
13194
- constructor(id: string, _data: MapDataInternal);
13195
- /**
13196
- * Gets the bounding box of the geoJSON geometry.
13197
- *
13198
- * @returns {BBox} The bounding box of the geoJSON geometry
13199
- */
13200
- get geoJSONBoundingBox(): BBox | undefined;
13201
- get geoJSON(): Feature<Polygon | MultiPolygon | LineString | Point, null>;
13202
- }
13203
- //#endregion
13204
14032
  //#region src/map-data-objects/detailed-map-data.d.ts
13205
14033
  /**
13206
14034
  * Abstract base class for map data objects that carry rich metadata (images,
@@ -13311,7 +14139,7 @@ declare class Area extends DetailedMapData<AreaCollection['features'][number]> i
13311
14139
  */
13312
14140
  constructor(data: MapDataInternal, options: {
13313
14141
  floorId: string;
13314
- mvfData: AreaCollection['features'][number];
14142
+ record: AreaRecord;
13315
14143
  });
13316
14144
  /**
13317
14145
  * Gets the center {@link Coordinate} of the area.
@@ -13335,11 +14163,7 @@ declare class Area extends DetailedMapData<AreaCollection['features'][number]> i
13335
14163
  /**
13336
14164
  * Gets the underlying GeoJSON Feature representation of this Area.
13337
14165
  */
13338
- get geoJSON(): {
13339
- properties: null;
13340
- type: _mappedin_mvf_v22.FeatureType;
13341
- geometry: _mappedin_mvf_v22.Polygon;
13342
- };
14166
+ get geoJSON(): Feature<Polygon, null>;
13343
14167
  /** @internal */
13344
14168
  get focusTarget(): this;
13345
14169
  /** @internal */
@@ -13416,7 +14240,7 @@ declare class Door extends DetailedMapData<EntranceFeature> implements IGeoJSOND
13416
14240
  */
13417
14241
  constructor(data: MapDataInternal, options: {
13418
14242
  floorId: string;
13419
- mvfData: EntranceFeature;
14243
+ record: DoorRecord;
13420
14244
  });
13421
14245
  /**
13422
14246
  * Gets the {@link Floor} object associated with the door.
@@ -13438,11 +14262,7 @@ declare class Door extends DetailedMapData<EntranceFeature> implements IGeoJSOND
13438
14262
  /**
13439
14263
  * Gets the underlying GeoJSON Feature representation of this Door.
13440
14264
  */
13441
- get geoJSON(): {
13442
- properties: null;
13443
- type: _mappedin_mvf_v22.FeatureType;
13444
- geometry: _mappedin_mvf_v22.LineString;
13445
- };
14265
+ get geoJSON(): Feature<any, null>;
13446
14266
  /** @internal */
13447
14267
  get focusTarget(): Coordinate;
13448
14268
  /** @internal */
@@ -13475,329 +14295,125 @@ declare class Door extends DetailedMapData<EntranceFeature> implements IGeoJSOND
13475
14295
  destroy(): void;
13476
14296
  }
13477
14297
  //#endregion
13478
- //#region src/map-data-objects/space.d.ts
13479
- /**
13480
- * Represents the various types of spaces that can be defined within a map.
13481
- * - 'room': A standard room or enclosed area.
13482
- * - 'hallway': A passageway connecting rooms.
13483
- * - 'exterior': An outdoor area.
13484
- * - 'void': An undefined or non-specific space.
13485
- */
13486
- type TSpaceType = 'room' | 'hallway' | 'exterior' | 'void' | 'gate' | 'otb';
13487
- /**
13488
- * A Space represents an area enclosed by walls, such as a hall or room. Spaces can be Interactive and have Labels and Markers added to them.
13489
- * Spaces can also be customized with a color, texture and hover color.
13490
- *
13491
- * Refer to the [Spaces Guide](https://developer.mappedin.com/web-sdk/spaces) for more information and interactive examples.
13492
- */
13493
- declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
13494
- #private;
13495
- /**
13496
- * @internal
13497
- */
13498
- static readonly __type = "space";
13499
- /**
13500
- * @internal
13501
- */
13502
- readonly __type = "space";
13503
- /**
13504
- * Checks if the provided instance is of type Space.
13505
- *
13506
- * @param instance The instance to check.
13507
- * @returns {boolean} True if the instance is a Space, false otherwise.
13508
- */
13509
- static is(instance: object): instance is Space;
13510
- /**
13511
- * @internal
13512
- */
13513
- constructor(data: MapDataInternal, options: {
13514
- floorId: string;
13515
- mvfData: SpaceFeature;
13516
- });
13517
- /**
13518
- * Gets the type/kind of the space.
13519
- *
13520
- * @returns {TSpaceType} The type of the space.
13521
- */
13522
- get type(): TSpaceType;
13523
- /**
13524
- * Gets the {@link EnterpriseLocation}s attached to this space.
13525
- *
13526
- * @remarks
13527
- * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
13528
- * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
13529
- * using Maker credentials. For Maker data, access locations via {@link LocationProfile.spaces}
13530
- * instead.
13531
- *
13532
- * @returns {EnterpriseLocation[]} An array of enterprise locations.
13533
- */
13534
- get enterpriseLocations(): EnterpriseLocation[];
13535
- /**
13536
- * Gets the {@link EnterpriseLocation}s attached to this space.
13537
- *
13538
- * @deprecated Use {@link enterpriseLocations} instead. This property will be removed in a future release.
13539
- *
13540
- * @remarks
13541
- * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials.
13542
- *
13543
- * @returns {EnterpriseLocation[]} An array of enterprise locations.
13544
- */
13545
- get locations(): EnterpriseLocation[];
13546
- /**
13547
- * Gets the {@link Floor} object associated with the space.
13548
- *
13549
- * @returns {Floor} The floor object.
13550
- * @throws Will throw an error if the floor is not found.
13551
- */
13552
- get floor(): Floor;
13553
- /**
13554
- * Gets the array of {@link Door}s associated with the space.
13555
- *
13556
- * @remarks
13557
- * **Data Source: Maker** - This property is only populated when using Maker credentials
13558
- * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise credentials.
13559
- *
13560
- * @returns {Door[]} The doors array.
13561
- */
13562
- get doors(): Door[];
13563
- /**
13564
- * Gets the 3D images anchored to this space.
13565
- *
13566
- * @returns {Image3DView[]} An array of Image3DView objects representing 3D images attached to this space.
13567
- */
13568
- get images3D(): Image3DView[];
13569
- /**
13570
- * Gets the center {@link Coordinate} of the space.
13571
- *
13572
- * @returns {Coordinate} The space's center coordinate.
13573
- */
13574
- get center(): Coordinate;
13575
- /**
13576
- * Gets the underlying GeoJSON Feature representation of this Space.
13577
- */
13578
- get geoJSON(): {
13579
- properties: null;
13580
- type: _mappedin_mvf_v22.FeatureType;
13581
- geometry: _mappedin_mvf_v22.Point | _mappedin_mvf_v22.LineString | _mappedin_mvf_v22.Polygon;
13582
- };
13583
- /** @internal */
13584
- get focusTarget(): this | Coordinate;
13585
- /** @internal */
13586
- get anchorTarget(): Coordinate;
13587
- /** @internal */
13588
- get navigationTarget(): this;
13589
- /**
13590
- * Serializes the space data to JSON.
13591
- *
13592
- * @returns An object representing the space.
13593
- */
13594
- toJSON(): {
13595
- __type: string;
13596
- id: string;
13597
- name: string;
13598
- type: TSpaceType;
13599
- floor: string;
13600
- center: {
13601
- __type: string;
13602
- latitude: number;
13603
- longitude: number;
13604
- floorId: string | undefined;
13605
- verticalOffset: number;
13606
- };
13607
- };
13608
- /**
13609
- * Cleans up resources used by the instance.
13610
- *
13611
- * @internal
13612
- */
13613
- destroy(): void;
13614
- }
13615
- //#endregion
13616
- //#region src/map-data-objects/poi.d.ts
13617
- /**
13618
- * A class representing point of interest data within the map.
13619
- *
13620
- * Points of interest are used to represent specific points
13621
- * on the map with additional information(e.g. ATMs, Water Fountains).
13622
- */
13623
- declare class PointOfInterest extends DetailedMapData<FeatureCollection$1<Point$1, SpaceProperties>['features'][number]> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
13624
- #private;
13625
- /**
13626
- * @internal
13627
- */
13628
- static readonly __type = "point-of-interest";
13629
- /**
13630
- * @internal
13631
- */
13632
- readonly __type = "point-of-interest";
13633
- /**
13634
- * Checks if the provided instance is of type PointOfInterest.
13635
- *
13636
- * @param instance The instance to check.
13637
- * @returns {boolean} True if the instance is a PointOfInterest, false otherwise.
13638
- */
13639
- static is(instance: object): instance is PointOfInterest;
13640
- /** @internal */
13641
- get navigationTarget(): Coordinate;
13642
- /**
13643
- * @internal
13644
- */
13645
- constructor(data: MapDataInternal, options: {
13646
- floorId: string;
13647
- mvfData: FeatureCollection$1<Point$1, SpaceProperties>['features'][number];
13648
- });
13649
- /**
13650
- * Gets the {@link Floor} object associated with the POI.
13651
- *
13652
- * @returns {Floor} The floor object.
13653
- * @throws Will throw an error if the floor is not found.
13654
- */
13655
- get floor(): Floor;
13656
- /**
13657
- * Gets the {@link Coordinate} of the POI.
13658
- *
13659
- * @returns {Coordinate} The POI's coordinate.
13660
- */
13661
- get coordinate(): Coordinate;
13662
- /**
13663
- * Gets the underlying GeoJSON Feature representation of this PointOfInterest.
13664
- */
13665
- get geoJSON(): {
13666
- properties: null;
13667
- type: _mappedin_mvf_v22.FeatureType;
13668
- geometry: Point$1;
13669
- };
13670
- /**
13671
- * Gets the 3D images anchored to this point of interest.
13672
- *
13673
- * @returns {Image3DView[]} An array of Image3DView objects representing 3D images attached to this POI.
13674
- */
13675
- get images3D(): Image3DView[];
13676
- /** @internal */
13677
- get focusTarget(): Coordinate;
13678
- /** @internal */
13679
- get anchorTarget(): Coordinate;
13680
- /**
13681
- * Serializes the POI data to JSON.
13682
- *
13683
- * @returns An object representing the POI.
13684
- */
13685
- toJSON(): {
13686
- __type: string;
13687
- id: string;
13688
- name: string;
13689
- floor: string;
13690
- coordinate: {
13691
- __type: string;
13692
- latitude: number;
13693
- longitude: number;
13694
- floorId: string | undefined;
13695
- verticalOffset: number;
13696
- };
13697
- };
13698
- /**
13699
- * Cleans up resources used by the instance.
13700
- *
13701
- * @internal
13702
- */
13703
- destroy(): void;
13704
- }
13705
- //#endregion
13706
- //#region src/map-data-objects/annotation.d.ts
14298
+ //#region src/map-data-objects/space.d.ts
13707
14299
  /**
13708
- * A class representing annotation data within the map.
14300
+ * Represents the various types of spaces that can be defined within a map.
14301
+ * - 'room': A standard room or enclosed area.
14302
+ * - 'hallway': A passageway connecting rooms.
14303
+ * - 'exterior': An outdoor area.
14304
+ * - 'void': An undefined or non-specific space.
14305
+ */
14306
+ type TSpaceType = 'room' | 'hallway' | 'exterior' | 'void' | 'gate' | 'otb';
14307
+ /**
14308
+ * A Space represents an area enclosed by walls, such as a hall or room. Spaces can be Interactive and have Labels and Markers added to them.
14309
+ * Spaces can also be customized with a color, texture and hover color.
13709
14310
  *
13710
- * Annotations are used to mark specific points or areas on the map with additional information.
13711
- * It includes some details on a map that may be relevant to safety or accessibility (e.g. Fire Extinguishers).
13712
- * Refer to the [Annotation Guide](https://developer.mappedin.com/web-sdk/annotations) for more information.
14311
+ * Refer to the [Spaces Guide](https://developer.mappedin.com/web-sdk/spaces) for more information and interactive examples.
13713
14312
  */
13714
- declare class Annotation extends DetailedMapData<AnnotationCollection['features'][number]> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
14313
+ declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
13715
14314
  #private;
13716
14315
  /**
13717
14316
  * @internal
13718
14317
  */
13719
- static readonly __type = "annotation";
14318
+ static readonly __type = "space";
13720
14319
  /**
13721
14320
  * @internal
13722
14321
  */
13723
- readonly __type = "annotation";
14322
+ readonly __type = "space";
13724
14323
  /**
13725
- * Checks if the provided instance is of type Annotation.
14324
+ * Checks if the provided instance is of type Space.
13726
14325
  *
13727
14326
  * @param instance The instance to check.
13728
- * @returns {boolean} True if the instance is an Annotation, false otherwise.
14327
+ * @returns {boolean} True if the instance is a Space, false otherwise.
13729
14328
  */
13730
- static is(instance: object): instance is Annotation;
14329
+ static is(instance: object): instance is Space;
13731
14330
  /**
13732
14331
  * @internal
13733
14332
  */
13734
14333
  constructor(data: MapDataInternal, options: {
13735
14334
  floorId: string;
13736
- mvfData: AnnotationCollection['features'][number];
13737
- symbol?: AnnotationSymbol;
14335
+ record: SpaceRecord;
13738
14336
  });
13739
14337
  /**
13740
- * Gets the group of the annotation.
14338
+ * Gets the type/kind of the space.
13741
14339
  *
13742
- * @returns {string} The annotation group.
14340
+ * @returns {TSpaceType} The type of the space.
13743
14341
  */
13744
- get group(): string;
14342
+ get type(): TSpaceType;
13745
14343
  /**
13746
- * Gets the type of the annotation.
14344
+ * Gets the {@link EnterpriseLocation}s attached to this space.
13747
14345
  *
13748
- * @returns {string} The annotation type.
14346
+ * @remarks
14347
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
14348
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
14349
+ * using Maker credentials. For Maker data, access locations via {@link LocationProfile.spaces}
14350
+ * instead.
14351
+ *
14352
+ * @returns {EnterpriseLocation[]} An array of enterprise locations.
13749
14353
  */
13750
- get type(): string;
14354
+ get enterpriseLocations(): EnterpriseLocation[];
13751
14355
  /**
13752
- * Gets the center {@link Coordinate} of the annotation.
14356
+ * Gets the {@link EnterpriseLocation}s attached to this space.
13753
14357
  *
13754
- * @returns {Coordinate} The annotation's coordinate.
14358
+ * @deprecated Use {@link enterpriseLocations} instead. This property will be removed in a future release.
14359
+ *
14360
+ * @remarks
14361
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials.
14362
+ *
14363
+ * @returns {EnterpriseLocation[]} An array of enterprise locations.
13755
14364
  */
13756
- get coordinate(): Coordinate;
14365
+ get locations(): EnterpriseLocation[];
13757
14366
  /**
13758
- * Gets the {@link Floor} object associated with the annotation.
14367
+ * Gets the {@link Floor} object associated with the space.
13759
14368
  *
13760
14369
  * @returns {Floor} The floor object.
13761
14370
  * @throws Will throw an error if the floor is not found.
13762
14371
  */
13763
14372
  get floor(): Floor;
13764
14373
  /**
13765
- * Gets the name of the annotation.
14374
+ * Gets the array of {@link Door}s associated with the space.
13766
14375
  *
13767
- * @returns {string} The annotation's name.
14376
+ * @remarks
14377
+ * **Data Source: Maker** - This property is only populated when using Maker credentials
14378
+ * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise credentials.
14379
+ *
14380
+ * @returns {Door[]} The doors array.
13768
14381
  */
13769
- get name(): string;
14382
+ get doors(): Door[];
13770
14383
  /**
13771
- * Gets the icon for the annotation.
14384
+ * Gets the 3D images anchored to this space.
13772
14385
  *
13773
- * @returns {ImageMetaData | undefined} The icon of the annotation.
14386
+ * @returns {Image3DView[]} An array of Image3DView objects representing 3D images attached to this space.
13774
14387
  */
13775
- get icon(): ImageMetaData | undefined;
14388
+ get images3D(): Image3DView[];
13776
14389
  /**
13777
- * Gets the underlying GeoJSON Feature representation of this Annotation.
14390
+ * Gets the center {@link Coordinate} of the space.
14391
+ *
14392
+ * @returns {Coordinate} The space's center coordinate.
13778
14393
  */
13779
- get geoJSON(): {
13780
- properties: null;
13781
- type: _mappedin_mvf_v22.FeatureType;
13782
- geometry: _mappedin_mvf_v22.Point;
13783
- };
14394
+ get center(): Coordinate;
14395
+ /**
14396
+ * Gets the underlying GeoJSON Feature representation of this Space.
14397
+ */
14398
+ get geoJSON(): Feature<any, null>;
13784
14399
  /** @internal */
13785
- get focusTarget(): Coordinate;
14400
+ get focusTarget(): this | Coordinate;
13786
14401
  /** @internal */
13787
14402
  get anchorTarget(): Coordinate;
13788
14403
  /** @internal */
13789
- get navigationTarget(): Coordinate;
14404
+ get navigationTarget(): this;
13790
14405
  /**
13791
- * Converts the annotation information to a JSON object.
14406
+ * Serializes the space data to JSON.
13792
14407
  *
13793
- * @returns An object representing the annotation.
14408
+ * @returns An object representing the space.
13794
14409
  */
13795
14410
  toJSON(): {
13796
14411
  __type: string;
13797
14412
  id: string;
13798
- group: string;
13799
- type: string;
13800
- coordinate: {
14413
+ name: string;
14414
+ type: TSpaceType;
14415
+ floor: string;
14416
+ center: {
13801
14417
  __type: string;
13802
14418
  latitude: number;
13803
14419
  longitude: number;
@@ -13840,7 +14456,7 @@ declare class Connection extends DetailedMapData<Feature$1<Point$1, SpacePropert
13840
14456
  * @internal
13841
14457
  */
13842
14458
  constructor(data: MapDataInternal, options: {
13843
- mvfData: Connection$1;
14459
+ record: ConnectionRecord;
13844
14460
  });
13845
14461
  /**
13846
14462
  * Whether the connection is accessible. For example elevators are accessible while stairs are not.
@@ -13940,7 +14556,7 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
13940
14556
  */
13941
14557
  constructor(data: MapDataInternal, options: {
13942
14558
  floorId: string;
13943
- mvfData: ObstructionFeature;
14559
+ record: MapObjectRecord;
13944
14560
  });
13945
14561
  /**
13946
14562
  * Gets the type of the MapObject.
@@ -13993,11 +14609,7 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
13993
14609
  /**
13994
14610
  * Gets the underlying GeoJSON Feature representation of this Object.
13995
14611
  */
13996
- get geoJSON(): {
13997
- properties: null;
13998
- type: _mappedin_mvf_v22.FeatureType;
13999
- geometry: _mappedin_mvf_v22.LineString | _mappedin_mvf_v22.Polygon;
14000
- };
14612
+ get geoJSON(): Feature<any, null>;
14001
14613
  /** @internal */
14002
14614
  get anchorTarget(): Coordinate;
14003
14615
  /** @internal */
@@ -14031,187 +14643,83 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
14031
14643
  destroy(): void;
14032
14644
  }
14033
14645
  //#endregion
14034
- //#region src/map-data-objects/types.d.ts
14035
- /**
14036
- * Places are the main objects that can be searched for.
14037
- */
14038
- type Places = Space | Floor | Door | Connection | MapObject | PointOfInterest | Annotation | Area;
14039
- type LocationWithLocale = PartialExcept<EnterpriseLocation$1, 'id'>;
14040
- type CategoryWithLocale = PartialExcept<EnterpriseCategory$1, 'id'>;
14041
- type FloorStackWithLocale = PartialExcept<FloorStack$1, 'id'>;
14042
- type FloorWithLocale = PartialExcept<FloorProperties, 'id'>;
14043
- type LanguagePackRecords = {
14044
- 'enterprise-location': Record<string, LocationWithLocale> | undefined;
14045
- 'enterprise-category': Record<string, CategoryWithLocale> | undefined;
14046
- 'floor-stack': Record<string, FloorStackWithLocale> | undefined;
14047
- floor: Record<string, FloorWithLocale> | undefined;
14048
- };
14049
- type LanguagePack = {
14050
- type: 'downloaded';
14051
- data: ParsedMVFLocalePack;
14052
- optimized: LanguagePackRecords;
14053
- } | {
14054
- type: 'initial';
14055
- optimized: LanguagePackRecords;
14056
- };
14057
- type TMapDataInternalOptions = {
14058
- env?: EnvControl;
14059
- enterprise?: boolean;
14060
- outdoorViewToken?: string;
14061
- localePacksUrls?: LocalePackUrls;
14062
- languagePacks?: LanguagePackHydrationItem[];
14063
- binaryBundle?: Uint8Array;
14064
- tokenManager?: TokenManager;
14065
- getMapDataOptions?: TGetMapDataOptions;
14066
- mvf3?: MVFv2_STANDARD_MVFv3;
14067
- updatedAt?: string;
14068
- };
14069
- type MVFNodeFeature = NodeCollection['features'][number];
14070
- type MVFFloorFeature = FloorCollection['features'][number];
14071
- //#endregion
14072
- //#region src/map-data-objects/floor.d.ts
14646
+ //#region src/map-data-objects/poi.d.ts
14073
14647
  /**
14074
- * A class representing floor data within the map.
14648
+ * A class representing point of interest data within the map.
14075
14649
  *
14076
- * Floors are used to represent different levels within a map, each containing various map elements.
14650
+ * Points of interest are used to represent specific points
14651
+ * on the map with additional information(e.g. ATMs, Water Fountains).
14077
14652
  */
14078
- declare class Floor extends BaseMapData implements IFocusable, IGeoJSONData {
14653
+ declare class PointOfInterest extends DetailedMapData<FeatureCollection$1<Point$1, SpaceProperties>['features'][number]> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
14079
14654
  #private;
14080
14655
  /**
14081
14656
  * @internal
14082
14657
  */
14083
- static readonly __type = "floor";
14658
+ static readonly __type = "point-of-interest";
14084
14659
  /**
14085
14660
  * @internal
14086
14661
  */
14087
- readonly __type = "floor";
14662
+ readonly __type = "point-of-interest";
14088
14663
  /**
14089
- * Checks if the provided instance is of type Floor.
14664
+ * Checks if the provided instance is of type PointOfInterest.
14090
14665
  *
14091
14666
  * @param instance The instance to check.
14092
- * @returns {boolean} True if the instance is a Floor, false otherwise.
14667
+ * @returns {boolean} True if the instance is a PointOfInterest, false otherwise.
14093
14668
  */
14094
- static is(instance: object): instance is Floor;
14669
+ static is(instance: object): instance is PointOfInterest;
14670
+ /** @internal */
14671
+ get navigationTarget(): Coordinate;
14095
14672
  /**
14096
14673
  * @internal
14097
14674
  */
14098
14675
  constructor(data: MapDataInternal, options: {
14099
- mvfData: MVFFloorFeature;
14676
+ floorId: string;
14677
+ record: PoiRecord;
14100
14678
  });
14101
- /** @internal */
14102
- get focusTarget(): this;
14103
- /**
14104
- * Gets the name of the floor.
14105
- *
14106
- * @returns {string} The name of the floor.
14107
- */
14108
- get name(): string;
14109
- /**
14110
- * Gets the short name of the floor (i.e. "F1", "L, "2", etc.).
14111
- * Used in space constrained lists and Often aligns with what is displayed on an elevator.
14112
- *
14113
- * @returns {string} The short name of the floor.
14114
- */
14115
- get shortName(): string;
14116
- /**
14117
- * Gets the subtitle of the floor.
14118
- *
14119
- * @returns {string} The subtitle of the floor.
14120
- */
14121
- get subtitle(): string;
14122
- /**
14123
- * Gets the external ID of the floor.
14124
- *
14125
- * @returns {string} The external ID of the floor.
14126
- */
14127
- get externalId(): string;
14128
- /**
14129
- * Gets the elevation of the floor.
14130
- *
14131
- * @returns {number} The elevation of the floor.
14132
- */
14133
- get elevation(): number;
14134
14679
  /**
14135
- * Gets the max height of the floor if there is one.
14136
- *
14137
- * @returns {number | undefined} The max height of the floor.
14138
- */
14139
- get maxHeight(): number | undefined;
14140
- /**
14141
- * Gets the spaces ({@link Space}) located on this floor.
14142
- *
14143
- * @returns {Space[]} An array of Space objects on this floor.
14144
- */
14145
- get spaces(): Space[];
14146
- /**
14147
- * Gets the spaces that are open to below on this floor.
14148
- * These are spaces that create ceiling cutouts when viewed from floors above.
14149
- *
14150
- * @internal
14151
- *
14152
- * @returns {Space[]} An array of Space objects that are open to below.
14153
- */
14154
- get spacesOpenToBelow(): Space[];
14155
- /**
14156
- * Gets the underlying GeoJSON Feature representation of this Space.
14157
- */
14158
- get geoJSON(): Feature$1<Polygon$1 | MultiPolygon$1, null>;
14159
- /**
14160
- * Gets the objects ({@link MapObject}) located on this floor.
14161
- *
14162
- * @returns {MapObject[]} An array of MapObject objects on this floor.
14163
- */
14164
- get objects(): MapObject[];
14165
- /**
14166
- * Gets the connections ({@link Connection}) associated with this floor.
14167
- *
14168
- * @returns {Connection[]} An array of Connection objects linked to this floor.
14169
- */
14170
- get connections(): Connection[];
14171
- /**
14172
- * Gets the doors ({@link Door}) located on this floor.
14680
+ * Gets the {@link Floor} object associated with the POI.
14173
14681
  *
14174
- * @returns {Door[]} An array of Door objects on this floor.
14682
+ * @returns {Floor} The floor object.
14683
+ * @throws Will throw an error if the floor is not found.
14175
14684
  */
14176
- get doors(): Door[];
14685
+ get floor(): Floor;
14177
14686
  /**
14178
- * Gets the annotations ({@link Annotation}) associated with this floor.
14687
+ * Gets the {@link Coordinate} of the POI.
14179
14688
  *
14180
- * @returns {Annotation[]} An array of Annotation objects linked to this floor.
14689
+ * @returns {Coordinate} The POI's coordinate.
14181
14690
  */
14182
- get annotations(): Annotation[];
14691
+ get coordinate(): Coordinate;
14183
14692
  /**
14184
- * Gets the points of interest ({@link PointOfInterest}) located on this floor.
14185
- *
14186
- * @returns {PointOfInterest[]} An array of PointOfInterest objects on this floor.
14693
+ * Gets the underlying GeoJSON Feature representation of this PointOfInterest.
14187
14694
  */
14188
- get pois(): PointOfInterest[];
14695
+ get geoJSON(): Feature<any, null>;
14189
14696
  /**
14190
- * Gets the FloorStack ({@link FloorStack}) that this floor belongs to.
14697
+ * Gets the 3D images anchored to this point of interest.
14191
14698
  *
14192
- * @returns {FloorStack} The FloorStack that this floor belongs to.
14699
+ * @returns {Image3DView[]} An array of Image3DView objects representing 3D images attached to this POI.
14193
14700
  */
14194
- get floorStack(): FloorStack;
14195
- get center(): Coordinate;
14701
+ get images3D(): Image3DView[];
14702
+ /** @internal */
14703
+ get focusTarget(): Coordinate;
14704
+ /** @internal */
14705
+ get anchorTarget(): Coordinate;
14196
14706
  /**
14197
- * Serializes the floor data to JSON.
14707
+ * Serializes the POI data to JSON.
14198
14708
  *
14199
- * @returns An object representing the floor.
14709
+ * @returns An object representing the POI.
14200
14710
  */
14201
14711
  toJSON(): {
14202
14712
  __type: string;
14203
14713
  id: string;
14204
14714
  name: string;
14205
- shortName: string;
14206
- subtitle: string;
14207
- elevation: number;
14208
- maxHeight: number | undefined;
14209
- spaces: string[];
14210
- objects: string[];
14211
- connections: string[];
14212
- doors: string[];
14213
- annotations: string[];
14214
- pois: string[];
14715
+ floor: string;
14716
+ coordinate: {
14717
+ __type: string;
14718
+ latitude: number;
14719
+ longitude: number;
14720
+ floorId: string | undefined;
14721
+ verticalOffset: number;
14722
+ };
14215
14723
  };
14216
14724
  /**
14217
14725
  * Cleans up resources used by the instance.
@@ -14221,113 +14729,95 @@ declare class Floor extends BaseMapData implements IFocusable, IGeoJSONData {
14221
14729
  destroy(): void;
14222
14730
  }
14223
14731
  //#endregion
14224
- //#region src/map-data-objects/node.d.ts
14732
+ //#region src/map-data-objects/annotation.d.ts
14225
14733
  /**
14226
- * A class representing {@link Path} node data within the map.
14227
- *
14228
- * Nodes are used to define points in the map's pathfinding graph.
14734
+ * A class representing annotation data within the map.
14229
14735
  *
14736
+ * Annotations are used to mark specific points or areas on the map with additional information.
14737
+ * It includes some details on a map that may be relevant to safety or accessibility (e.g. Fire Extinguishers).
14738
+ * Refer to the [Annotation Guide](https://developer.mappedin.com/web-sdk/annotations) for more information.
14230
14739
  */
14231
- declare class Node extends BaseMetaData implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
14740
+ declare class Annotation extends DetailedMapData<AnnotationCollection['features'][number]> implements IGeoJSONData, IFocusable, IAnchorable, INavigatable {
14232
14741
  #private;
14233
14742
  /**
14234
14743
  * @internal
14235
14744
  */
14236
- static readonly __type = "node";
14745
+ static readonly __type = "annotation";
14237
14746
  /**
14238
14747
  * @internal
14239
14748
  */
14240
- readonly __type = "node";
14749
+ readonly __type = "annotation";
14241
14750
  /**
14242
- * Checks if the provided instance is of type Node.
14751
+ * Checks if the provided instance is of type Annotation.
14243
14752
  *
14244
14753
  * @param instance The instance to check.
14245
- * @returns {boolean} True if the instance is a Node, false otherwise.
14754
+ * @returns {boolean} True if the instance is an Annotation, false otherwise.
14246
14755
  */
14247
- static is(instance: object): instance is Node;
14756
+ static is(instance: object): instance is Annotation;
14248
14757
  /**
14249
14758
  * @internal
14250
14759
  */
14251
14760
  constructor(data: MapDataInternal, options: {
14252
14761
  floorId: string;
14253
- mvfData: MVFNodeFeature;
14762
+ record: AnnotationRecord;
14254
14763
  });
14255
14764
  /**
14256
- * Gets the {@link EnterpriseLocation}s attached to this node.
14257
- *
14258
- * @remarks
14259
- * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
14260
- * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
14261
- * using Maker credentials.
14765
+ * Gets the group of the annotation.
14262
14766
  *
14263
- * @internal
14264
- */
14265
- get locations(): EnterpriseLocation[];
14266
- /**
14267
- * Gets the {@link Space} object associated with the node.
14268
- */
14269
- get space(): Space | undefined;
14270
- /**
14271
- * Gets the {@link MapObject} object associated with the node.
14767
+ * @returns {string} The annotation group.
14272
14768
  */
14273
- get object(): MapObject | undefined;
14769
+ get group(): string;
14274
14770
  /**
14275
- * Gets the {@link Floor} associated with the node.
14771
+ * Gets the type of the annotation.
14276
14772
  *
14277
- * @returns {Floor} The floor object.
14278
- * @throws Will throw an error if the floor is not found.
14773
+ * @returns {string} The annotation type.
14279
14774
  */
14280
- get floor(): Floor;
14775
+ get type(): string;
14281
14776
  /**
14282
- * Gets the {@link Coordinate} of the node.
14777
+ * Gets the center {@link Coordinate} of the annotation.
14283
14778
  *
14284
- * @returns {Coordinate} The node's coordinate.
14779
+ * @returns {Coordinate} The annotation's coordinate.
14285
14780
  */
14286
14781
  get coordinate(): Coordinate;
14287
14782
  /**
14288
- * Gets the external ID of the node.
14783
+ * Gets the {@link Floor} object associated with the annotation.
14289
14784
  *
14290
- * @returns {string} The external ID of the node.
14785
+ * @returns {Floor} The floor object.
14786
+ * @throws Will throw an error if the floor is not found.
14291
14787
  */
14292
- get externalId(): string;
14788
+ get floor(): Floor;
14293
14789
  /**
14294
- * Gets the neighboring nodes of this node.
14790
+ * Gets the name of the annotation.
14295
14791
  *
14296
- * @returns {Node[]} An array of neighboring Node objects.
14792
+ * @returns {string} The annotation's name.
14297
14793
  */
14298
- get neighbors(): Node[];
14794
+ get name(): string;
14299
14795
  /**
14300
- * Gets the navigation flags of the node.
14301
- *
14302
- * Navigation flags are string identifiers that describe properties of this node for navigation,
14303
- * such as `accessible` for wheelchair accessibility or `outdoors` for outdoor routes.
14796
+ * Gets the icon for the annotation.
14304
14797
  *
14305
- * @returns {string[]} An array of navigation flags present on this node.
14798
+ * @returns {ImageMetaData | undefined} The icon of the annotation.
14306
14799
  */
14307
- get navigationFlags(): readonly string[];
14800
+ get icon(): ImageMetaData | undefined;
14308
14801
  /**
14309
- * Gets the underlying GeoJSON Feature representation of this Node.
14802
+ * Gets the underlying GeoJSON Feature representation of this Annotation.
14310
14803
  */
14311
- get geoJSON(): {
14312
- properties: null;
14313
- type: _mappedin_mvf_v22.FeatureType;
14314
- geometry: _mappedin_mvf_v22.Point;
14315
- };
14804
+ get geoJSON(): Feature<Point, null>;
14316
14805
  /** @internal */
14317
14806
  get focusTarget(): Coordinate;
14318
14807
  /** @internal */
14319
14808
  get anchorTarget(): Coordinate;
14320
14809
  /** @internal */
14321
- get navigationTarget(): this;
14810
+ get navigationTarget(): Coordinate;
14322
14811
  /**
14323
- * Serializes the node data to JSON.
14812
+ * Converts the annotation information to a JSON object.
14324
14813
  *
14325
- * @returns An object representing the node.
14814
+ * @returns An object representing the annotation.
14326
14815
  */
14327
14816
  toJSON(): {
14328
14817
  __type: string;
14329
14818
  id: string;
14330
- floor: string;
14819
+ group: string;
14820
+ type: string;
14331
14821
  coordinate: {
14332
14822
  __type: string;
14333
14823
  latitude: number;
@@ -14335,7 +14825,6 @@ declare class Node extends BaseMetaData implements IGeoJSONData, IFocusable, IAn
14335
14825
  floorId: string | undefined;
14336
14826
  verticalOffset: number;
14337
14827
  };
14338
- neighbors: string[];
14339
14828
  };
14340
14829
  /**
14341
14830
  * Cleans up resources used by the instance.
@@ -14372,7 +14861,7 @@ declare class FloorStack extends BaseMapData implements IGeoJSONData, IFocusable
14372
14861
  * @internal
14373
14862
  */
14374
14863
  constructor(data: MapDataInternal, options: {
14375
- mvfData: FloorStack$1;
14864
+ record: FloorStackRecord;
14376
14865
  facadeId?: string;
14377
14866
  });
14378
14867
  /**
@@ -14463,8 +14952,7 @@ declare class Facade extends BaseMapData implements IFocusable, IAnchorable, INa
14463
14952
  static is(instance: object): instance is Facade;
14464
14953
  /** @internal */
14465
14954
  constructor(data: MapDataInternal, options: {
14466
- mvfData: Facade$1;
14467
- floorStackId: string;
14955
+ record: FacadeRecord;
14468
14956
  });
14469
14957
  /**
14470
14958
  * Gets the floor stack that this Facade represents.
@@ -14493,89 +14981,6 @@ declare class Facade extends BaseMapData implements IFocusable, IAnchorable, INa
14493
14981
  };
14494
14982
  }
14495
14983
  //#endregion
14496
- //#region src/utils/data-creation.d.ts
14497
- type MapDataRecords = {
14498
- spacesById: Record<string, Space>;
14499
- nodesById: Record<string, Node>;
14500
- objectsById: Record<string, MapObject>;
14501
- floorsById: Record<string, Floor>;
14502
- floorStacksById: Record<string, FloorStack>;
14503
- facadesById: Record<string, Facade>;
14504
- facadesBySpaceId: Record<string, Facade>;
14505
- connectionsById: Record<string, Connection>;
14506
- doorsById: Record<string, Door>;
14507
- doorsByNodeId: Record<string, Door>;
14508
- poisById: Record<string, PointOfInterest>;
14509
- annotationsById: Record<string, Annotation>;
14510
- areasById: Record<AreaId, Area>;
14511
- spaceIdsByNodeId: Record<string, SpaceId[]>;
14512
- objectIdsByNodeId: Record<string, ObstructionId[]>;
14513
- destinationNodesIdsBySpaceId: Record<SpaceId, NodeId[]>;
14514
- /**
14515
- * Map of space id to door-linked node ids for fast routing.
14516
- */
14517
- entranceNodeIdsBySpaceId?: Record<string, string[]>;
14518
- locationProfilesById: Record<string, LocationProfile>;
14519
- locationCategoriesById: Record<string, LocationCategory>;
14520
- locationProfilesByCategoryId: Record<string, LocationProfile[]>;
14521
- locationCategoriesByParentId: Record<string, LocationCategory[]>;
14522
- spacesByExternalId: Record<string, Space[]>;
14523
- nodesByExternalId: Record<string, Node[]>;
14524
- poisByExternalId: Record<string, PointOfInterest[]>;
14525
- doorsByExternalId: Record<string, Door[]>;
14526
- floorStacksByExternalId: Record<string, FloorStack[]>;
14527
- floorsByExternalId: Record<string, Floor[]>;
14528
- objectsByExternalId: Record<string, MapObject[]>;
14529
- areasByExternalId: Record<string, Area[]>;
14530
- locationProfilesByExternalId: Record<string, LocationProfile[]>;
14531
- objectEntranceNodeIdsByObstructionId: Record<string, string[]>;
14532
- obstructionIdByEntranceId: Record<string, string>;
14533
- locationProfilesByAttachedFeatureId: Record<string, LocationProfile[]>;
14534
- mvfSpacesById: Record<string, SpaceCollection['features'][number]>;
14535
- mvfNodesById: Record<string, NodeCollection['features'][number]>;
14536
- mvfObstructionById: Record<string, ObstructionCollection['features'][number]>;
14537
- mvfFloorsById: Record<string, FloorProperties>;
14538
- mvfFloorStacksById: Record<string, FloorStack$1>;
14539
- mvfConnectionsById: Record<string, Connection$1>;
14540
- mvfConnectionsByNodeId: Record<string, Connection$1>;
14541
- mvfEntrancesById: Record<string, EntranceCollection['features'][number]>;
14542
- mvfAnnotationsById: Record<string, AnnotationCollection['features'][number]>;
14543
- mvfNodesByFloorId: {
14544
- [floorId: string]: NodeCollection['features'][number][];
14545
- };
14546
- mvfSpacesByFloorId: {
14547
- [floorId: string]: SpaceCollection['features'][number][];
14548
- };
14549
- mvfPoisByFloorId: {
14550
- [floorId: string]: FeatureCollection$1<Point$1, SpaceProperties>['features'][number][];
14551
- };
14552
- mvfEntrancesByFloorId: {
14553
- [floorId: string]: EntranceCollection['features'][number][];
14554
- };
14555
- mvfAnnotationsByFloorId: {
14556
- [floorId: string]: AnnotationCollection['features'][number][];
14557
- };
14558
- mvfAreasById: Record<AreaId, AreaCollection['features'][number]>;
14559
- mvf3LocationsById: Record<string, Required<MVFv2_STANDARD_MVFv3>['locations'][number]>;
14560
- };
14561
- type EnterpriseMapDataRecords = {
14562
- connectionsByExternalId: Record<string, Connection[]>;
14563
- locationsByExternalId: Record<string, EnterpriseLocation[]>;
14564
- categoriesByExternalId: Record<string, EnterpriseCategory[]>;
14565
- locationsById: Record<EnterpriseLocationId, EnterpriseLocation>;
14566
- /** Instance locations by ID - separate from locationsById so they don't appear in getByType */
14567
- locationInstancesById: Record<string, EnterpriseLocation>;
14568
- /** Instance locations by polygon ID - for space.enterpriseLocations to check instances first */
14569
- instanceLocationsByPolygonId: Record<string, EnterpriseLocation>;
14570
- categoriesById: Record<EnterpriseCategoryId, EnterpriseCategory>;
14571
- locationIdsByNodeId: Record<string, EnterpriseLocationId[]>;
14572
- mvfLocationInstancesById: Record<string, EnterpriseLocationInstance>;
14573
- venue: EnterpriseVenue$1;
14574
- mvfCategoriesById: Record<string, EnterpriseCategory$1>;
14575
- mvfLocationsById: Record<string, EnterpriseLocation$1>;
14576
- mvfLocationsByGeometryId: Record<string, EnterpriseLocation$1[]>;
14577
- };
14578
- //#endregion
14579
14984
  //#region src/map-data-objects/location.d.ts
14580
14985
  /**
14581
14986
  * An EnterpriseLocation contains metadata about a location, such as its name, description, logo, phone number, social media links, hours of operation and more.
@@ -14753,10 +15158,8 @@ declare class EnterpriseLocation extends BaseMetaData implements Omit<Enterprise
14753
15158
  * @internal
14754
15159
  */
14755
15160
  constructor(data: MapDataInternal, options: {
14756
- mvfData: EnterpriseLocation$1;
14757
- categoryIds: string[];
14758
- locationInstances?: EnterpriseLocation[];
14759
- parentId?: string;
15161
+ record: EnterpriseLocationRecord;
15162
+ instances?: EnterpriseLocation[];
14760
15163
  });
14761
15164
  /** @internal */
14762
15165
  get focusTarget(): Coordinate[] | Space[];
@@ -14865,7 +15268,7 @@ declare class EnterpriseCategory extends BaseMetaData implements Omit<Enterprise
14865
15268
  * @internal
14866
15269
  */
14867
15270
  constructor(data: MapDataInternal, options: {
14868
- mvfData: EnterpriseCategory$1;
15271
+ record: EnterpriseCategoryRecord;
14869
15272
  });
14870
15273
  /**
14871
15274
  * The child categories of the category.
@@ -14997,7 +15400,7 @@ declare class EnterpriseVenue extends BaseMetaData implements EnterpriseVenue$1
14997
15400
  * @internal
14998
15401
  */
14999
15402
  constructor(_data: MapDataInternal, options: {
15000
- mvfData: EnterpriseVenue$1;
15403
+ record: EnterpriseVenueRecord;
15001
15404
  });
15002
15405
  /**
15003
15406
  * Gets the name of the EnterpriseVenue.
@@ -15032,6 +15435,42 @@ declare class EnterpriseVenue extends BaseMetaData implements EnterpriseVenue$1
15032
15435
  destroy(): void;
15033
15436
  }
15034
15437
  //#endregion
15438
+ //#region src/map-data-objects/types.d.ts
15439
+ /**
15440
+ * Places are the main objects that can be searched for.
15441
+ */
15442
+ type Places = Space | Floor | Door | Connection | MapObject | PointOfInterest | Annotation | Area;
15443
+ type LocationWithLocale = PartialExcept<EnterpriseLocation$1, 'id'>;
15444
+ type CategoryWithLocale = PartialExcept<EnterpriseCategory$1, 'id'>;
15445
+ type FloorStackWithLocale = PartialExcept<FloorStack$1, 'id'>;
15446
+ type FloorWithLocale = PartialExcept<FloorProperties, 'id'>;
15447
+ type LanguagePackRecords = {
15448
+ 'enterprise-location': Record<string, LocationWithLocale> | undefined;
15449
+ 'enterprise-category': Record<string, CategoryWithLocale> | undefined;
15450
+ 'floor-stack': Record<string, FloorStackWithLocale> | undefined;
15451
+ floor: Record<string, FloorWithLocale> | undefined;
15452
+ };
15453
+ type LanguagePack = {
15454
+ type: 'downloaded';
15455
+ data: ParsedMVFLocalePack;
15456
+ optimized: LanguagePackRecords;
15457
+ } | {
15458
+ type: 'initial';
15459
+ optimized: LanguagePackRecords;
15460
+ };
15461
+ type TMapDataInternalOptions = {
15462
+ env?: EnvControl;
15463
+ enterprise?: boolean;
15464
+ outdoorViewToken?: string;
15465
+ localePacksUrls?: LocalePackUrls;
15466
+ languagePacks?: LanguagePackHydrationItem[];
15467
+ binaryBundle?: Uint8Array;
15468
+ tokenManager?: TokenManager;
15469
+ getMapDataOptions?: TGetMapDataOptions;
15470
+ mvf3?: MVFv2_STANDARD_MVFv3;
15471
+ updatedAt?: string;
15472
+ };
15473
+ //#endregion
15035
15474
  //#region src/query/types.d.ts
15036
15475
  /**
15037
15476
  * The map data object types that can be passed in the `include` array of a {@link Query.nearest} search.
@@ -15172,7 +15611,7 @@ declare class LocationCategory extends BaseMetaData implements Omit<Category, 'p
15172
15611
  icon: string;
15173
15612
  /** @internal */
15174
15613
  constructor(data: MapDataInternal, options: {
15175
- mvfData: Category;
15614
+ record: LocationCategoryRecord;
15176
15615
  });
15177
15616
  /**
15178
15617
  * Gets the parent {@link LocationCategory}.
@@ -15265,72 +15704,70 @@ declare class MapDataInternal extends PubSub<{
15265
15704
  */
15266
15705
  readonly outdoorViewToken?: string;
15267
15706
  /**
15268
- * Represents a map of obstruction IDs to entrance node IDs.
15269
- */
15270
- readonly objectEntranceNodeIdsByObstructionId: Record<string, string[]>;
15271
- /**
15272
- * Represents a map of entrance IDs to obstruction IDs.
15707
+ * Node-keyed reverse lookups (v2-only for this phase).
15273
15708
  */
15274
- readonly obstructionIdByEntranceId: Record<string, string>;
15709
+ readonly nodeIndex: NodeIndex;
15275
15710
  readonly venue?: EnterpriseVenue;
15276
15711
  readonly tokenManager?: TokenManager;
15277
15712
  directions: DirectionsInternal;
15278
15713
  enterpriseMode: boolean;
15279
- nodesById: MapDataRecords['nodesById'];
15280
- spacesById: MapDataRecords['spacesById'];
15281
- floorsById: MapDataRecords['floorsById'];
15282
- floorStacksById: MapDataRecords['floorStacksById'];
15283
- facadesById: MapDataRecords['facadesById'];
15284
- facadesBySpaceId: MapDataRecords['facadesBySpaceId'];
15285
- connectionsById: MapDataRecords['connectionsById'];
15286
- objectsById: MapDataRecords['objectsById'];
15287
- doorsById: MapDataRecords['doorsById'];
15288
- pointsOfInterestById: MapDataRecords['poisById'];
15289
- annotationsById: MapDataRecords['annotationsById'];
15290
- areasById: MapDataRecords['areasById'];
15291
- locationProfilesById: MapDataRecords['locationProfilesById'];
15292
- locationCategoriesById: MapDataRecords['locationCategoriesById'];
15293
- locationProfilesByExternalId: MapDataRecords['locationProfilesByExternalId'];
15294
- locationProfilesByCategoryId: MapDataRecords['locationProfilesByCategoryId'];
15295
- locationCategoriesByParentId: MapDataRecords['locationCategoriesByParentId'];
15296
- doorsByNodeId: MapDataRecords['doorsByNodeId'];
15297
- mvfAnnotationsById: MapDataRecords['mvfAnnotationsById'];
15298
- mvfConnectionsById: MapDataRecords['mvfConnectionsById'];
15299
- mvfConnectionsByNodeId: MapDataRecords['mvfConnectionsByNodeId'];
15300
- mvfEntrancesById: MapDataRecords['mvfEntrancesById'];
15301
- mvfNodesById: MapDataRecords['mvfNodesById'];
15302
- mvfObstructionById: MapDataRecords['mvfObstructionById'];
15303
- mvfSpacesById: MapDataRecords['mvfSpacesById'];
15304
- mvfFloorsById: MapDataRecords['mvfFloorsById'];
15305
- mvfFloorStacksById: MapDataRecords['mvfFloorStacksById'];
15306
- mvfAreasById: MapDataRecords['mvfAreasById'];
15307
- spacesByExternalId: MapDataRecords['spacesByExternalId'];
15308
- nodesByExternalId: MapDataRecords['nodesByExternalId'];
15309
- objectsByExternalId: MapDataRecords['objectsByExternalId'];
15310
- poisByExternalId: MapDataRecords['poisByExternalId'];
15311
- floorsByExternalId: MapDataRecords['floorsByExternalId'];
15312
- floorStacksByExternalId: MapDataRecords['floorStacksByExternalId'];
15313
- doorsByExternalId: MapDataRecords['doorsByExternalId'];
15314
- areasByExternalId: MapDataRecords['areasByExternalId'];
15315
- locationProfilesByAttachedFeatureId: MapDataRecords['locationProfilesByAttachedFeatureId'];
15316
- entranceNodeIdsBySpaceId?: MapDataRecords['entranceNodeIdsBySpaceId'];
15317
- locationsById: EnterpriseMapDataRecords['locationsById'];
15318
- locationInstancesById: EnterpriseMapDataRecords['locationInstancesById'];
15319
- instanceLocationsByPolygonId: EnterpriseMapDataRecords['instanceLocationsByPolygonId'];
15320
- categoriesById: EnterpriseMapDataRecords['categoriesById'];
15321
- mvfLocationsByGeometryId: EnterpriseMapDataRecords['mvfLocationsByGeometryId'];
15322
- locationIdsByNodeId: EnterpriseMapDataRecords['locationIdsByNodeId'];
15323
- spaceIdsByNodeId: MapDataRecords['spaceIdsByNodeId'];
15324
- objectIdsByNodeId: MapDataRecords['objectIdsByNodeId'];
15325
- connectionsByExternalId: EnterpriseMapDataRecords['connectionsByExternalId'];
15326
- locationsByExternalId: EnterpriseMapDataRecords['locationsByExternalId'];
15327
- categoriesByExternalId: EnterpriseMapDataRecords['categoriesByExternalId'];
15328
- destinationNodesIdsBySpaceId: MapDataRecords['destinationNodesIdsBySpaceId'];
15329
- mvfNodesByFloorId: MapDataRecords['mvfNodesByFloorId'];
15330
- mvfSpacesByFloorId: MapDataRecords['mvfSpacesByFloorId'];
15331
- mvfPoisByFloorId: MapDataRecords['mvfPoisByFloorId'];
15332
- mvfEntrancesByFloorId: MapDataRecords['mvfEntrancesByFloorId'];
15333
- mvfAnnotationsByFloorId: MapDataRecords['mvfAnnotationsByFloorId'];
15714
+ nodesById: ModelRecords['nodesById'];
15715
+ spacesById: ModelRecords['spacesById'];
15716
+ floorsById: ModelRecords['floorsById'];
15717
+ floorStacksById: ModelRecords['floorStacksById'];
15718
+ facadesById: ModelRecords['facadesById'];
15719
+ facadesBySpaceId: ModelRecords['facadesBySpaceId'];
15720
+ floorRecordsById: ModelRecords['floorRecordsById'];
15721
+ floorStackRecordsById: ModelRecords['floorStackRecordsById'];
15722
+ facadeRecordsById: ModelRecords['facadeRecordsById'];
15723
+ annotationRecordsById: ModelRecords['annotationRecordsById'];
15724
+ areaRecordsById: ModelRecords['areaRecordsById'];
15725
+ spaceRecordsByFloorId: ModelRecords['spaceRecordsByFloorId'];
15726
+ poiRecordsByFloorId: ModelRecords['poiRecordsByFloorId'];
15727
+ doorRecordsById: ModelRecords['doorRecordsById'];
15728
+ geometryById: ModelRecords['geometryIndex']['byId'];
15729
+ geometryByFloorId: ModelRecords['geometryIndex']['byFloorId'];
15730
+ connectionsById: ModelRecords['connectionsById'];
15731
+ objectsById: ModelRecords['objectsById'];
15732
+ objectRecordsById: ModelRecords['objectRecordsById'];
15733
+ doorsById: ModelRecords['doorsById'];
15734
+ pointsOfInterestById: ModelRecords['poisById'];
15735
+ annotationsById: ModelRecords['annotationsById'];
15736
+ areasById: ModelRecords['areasById'];
15737
+ locationProfilesById: ModelRecords['locationProfilesById'];
15738
+ locationCategoriesById: ModelRecords['locationCategoriesById'];
15739
+ locationProfilesByExternalId: ModelRecords['locationProfilesByExternalId'];
15740
+ locationProfilesByCategoryId: ModelRecords['locationProfilesByCategoryId'];
15741
+ locationCategoriesByParentId: ModelRecords['locationCategoriesByParentId'];
15742
+ mvfConnectionsById: Record<string, Connection$1>;
15743
+ mvfSpacesById: ModelRecords['mvfSpacesById'];
15744
+ mvfObstructionById: ModelRecords['mvfObstructionById'];
15745
+ mvfEntrancesById: ModelRecords['mvfEntrancesById'];
15746
+ mvfAreasById: ModelRecords['mvfAreasById'];
15747
+ mvfAnnotationsById: ModelRecords['mvfAnnotationsById'];
15748
+ nodeRecordsById: ModelRecords['nodeRecordsById'];
15749
+ nodeRecordsByFloorId: ModelRecords['nodeRecordsByFloorId'];
15750
+ connectionRecordsById: ModelRecords['connectionRecordsById'];
15751
+ doorRecordsByFloorId: ModelRecords['doorRecordsByFloorId'];
15752
+ annotationRecordsByFloorId: ModelRecords['annotationRecordsByFloorId'];
15753
+ areaRecordsByFloorId: ModelRecords['areaRecordsByFloorId'];
15754
+ spacesByExternalId: ModelRecords['spacesByExternalId'];
15755
+ nodesByExternalId: ModelRecords['nodesByExternalId'];
15756
+ objectsByExternalId: ModelRecords['objectsByExternalId'];
15757
+ poisByExternalId: ModelRecords['poisByExternalId'];
15758
+ floorsByExternalId: ModelRecords['floorsByExternalId'];
15759
+ floorStacksByExternalId: ModelRecords['floorStacksByExternalId'];
15760
+ doorsByExternalId: ModelRecords['doorsByExternalId'];
15761
+ areasByExternalId: ModelRecords['areasByExternalId'];
15762
+ locationProfilesByAttachedFeatureId: ModelRecords['locationProfilesByAttachedFeatureId'];
15763
+ locationsById: EnterpriseModelRecords['locationsById'];
15764
+ locationInstancesById: EnterpriseModelRecords['locationInstancesById'];
15765
+ instanceLocationsByPolygonId: EnterpriseModelRecords['instanceLocationsByPolygonId'];
15766
+ categoriesById: EnterpriseModelRecords['categoriesById'];
15767
+ locationIdsByGeometryId: Record<string, string[]>;
15768
+ connectionsByExternalId: EnterpriseModelRecords['connectionsByExternalId'];
15769
+ locationsByExternalId: EnterpriseModelRecords['locationsByExternalId'];
15770
+ categoriesByExternalId: EnterpriseModelRecords['categoriesByExternalId'];
15334
15771
  /**
15335
15772
  * Map of floor ID to void data extracted from footprint holes.
15336
15773
  * @internal
@@ -15611,6 +16048,26 @@ type SearchResult = {
15611
16048
  */
15612
16049
  enterpriseCategories?: SearchResultEnterpriseCategory[];
15613
16050
  };
16051
+ /**
16052
+ * The fuzzy edit-distance budget accepted per search source. This is a narrowed
16053
+ * `number` view over MiniSearch's `fuzzy` option:
16054
+ *
16055
+ * - `0` — disable typo tolerance (exact/prefix matches only).
16056
+ * - `> 0 && < 1` (e.g. `0.2`) — edit distance as a fraction of the term length.
16057
+ * - `>= 1` — an absolute edit count.
16058
+ *
16059
+ * Omit the key (or pass `undefined`) to inherit the index default (`0.2`). Note
16060
+ * that `undefined` is *not* a valid MiniSearch value — it would silently
16061
+ * disable fuzzy if forwarded verbatim — so `applyMatchOptions()` drops it and
16062
+ * the index default applies.
16063
+ */
16064
+ type Fuzzy = number;
16065
+ /**
16066
+ * Whether prefix (as-you-type) matching is enabled per search source. Mirrors
16067
+ * MiniSearch's `prefix` option: a boolean, or a `(term, index, terms) => boolean`
16068
+ * function.
16069
+ */
16070
+ type Prefix$1 = SearchOptions$1['prefix'];
15614
16071
  declare const searchOptionsSchema: ZodObject<{
15615
16072
  places: ZodOptional<ZodObject<{
15616
16073
  fields: ZodOptional<ZodObject<{
@@ -15618,6 +16075,8 @@ declare const searchOptionsSchema: ZodObject<{
15618
16075
  description: ZodOptional<ZodBoolean>;
15619
16076
  }, $strip>>;
15620
16077
  limit: ZodOptional<ZodNumber>;
16078
+ fuzzy: ZodOptional<ZodNumber>;
16079
+ prefix: ZodOptional<ZodCustom<boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined, boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined>>;
15621
16080
  }, $strip>>;
15622
16081
  enterpriseCategories: ZodOptional<ZodObject<{
15623
16082
  fields: ZodOptional<ZodObject<{
@@ -15626,6 +16085,8 @@ declare const searchOptionsSchema: ZodObject<{
15626
16085
  'locations.name': ZodOptional<ZodBoolean>;
15627
16086
  }, $strip>>;
15628
16087
  limit: ZodOptional<ZodNumber>;
16088
+ fuzzy: ZodOptional<ZodNumber>;
16089
+ prefix: ZodOptional<ZodCustom<boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined, boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined>>;
15629
16090
  }, $strip>>;
15630
16091
  enterpriseLocations: ZodOptional<ZodObject<{
15631
16092
  fields: ZodOptional<ZodObject<{
@@ -15634,14 +16095,20 @@ declare const searchOptionsSchema: ZodObject<{
15634
16095
  description: ZodOptional<ZodBoolean>;
15635
16096
  }, $strip>>;
15636
16097
  limit: ZodOptional<ZodNumber>;
16098
+ fuzzy: ZodOptional<ZodNumber>;
16099
+ prefix: ZodOptional<ZodCustom<boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined, boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined>>;
15637
16100
  }, $strip>>;
15638
16101
  }, $strip>;
15639
16102
  declare const suggestOptionsSchema: ZodObject<{
15640
16103
  places: ZodOptional<ZodObject<{
15641
16104
  enabled: ZodOptional<ZodBoolean>;
16105
+ fuzzy: ZodOptional<ZodNumber>;
16106
+ prefix: ZodOptional<ZodCustom<boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined, boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined>>;
15642
16107
  }, $strip>>;
15643
16108
  enterpriseLocations: ZodOptional<ZodObject<{
15644
16109
  enabled: ZodOptional<ZodBoolean>;
16110
+ fuzzy: ZodOptional<ZodNumber>;
16111
+ prefix: ZodOptional<ZodCustom<boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined, boolean | ((term: string, index: number, terms: string[]) => boolean) | undefined>>;
15645
16112
  }, $strip>>;
15646
16113
  }, $strip>;
15647
16114
  /**
@@ -15651,6 +16118,8 @@ declare const suggestOptionsSchema: ZodObject<{
15651
16118
  */
15652
16119
  type SearchOptions = output<typeof searchOptionsSchema>;
15653
16120
  /**
16121
+ * Options passed to `Search.suggest` to filter and tune the suggestion
16122
+ * (autocomplete) sources: places and enterprise locations.
15654
16123
  * @interface
15655
16124
  */
15656
16125
  type SuggestOptions = output<typeof suggestOptionsSchema>;
@@ -16409,7 +16878,7 @@ declare class MapData {
16409
16878
  * console.log(`Current language: ${language.name} (${language.code})`);
16410
16879
  * ```
16411
16880
  */
16412
- get currentLanguage(): _mappedin_mvf_v22.Language | undefined;
16881
+ get currentLanguage(): _mappedin_mvf_v20.Language | undefined;
16413
16882
  /**
16414
16883
  * Gets the natural bearing of the map.
16415
16884
  *
@@ -16658,6 +17127,7 @@ type Style$1 = {
16658
17127
  opacity: number;
16659
17128
  visible: boolean;
16660
17129
  height: number;
17130
+ heightScale: number;
16661
17131
  altitude: number;
16662
17132
  join: LineStyle$2['join'];
16663
17133
  cap: LineStyle$2['cap'];
@@ -16671,6 +17141,8 @@ type Style$1 = {
16671
17141
  renderOrder?: number;
16672
17142
  shading?: Shading$1;
16673
17143
  bevel?: BevelState;
17144
+ slope?: SlopeState;
17145
+ slopeEnabled: boolean;
16674
17146
  borderVisible: boolean;
16675
17147
  borderColor?: string;
16676
17148
  borderWidth?: number;
@@ -16700,6 +17172,13 @@ declare class StyleComponent implements Style$1 {
16700
17172
  opacity: number;
16701
17173
  width: number;
16702
17174
  height: number;
17175
+ /**
17176
+ * Relative multiplier (0..1) applied on top of `height` when the mesh system
17177
+ * computes the instance extrusion scale (`height * heightScale / initialHeight`).
17178
+ * `1` is the identity; a smaller value flattens the geometry without mutating
17179
+ * `height` or re-baking `initialHeight`.
17180
+ */
17181
+ heightScale: number;
16703
17182
  /**
16704
17183
  * The height the geometry's vertices were baked at; the divisor for instance
16705
17184
  * height scaling (`height / initialHeight`). Provisional until the deferred bake:
@@ -16717,6 +17196,8 @@ declare class StyleComponent implements Style$1 {
16717
17196
  renderOrder: number;
16718
17197
  shading?: Shading$1;
16719
17198
  bevel?: BevelState;
17199
+ slope?: SlopeState;
17200
+ slopeEnabled: boolean;
16720
17201
  borderVisible: boolean;
16721
17202
  borderColor: string;
16722
17203
  borderWidth: number;
@@ -17072,6 +17553,14 @@ type FeatureCollectionState = {
17072
17553
  * preserved for now.
17073
17554
  */
17074
17555
  height?: number;
17556
+ /**
17557
+ * Relative multiplier (0..1) cascaded to each child's `StyleComponent.heightScale`.
17558
+ * The mesh system applies it on top of the child's `height`
17559
+ * (`height * heightScale`), so it composes with an absolute `height` override
17560
+ * without mutating `height` or re-baking `initialHeight`. `1` is the identity;
17561
+ * `0.5` squashes to half extrusion.
17562
+ */
17563
+ heightScale?: number;
17075
17564
  /**
17076
17565
  * @deprecated Per-feature property; read-through to the first child is
17077
17566
  * preserved for now.
@@ -17554,6 +18043,8 @@ type GeometryState = {
17554
18043
  * Bevel configuration for extruded shapes.
17555
18044
  */
17556
18045
  bevel?: BevelState;
18046
+ slope?: SlopeState;
18047
+ slopeEnabled?: boolean;
17557
18048
  /**
17558
18049
  * TODO: it's annoying that we have to store these here just so that they can be applied from mappedin-js. Let's think about a better way to do this.
17559
18050
  */
@@ -17744,7 +18235,7 @@ type PathProperties = {
17744
18235
  * Updatable path state
17745
18236
  * @interface
17746
18237
  */
17747
- type PathUpdateState = Omit<Partial<PathState$1>, 'id' | 'type'>;
18238
+ type PathUpdateState = Omit<Partial<PathState$1>, 'id' | 'type' | 'dashDiscrete'>;
17748
18239
  /**
17749
18240
  * State representing a Path
17750
18241
  */
@@ -17901,7 +18392,7 @@ type PathState$1 = {
17901
18392
  * Geometry type for path rendering.
17902
18393
  * @default 'tube'
17903
18394
  */
17904
- __EXPERIMENTAL_GEOMETRY: 'tube' | 'ribbon';
18395
+ geometryType: 'tube' | 'ribbon';
17905
18396
  /**
17906
18397
  * @experimental
17907
18398
  * Endcap extension for ribbon geometry as [start, end] tuple in meters.
@@ -17909,27 +18400,20 @@ type PathState$1 = {
17909
18400
  * - Value = 0: square/flat end (no extension, no rounded cap)
17910
18401
  * @default [0.5, 0.5]
17911
18402
  */
17912
- __EXPERIMENTAL_ENDCAP_EXTENSION: [number, number];
18403
+ endcapExtension: [number, number];
17913
18404
  /**
17914
18405
  * @experimental
17915
18406
  * When true and using ribbon geometry, the path will always face the camera (billboard effect).
17916
18407
  * Most useful for vertical paths between floors.
17917
18408
  * @default false
17918
18409
  */
17919
- __EXPERIMENTAL_BILLBOARDING: boolean | number;
18410
+ billboarding: boolean | number;
17920
18411
  /**
17921
18412
  * @experimental
17922
18413
  * Border configuration for ribbon path geometry.
17923
18414
  * Renders darkened edges along both sides of the ribbon.
17924
18415
  */
17925
- __EXPERIMENTAL_BORDER?: BorderConfig;
17926
- /**
17927
- * @experimental
17928
- * When true, prevents the xray path from rendering multiple overlapping pixels
17929
- * when the path crosses over itself. Uses stencil buffer to ensure single-pixel rendering.
17930
- * @default false
17931
- */
17932
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP?: boolean;
18416
+ border?: BorderConfig;
17933
18417
  };
17934
18418
  type AddPathOptions = {
17935
18419
  /**
@@ -17975,12 +18459,6 @@ type AddPathOptions = {
17975
18459
  * Whether the path should be dashed.
17976
18460
  */
17977
18461
  dashed?: boolean;
17978
- /**
17979
- * Whether the path should be discrete-dash: each dash becomes its own
17980
- * rounded-rectangle primitive. Dash sizing defines the dash's length and gap.
17981
- * Only supported with ribbon geometry.
17982
- */
17983
- dashDiscrete?: boolean;
17984
18462
  /**
17985
18463
  * Corner rounding of each dash, from 0 (sharp rectangle) to 1 (fully rounded).
17986
18464
  * Expressed as a fraction of the dash's short half-side, like a CSS
@@ -18089,7 +18567,7 @@ type AddPathOptions = {
18089
18567
  * Geometry type for path rendering.
18090
18568
  * @default 'tube'
18091
18569
  */
18092
- __EXPERIMENTAL_GEOMETRY?: 'tube' | 'ribbon';
18570
+ geometryType?: 'tube' | 'ribbon';
18093
18571
  /**
18094
18572
  * @experimental
18095
18573
  * Endcap extension for ribbon geometry as [start, end] tuple in meters.
@@ -18097,27 +18575,20 @@ type AddPathOptions = {
18097
18575
  * - Value = 0: square/flat end (no extension, no rounded cap)
18098
18576
  * @default [0.5, 0.5]
18099
18577
  */
18100
- __EXPERIMENTAL_ENDCAP_EXTENSION?: [number, number];
18578
+ endcapExtension?: [number, number];
18101
18579
  /**
18102
18580
  * @experimental
18103
18581
  * When true and using ribbon geometry, the path will always face the camera (billboard effect).
18104
18582
  * Most useful for vertical paths between floors.
18105
18583
  * @default false
18106
18584
  */
18107
- __EXPERIMENTAL_BILLBOARDING?: boolean | number;
18585
+ billboarding?: boolean | number;
18108
18586
  /**
18109
18587
  * @experimental
18110
18588
  * Border configuration for ribbon path geometry.
18111
18589
  * Renders darkened edges along both sides of the ribbon.
18112
18590
  */
18113
- __EXPERIMENTAL_BORDER?: BorderConfig;
18114
- /**
18115
- * @experimental
18116
- * When true, prevents the xray path from rendering multiple overlapping pixels
18117
- * when the path crosses over itself. Uses stencil buffer to ensure single-pixel rendering.
18118
- * @default false
18119
- */
18120
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP?: boolean;
18591
+ border?: BorderConfig;
18121
18592
  };
18122
18593
  declare class PathComponent {
18123
18594
  readonly type = "path";
@@ -18172,11 +18643,10 @@ declare class PathComponent {
18172
18643
  dashAbsolute: boolean;
18173
18644
  dashMeters: number;
18174
18645
  gapMeters: number;
18175
- __EXPERIMENTAL_GEOMETRY: 'tube' | 'ribbon';
18176
- __EXPERIMENTAL_ENDCAP_EXTENSION: [number, number];
18177
- __EXPERIMENTAL_BILLBOARDING: boolean | number;
18178
- __EXPERIMENTAL_BORDER?: BorderConfig;
18179
- __EXPERIMENTAL_PREVENT_SELF_OVERLAP: boolean;
18646
+ geometryType: 'tube' | 'ribbon';
18647
+ endcapExtension: [number, number];
18648
+ billboarding: boolean | number;
18649
+ border?: BorderConfig;
18180
18650
  /**
18181
18651
  * If the path is vertical it will be rebuilt whenever altitudeDirty = true. This will be set during the first render of the path.
18182
18652
  */
@@ -18190,7 +18660,7 @@ declare class PathComponent {
18190
18660
  * extruded tube — the mode that supports screen-space pixel width, billboarding,
18191
18661
  * and discrete dashes. A discrete-dash path is always flat: a dash is a
18192
18662
  * screen-facing quad with no tube analogue, so `dashDiscrete` implies ribbon
18193
- * regardless of `__EXPERIMENTAL_GEOMETRY`. The single source of truth for flat
18663
+ * regardless of `geometryType`. The single source of truth for flat
18194
18664
  * vs tube; prefer this over re-deriving `=== 'ribbon'` from the geometry option.
18195
18665
  * Read by `buildPath` as `component.isFlat` — a plain-object mock cast as
18196
18666
  * `PathComponent` must define this getter, or it reads `undefined` (tube).
@@ -18366,8 +18836,26 @@ type Outline = {
18366
18836
  geometry?: BufferGeometry;
18367
18837
  currentOpacity: number;
18368
18838
  currentColor: [number, number, number];
18839
+ /**
18840
+ * Local indices (0..`ranges.count`-1) of this outline's top-face vertices, alongside a compact
18841
+ * `baselineVertices` holding just those top-face vertices (in this same order). Populated for
18842
+ * sloped non-beveled outlines; undefined for non-sloped or beveled outlines.
18843
+ */
18369
18844
  topFaceVerticesIndices?: number[];
18845
+ /**
18846
+ * Pre-slope vertex coordinates of this outline's merged range, captured at build time (slope
18847
+ * taper baseline). Captured only for sloped outlines: for non-beveled outlines this holds only
18848
+ * the top-face vertices (matching `topFaceVerticesIndices`); for beveled outlines it holds the
18849
+ * full range. `undefined` for non-sloped outlines.
18850
+ */
18851
+ baselineVertices?: Float32Array;
18852
+ /**
18853
+ * Set when a slope is enabled/disabled so the owning collection's merged outline is rebuilt
18854
+ * (capturing the baseline only when a slope is actually applied).
18855
+ */
18856
+ needsRebuild: boolean;
18370
18857
  visible: boolean;
18858
+ resetVisibility(): void;
18371
18859
  };
18372
18860
  declare class OutlineComponent implements Outline {
18373
18861
  #private;
@@ -18383,7 +18871,24 @@ declare class OutlineComponent implements Outline {
18383
18871
  start: number;
18384
18872
  count: number;
18385
18873
  };
18874
+ /**
18875
+ * Local indices (0..`ranges.count`-1) of this outline's top-face vertices, alongside a compact
18876
+ * `baselineVertices` holding just those top-face vertices (in this same order). Populated for
18877
+ * sloped non-beveled outlines; undefined for non-sloped or beveled outlines.
18878
+ */
18386
18879
  topFaceVerticesIndices?: number[];
18880
+ /**
18881
+ * Pre-slope vertex coordinates of this outline's merged range, captured at build time (slope
18882
+ * taper baseline). Captured only for sloped outlines: for non-beveled outlines this holds only
18883
+ * the top-face vertices (matching `topFaceVerticesIndices`); for beveled outlines it holds the
18884
+ * full range. `undefined` for non-sloped outlines.
18885
+ */
18886
+ baselineVertices?: Float32Array;
18887
+ /**
18888
+ * Set when a slope is enabled/disabled so the owning collection's merged outline is rebuilt
18889
+ * (capturing the baseline only when a slope is actually applied).
18890
+ */
18891
+ needsRebuild: boolean;
18387
18892
  get currentOpacity(): number;
18388
18893
  /**
18389
18894
  * Sets the visibility of the outline.
@@ -18393,6 +18898,11 @@ declare class OutlineComponent implements Outline {
18393
18898
  * Gets the visibility of the outline.
18394
18899
  */
18395
18900
  get visible(): boolean;
18901
+ /**
18902
+ * Clears the cached visibility so the next `visible` write re-applies the buffer.
18903
+ * Called when the merged outline geometry is rebuilt (fresh `edgeVisibility` buffer).
18904
+ */
18905
+ resetVisibility(): void;
18396
18906
  get currentColor(): [number, number, number];
18397
18907
  constructor(color: string);
18398
18908
  }
@@ -18506,6 +19016,27 @@ declare class ClippingPlaneComponent implements ClippingPlane {
18506
19016
  };
18507
19017
  }
18508
19018
  //#endregion
19019
+ //#region ../renderer-three/src/systems/mesh-modification/slope.d.ts
19020
+ type SlopeTransform = {
19021
+ shearX: number;
19022
+ shearY: number;
19023
+ zOffset: number;
19024
+ };
19025
+ //#endregion
19026
+ //#region ../renderer-three/src/components/slope.d.ts
19027
+ /**
19028
+ * Opt-in slope state for a geometry. Only instantiated when the geometry's
19029
+ * `slopeEnabled` state is true, so the per-vertex baseline-vertex buffer and the
19030
+ * derived taper are never allocated for entities that don't slope.
19031
+ */
19032
+ declare class SlopeComponent {
19033
+ readonly type: "slope";
19034
+ /** Pre-slope vertex coordinates of the geometry's position attribute (the baseline used to apply/clear slope idempotently). */
19035
+ baselineVertices?: Float32Array;
19036
+ /** The currently applied slope taper (SlopeTransform). */
19037
+ currentSlope?: SlopeTransform;
19038
+ }
19039
+ //#endregion
18509
19040
  //#region ../renderer-three/src/entities/geometry3d.d.ts
18510
19041
  type Geometry3DObjectTypes = 'geometry' | 'path' | 'model' | 'custom-geometry' | 'image' | 'text3d';
18511
19042
  declare class Geometry3DObject3D extends Object3D {
@@ -18555,10 +19086,11 @@ type ComponentTypeMap$1 = {
18555
19086
  texture: TextureComponent;
18556
19087
  border: BorderComponent;
18557
19088
  clippingPlane: ClippingPlaneComponent;
19089
+ slope: SlopeComponent;
18558
19090
  };
18559
- declare class Geometry3D<M$1 extends MeshComponentTypes = MeshComponent, S extends StyleComponent | Text3DStyleComponent | ModelStyleComponnet = StyleComponent, I extends InteractionComponent = InteractionComponent, T$1 extends MappedComponentType<M$1> = MappedComponentType<M$1>, O extends OutlineComponent | undefined = OutlineComponent | undefined, F$1 extends FocusableComponent | undefined = FocusableComponent | undefined, TX extends TextureComponent | undefined = TextureComponent | undefined, B extends BorderComponent | undefined = BorderComponent | undefined, C extends ClippingPlaneComponent | undefined = ClippingPlaneComponent | undefined> {
19091
+ declare class Geometry3D<M$1 extends MeshComponentTypes = MeshComponent, S extends StyleComponent | Text3DStyleComponent | ModelStyleComponnet = StyleComponent, I extends InteractionComponent = InteractionComponent, T$1 extends MappedComponentType<M$1> = MappedComponentType<M$1>, O extends OutlineComponent | undefined = OutlineComponent | undefined, F$1 extends FocusableComponent | undefined = FocusableComponent | undefined, TX extends TextureComponent | undefined = TextureComponent | undefined, B extends BorderComponent | undefined = BorderComponent | undefined, C extends ClippingPlaneComponent | undefined = ClippingPlaneComponent | undefined, Sl extends SlopeComponent | undefined = SlopeComponent | undefined> {
18560
19092
  id: string | number;
18561
- components: [M$1, S, I?, O?, F$1?, B?, TX?, C?];
19093
+ components: [M$1, S, I?, O?, F$1?, B?, TX?, C?, Sl?];
18562
19094
  getComponent<K$1 extends keyof ComponentTypeMap$1>(type: K$1): ComponentTypeMap$1[K$1] | undefined;
18563
19095
  /**
18564
19096
  * Parent geometry group ID
@@ -19055,7 +19587,7 @@ declare class BatchedMeshSystem extends PubSub<{
19055
19587
  constructor(state: RendererState, convertTo3DMapPosition: any);
19056
19588
  createEntityFromFeature(id: string | number, featureOrFeatures: Feature<Polygon | LineString | MultiPolygon, MeshComponentProperties> | Feature<Polygon | LineString | MultiPolygon, MeshComponentProperties>[], style?: (LineStyle$2 | PaintStyle$2) & {
19057
19589
  focusable?: boolean;
19058
- }): Geometry3D<MeshComponent, StyleComponent, InteractionComponent, "geometry", OutlineComponent | undefined, FocusableComponent | undefined, TextureComponent | undefined, BorderComponent | undefined, ClippingPlaneComponent | undefined>;
19590
+ }): Geometry3D<MeshComponent, StyleComponent, InteractionComponent, "geometry", OutlineComponent | undefined, FocusableComponent | undefined, TextureComponent | undefined, BorderComponent | undefined, ClippingPlaneComponent | undefined, SlopeComponent | undefined>;
19059
19591
  populateEntityMesh(entity: Geometry3D, geometry: BufferGeometry, isMerged?: boolean): void;
19060
19592
  populateEntityGroup(entities: Set<string | number>): Set<string | number>;
19061
19593
  update(): Promise<void>;
@@ -19118,6 +19650,7 @@ type AnimateCameraTarget = {
19118
19650
  };
19119
19651
  type CameraControlsOptions = {
19120
19652
  mode: Core['mode'];
19653
+ __EXPERIMENTAL_CameraControlsMode?: 'native' | 'external';
19121
19654
  canvasHeight: number;
19122
19655
  canvasWidth: number;
19123
19656
  };
@@ -20489,6 +21022,12 @@ declare class MeshModificationSystem {
20489
21022
  constructor(rendererState: RendererState);
20490
21023
  updateOne(entity?: EntityTypes): void;
20491
21024
  update(): void;
21025
+ /**
21026
+ * Applies the style's `slope` to the mesh being processed. A non-zero slope is applied;
21027
+ * a missing/zero slope clears any previously applied taper. Returns true when the mesh
21028
+ * geometry was modified.
21029
+ */
21030
+ applySlope(): boolean;
20492
21031
  cleanup(): void;
20493
21032
  }
20494
21033
  //#endregion
@@ -21583,6 +22122,11 @@ declare class Core extends PubSub<MapEvent> {
21583
22122
  * Returns the mode the Renderer is in.
21584
22123
  */
21585
22124
  get mode(): "standalone" | "outdoors-interleaved" | "outdoors-overlay" | undefined;
22125
+ /**
22126
+ * Returns which component owns the camera's gestures: the SDK's
22127
+ * `CameraSystem` (`'native'`) or MapLibre's native handlers (`'external'`).
22128
+ */
22129
+ get cameraMode(): "native" | "external";
21586
22130
  /**
21587
22131
  * @internal
21588
22132
  */
@@ -22109,6 +22653,19 @@ type RendererCoreOptions$2 = Partial<{
22109
22653
  * page reload.
22110
22654
  */
22111
22655
  refreshToken?: () => Promise<string | undefined>;
22656
+ /**
22657
+ * Controls which component owns the camera's pan, zoom, rotate, and pinch
22658
+ * gestures. `'native'` (default) keeps the SDK's `CameraSystem` in charge;
22659
+ * `'external'` delegates them to MapLibre's native gesture handlers
22660
+ * (`dragPan`, `scrollZoom`, `dragRotate`, `touchZoomRotate`, `keyboard`).
22661
+ * `'external'` only functions when the outdoor context (MapLibre) loads
22662
+ * successfully (i.e. an outdoor/interleaved mode). If it doesn't, the SDK
22663
+ * has handed camera input to a MapLibre map that isn't present, so the
22664
+ * camera is not interactive. Only set `'external'` when outdoor mode is
22665
+ * guaranteed.
22666
+ * @default 'native'
22667
+ */
22668
+ __EXPERIMENTAL_CameraControlsMode?: 'native' | 'external';
22112
22669
  };
22113
22670
  gl?: WebGLRenderingContext;
22114
22671
  map?: Map$1;
@@ -22650,6 +23207,12 @@ interface LabelCacheEntry {
22650
23207
  textMemoryBytes: number;
22651
23208
  /** Total attributable bytes for this label (currently equal to textMemoryBytes). */
22652
23209
  totalMemoryBytes: number;
23210
+ /** The label's single baked text canvas (all lines left-aligned), or null if not cached. */
23211
+ textCanvas: OffscreenCanvas | HTMLCanvasElement | null;
23212
+ /** The label's pin graphic canvases, as [active, inactive], or null. */
23213
+ pinCanvases: [HTMLCanvasElement | OffscreenCanvas, HTMLCanvasElement | OffscreenCanvas] | null;
23214
+ /** The label's icon image source, or null. */
23215
+ imageSource: HTMLImageElement | ImageBitmap | null;
22653
23216
  }
22654
23217
  /**
22655
23218
  * Aggregate label cache statistics plus per-label membership flags.
@@ -22972,9 +23535,10 @@ type FootprintConfig = {
22972
23535
  * @param floorIdsInNavigation - Array of floor IDs that are part of the current navigation
22973
23536
  * @param floorsVisualHeightMap - Map of floor elevations to their visual height data (altitude map from FloorStackObject)
22974
23537
  * @param footprintConfig - Configuration for footprint color and voids behavior
23538
+ * @param showAllFloorsIncludedInNavigation - When true, render navigation floors regardless of whether they sit above or below the current floor (fixes descending-route path gaps)
22975
23539
  * @returns The visibility state for all floors
22976
23540
  */
22977
- declare function getMultiFloorState(floors: Floor[], currentFloor: Floor, floorIdsInNavigation: Floor['id'][], floorsVisualHeightMap: Map<number, TFloorAltitudeData>, footprintConfig: FootprintConfig): VisibilityState;
23541
+ declare function getMultiFloorState(floors: Floor[], currentFloor: Floor, floorIdsInNavigation: Floor['id'][], floorsVisualHeightMap: Map<number, TFloorAltitudeData>, footprintConfig: FootprintConfig, showAllFloorsIncludedInNavigation?: boolean): VisibilityState;
22978
23542
  //#endregion
22979
23543
  //#region src/index.d.ts
22980
23544
  /**
@@ -23042,6 +23606,22 @@ type TShow3DMapOptions = {
23042
23606
  * @default false
23043
23607
  */
23044
23608
  lowDpi?: boolean;
23609
+ /**
23610
+ * Controls which component owns the camera's pan, zoom, rotate, and pinch gestures.
23611
+ *
23612
+ * - `'native'` (default): the SDK's camera system handles all gestures.
23613
+ * - `'external'`: MapLibre's native gesture handlers (`dragPan`, `scrollZoom`,
23614
+ * `dragRotate`, `touchZoomRotate`, and `keyboard`) handle gestures instead.
23615
+ *
23616
+ * `'external'` only functions when `outdoorView.enabled` is `true` AND the
23617
+ * outdoor context (MapLibre) loads successfully. If outdoor is disabled or
23618
+ * fails to load, the SDK has handed camera input to a MapLibre map that is
23619
+ * not present, so the camera will not respond to user input. Only set
23620
+ * `'external'` when outdoor mode is guaranteed.
23621
+ *
23622
+ * @default 'native'
23623
+ */
23624
+ __EXPERIMENTAL_CameraControlsMode?: 'native' | 'external';
23045
23625
  };
23046
23626
  /**
23047
23627
  * The initial bearing of the map, in degrees.
@@ -23441,4 +24021,4 @@ declare const getVersion: () => string | undefined;
23441
24021
  */
23442
24022
  declare const show3dMapGeojson: (el: HTMLElement, mapData: MapData, options?: TShow3DMapOptions) => Promise<MapView>;
23443
24023
  //#endregion
23444
- export { ACTION_TYPE, ANIMATION_TWEENS, type AddText3DOptions, type AddText3DPointOptions, type Analytics, Annotation, Area, type AutoElements, BBox, BEARING_TYPE, CONNECTION_TYPE, type Camera, type CameraBounds, type CameraTransform, type CaptureEventsPayloadMap, type ColorString, Connection, Coordinate, DOORS, type Debug, type DebugState, DetailedMapData, Directions, Door, E_SDK_LOG_LEVEL, type EasingCurve, EnterpriseCategory, EnterpriseLocation, EnterpriseVenue, type EnvMapOptions, type Environment, type Exporter, Facade, Feature, FeatureCollection, Floor, FloorStack, type FootprintConfig, GeoJSON$1 as GeoJSON, GeoJsonGeometryTypes, GeoJsonObject, GeoJsonProperties, GeoJsonTypes, Geometry, GeometryCollection, GeometryObject, type GlobalState, Hyperlink, type IAnchorable, type IFocusable, type IGeoJSONData, type INavigatable, type ISystemPlugin, type Image3D, type Image3DView, ImageMetaData, type InitializeModelState, type InitializeText3DState, type InsetPadding, type InsetPaddingOption, type InterpolateOn, type Interpolation, type Label, type LabelAppearance, type LabelTextPlacement, type Labels, LineString, type LineStyle, LocationCategory, LocationProfile, type LocationSocial, type LocationState, MAPPEDIN_COLORS, type MapData, type MapDataElements, type MapElementToGetRenderedState, type MapElementToGetState, type MapElementToUpdateState, type MapElementsWithState, type MapFeatureOfType, MapObject, MapView, type MapViewElements, type MapViewState, type MappedinError, type MappedinRenderError, type Marker, type Markers, type MatchInfo, type Model, type Models, type MultiFloorViewEffectState, MultiLineString, MultiPoint, MultiPolygon, type Navigation, type NavigationState, Node, type OpeningHours, type OperationHours, type Outdoor, type OutlinesOptions, type PaintStyle, type Path, type PathSegment$1 as PathSegment, type PathWidth, type Paths, type PixelWidth, type Places, Point, PointOfInterest, Polygon, type Position, type PubSub, type Query, type RendererCoreOptions, type Search, type SearchOptions, type SearchResult, type SearchResultEnterpriseCategory, type SearchResultEnterpriseLocations, type SearchResultItem, type SearchResultPlaces, type SetFloorHandler, type Shading, type Shape, type Shapes, type SiblingGroup, Space, type Style, type Suggestion, type TActionType, type TAddImageOptions, type TAddLabelOptions, type TAddMarkerOptions, type TAddModel, type TAddModelOptions, type TAddPathOptions, type TAddText3DAnchorableOptions, type TAddText3DOptions, type TAnalyticsUpdateState, type TAnimateStateResult, type TAnimationOptions, type TAntialiasingOptions, type TBearingType, type TCameraAnimationOptions, type TCameraInteractionsSetOptions, type TCameraTarget, type TCancellablePromise, type TClickPayload, type TCollisionRankingTier, type TConnectionPathOptions, type TConnectionType, type TCoordinateParams, type TCreateMarker, type TDirectionInstruction, type TDirectionInstructionAction, type TDirectionZone, type TDoorsState, type TDoorsUpdateState, type TEasingFunction, type TEventPayload, type TEvents, type TExperimentalDashOptions, type TExperimentalDashStyleOptions, type TFacadeState, type TFacadeUpdateState, type TFindNearestOptions, type TFindNearestResult, type TFindPreferredLanguageInVenueOptions, type TFloorAltitudeData, type TFloorChangePayload, type TFloorChangeReason, type TFloorState, type TFloorUpdateState, type TFocusOnOptions, type TFocusTarget, type TGeometryState, type TGeometryUpdateState, type TGetDirectionsOptions, type TGetMapDataOptions, type TGetMapDataSharedOptions, type TGetMapDataWithAccessTokenOptions, type TGetMapDataWithCredentialsOptions, type TGetState, type THoverPayload, type THydrateMapDataBundle, type TImage3DState as TImageState, type TImage3DUpdateState as TImageUpdateState, type TLabelState, type TLabelUpdateState, type TLogLevelName, type TLongPressPayload, type TMVF, type TMVFLineStringStyle, type TMVFPointStyle, type TMVFPolygonStyle, type TMVFStyle, type TMVFStyleCollection, type TMapDataEvents, type TMapDataObjectTypes, type TMapFeatureTypes, type TMapViewObjectTypes, type TMarkerPlacement, type TMarkerState, type TMarkerUpdateState, type TModelState, type TModelUpdateState, type TMultiFloorViewOptions, type TNavigationMarker, type TNavigationMarkerType, type TNavigationOptions, type TNavigationPathOptions, type TNavigationTarget, type TOutsideThresholdPathStyle, type TPathSectionHighlightOptions, type TPathState, type TPathUpdateState, type TQueriables, type TQueryAtResult, type RendererState as TRendererState, type TSearchOptions, type TSetFloorOptions, type TShapeState, type TShapeUpdateState, type TShow3DMapOptions, type TSpaceType, type TStateChangedInternalPayload, type TTakeScreenshotOptions, type TTetheredOptions as TTetherOptions, type TText3DState, type TText3DUpdateState, type TTrackCoordinateOptions, type TTravelledOptions, type TUpdateState, type TWallsState, type TWallsUpdateState, TWatermarkOptions, type Text3D, type Text3DView, type UpdateGlobalState, type VisibilityState, WALLS, type WithState, MAPPEDIN_LAYER_ID as __INTERNAL__MAPPEDIN_LAYER_ID, MapLibreOverlay as __INTERNAL__MapLibreOverlay, Core as __INTERNAL__RendererCore, convertToRendererCoreOptions as __INTERNAL__convertToRendererCoreOptions, __setWatermarkOnClickFn, checkWorkerUrls, disableText3DWorker, enableTestMode, findPreferredLanguageInVenue, forceEnterpriseLocations, getMapData, getMapDataEnterprise, getMultiFloorState, getVersion, hydrateMapData, hydrateMapDataFromMVF, parseLogLevel, parseMVFv2 as parseMVF, preloadFont, setLoggerLevel, setUseEnterpriseAPI, setWorkersUrl, shouldForceEnterpriseLocations, show3dMap, show3dMapGeojson, unzipAndParseMVFv2, unzipMVFv2 as unzipMVF };
24024
+ export { ACTION_TYPE, ANIMATION_TWEENS, type AddText3DOptions, type AddText3DPointOptions, type Analytics, Annotation, Area, type AutoElements, BBox, BEARING_TYPE, CONNECTION_TYPE, type Camera, type CameraBounds, type CameraTransform, type CaptureEventsPayloadMap, type ColorString, Connection, Coordinate, DOORS, type Debug, type DebugState, DetailedMapData, Directions, Door, E_SDK_LOG_LEVEL, type EasingCurve, EnterpriseCategory, EnterpriseLocation, EnterpriseVenue, type EnvMapOptions, type Environment, type Exporter, Facade, Feature, FeatureCollection, Floor, FloorStack, type FootprintConfig, type Fuzzy, GeoJSON$1 as GeoJSON, GeoJsonGeometryTypes, GeoJsonObject, GeoJsonProperties, GeoJsonTypes, Geometry, GeometryCollection, GeometryObject, type GlobalState, Hyperlink, type IAnchorable, type IFocusable, type IGeoJSONData, type INavigatable, type ISystemPlugin, type Image3D, type Image3DView, ImageMetaData, type InitializeModelState, type InitializeText3DState, type InsetPadding, type InsetPaddingOption, type InterpolateOn, type Interpolation, type Label, type LabelAppearance, type LabelTextPlacement, type Labels, LineString, type LineStyle, LocationCategory, LocationProfile, type LocationSocial, type LocationState, MAPPEDIN_COLORS, type MapData, type MapDataElements, type MapElementToGetRenderedState, type MapElementToGetState, type MapElementToUpdateState, type MapElementsWithState, type MapFeatureOfType, MapObject, MapView, type MapViewElements, type MapViewState, type MappedinError, type MappedinRenderError, type Marker, type Markers, type MatchInfo, type Model, type Models, type MultiFloorViewEffectState, MultiLineString, MultiPoint, MultiPolygon, type Navigation, type NavigationState, Node, type OpeningHours, type OperationHours, type Outdoor, type OutlinesOptions, type PaintStyle, type Path, type PathSegment$1 as PathSegment, type PathWidth, type Paths, type PixelWidth, type Places, Point, PointOfInterest, Polygon, type Position, type Prefix$1 as Prefix, type PubSub, type Query, type RendererCoreOptions, type Search, type SearchOptions, type SearchResult, type SearchResultEnterpriseCategory, type SearchResultEnterpriseLocations, type SearchResultItem, type SearchResultPlaces, type SetFloorHandler, type Shading, type Shape, type Shapes, type SiblingGroup, Space, type Style, type SuggestOptions, type Suggestion, type TActionType, type TAddImageOptions, type TAddLabelOptions, type TAddMarkerOptions, type TAddModel, type TAddModelOptions, type TAddPathOptions, type TAddText3DAnchorableOptions, type TAddText3DOptions, type TAnalyticsUpdateState, type TAnimateStateResult, type TAnimationOptions, type TAntialiasingOptions, type TBearingType, type TCameraAnimationOptions, type TCameraInteractionsSetOptions, type TCameraTarget, type TCancellablePromise, type TClickPayload, type TCollisionRankingTier, type TConnectionPathOptions, type TConnectionType, type TCoordinateParams, type TCreateMarker, type TDashOptions, type TDirectionInstruction, type TDirectionInstructionAction, type TDirectionZone, type TDoorsState, type TDoorsUpdateState, type TEasingFunction, type TEventPayload, type TEvents, type TExperimentalDashOptions, type TFacadeState, type TFacadeUpdateState, type TFindNearestOptions, type TFindNearestResult, type TFindPreferredLanguageInVenueOptions, type TFloorAltitudeData, type TFloorChangePayload, type TFloorChangeReason, type TFloorState, type TFloorUpdateState, type TFocusOnOptions, type TFocusTarget, type TGeometryState, type TGeometryUpdateState, type TGetDirectionsOptions, type TGetMapDataOptions, type TGetMapDataSharedOptions, type TGetMapDataWithAccessTokenOptions, type TGetMapDataWithCredentialsOptions, type TGetState, type THoverPayload, type THydrateMapDataBundle, type TImage3DState as TImageState, type TImage3DUpdateState as TImageUpdateState, type TLabelState, type TLabelUpdateState, type TLogLevelName, type TLongPressPayload, type TMVF, type TMVFLineStringStyle, type TMVFPointStyle, type TMVFPolygonStyle, type TMVFStyle, type TMVFStyleCollection, type TMapDataEvents, type TMapDataObjectTypes, type TMapFeatureTypes, type TMapViewObjectTypes, type TMarkerPlacement, type TMarkerState, type TMarkerUpdateState, type TModelState, type TModelUpdateState, type TMultiFloorViewOptions, type TNavigationMarker, type TNavigationMarkerType, type TNavigationOptions, type TNavigationPathOptions, type TNavigationTarget, type TOutsideThresholdPathStyle, type TPathSectionHighlightOptions, type TPathState, type TPathUpdateState, type TQueriables, type TQueryAtResult, type RendererState as TRendererState, type TSearchOptions, type TSetFloorOptions, type TShapeState, type TShapeUpdateState, type TShow3DMapOptions, type TSpaceType, type TStateChangedInternalPayload, type TTakeScreenshotOptions, type TTetheredOptions as TTetherOptions, type TText3DState, type TText3DUpdateState, type TTrackCoordinateOptions, type TTravelledOptions, type TUpdateState, type TWallsState, type TWallsUpdateState, TWatermarkOptions, type Text3D, type Text3DView, type UpdateGlobalState, type VisibilityState, WALLS, type WithState, MAPPEDIN_LAYER_ID as __INTERNAL__MAPPEDIN_LAYER_ID, MapLibreOverlay as __INTERNAL__MapLibreOverlay, Core as __INTERNAL__RendererCore, convertToRendererCoreOptions as __INTERNAL__convertToRendererCoreOptions, __setWatermarkOnClickFn, checkWorkerUrls, disableText3DWorker, enableTestMode, findPreferredLanguageInVenue, forceEnterpriseLocations, getMapData, getMapDataEnterprise, getMultiFloorState, getVersion, hydrateMapData, hydrateMapDataFromMVF, parseLogLevel, parseMVFv2 as parseMVF, preloadFont, setLoggerLevel, setUseEnterpriseAPI, setWorkersUrl, shouldForceEnterpriseLocations, show3dMap, show3dMapGeojson, unzipAndParseMVFv2, unzipMVFv2 as unzipMVF };