@mappedin/react-native-sdk 5.17.0 → 5.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -126,7 +126,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
126
126
  /**
127
127
  * @category Component
128
128
  */
129
- export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "options" | "style" | "onFirstMapLoaded" | "venueData" | "onPolygonClicked" | "onBlueDotStateChanged" | "onBlueDotPositionUpdated" | "onCameraChanged" | "onDataLoaded" | "onNothingClicked" | "onClick" | "onMapChanged" | "onStateChanged" | "onVenueLoadError"> & React.RefAttributes<MapViewStore>>>;
129
+ export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "options" | "style" | "onClick" | "onFirstMapLoaded" | "venueData" | "onPolygonClicked" | "onBlueDotStateChanged" | "onBlueDotPositionUpdated" | "onCameraChanged" | "onDataLoaded" | "onNothingClicked" | "onMapChanged" | "onStateChanged" | "onVenueLoadError"> & React.RefAttributes<MapViewStore>>>;
130
130
  }
131
131
 
132
132
  declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap' {
@@ -301,7 +301,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
301
301
  /**
302
302
  * Gets the nearest node by screen coordinate
303
303
  */
304
- getNearestNodeByScreenCoordinates(x: number, y: number, mapIdOrMap?: MappedinMap['id'] | MappedinMap): Promise<MappedinNode | null | undefined>;
304
+ getNearestNodeByScreenCoordinates(x: number, y: number, mapIdOrMap?: MappedinMap['id'] | MappedinMap): Promise<MappedinNode>;
305
305
  /**
306
306
  * Label all polygons with locations either loaded via the API or passed in
307
307
  * @deprecated Please use FloatingLabels.labelAllLocations or FlatLabels.labelAllLocations instead.
@@ -369,7 +369,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
369
369
  /**
370
370
  * Enable BlueDot
371
371
  */
372
- enable: (options?: TEnableBlueDotOptions | undefined) => Promise<undefined>;
372
+ enable: (options?: TEnableBlueDotOptions) => Promise<undefined>;
373
373
  /**
374
374
  * Disable BlueDot
375
375
  */
@@ -392,7 +392,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
392
392
  * Add or remove paths from the map
393
393
  */
394
394
  Paths: {
395
- add: (nodes: MappedinNode[], options?: TPathOptions | undefined) => Promise<unknown>;
395
+ add: (nodes: MappedinNode[], options?: TPathOptions) => Promise<unknown>;
396
396
  remove: (path: {
397
397
  id: string;
398
398
  }) => Promise<void>;
@@ -626,7 +626,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
626
626
  import type { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
627
627
  import { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
628
628
  import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
629
+ import { TOutdoorViewControllerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/OutdoorViewController';
629
630
  export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
631
+ export type Without<T, U> = {
632
+ [P in Exclude<keyof T, keyof U>]?: never;
633
+ };
634
+ export type XOR<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
630
635
  /**
631
636
  An extension of the GeolocationPosition type.
632
637
  https://developer.mozilla.org/en-US/docs/Web/API/GeolocationPosition
@@ -805,11 +810,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
805
810
  marker: {
806
811
  foregroundColor: {
807
812
  active: string;
808
- inactive: undefined;
813
+ inactive: any;
809
814
  };
810
815
  backgroundColor: {
811
816
  active: string;
812
- inactive: undefined;
817
+ inactive: any;
813
818
  };
814
819
  size: number;
815
820
  };
@@ -827,11 +832,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
827
832
  marker: {
828
833
  foregroundColor: {
829
834
  active: string;
830
- inactive: undefined;
835
+ inactive: any;
831
836
  };
832
837
  backgroundColor: {
833
838
  active: string;
834
- inactive: undefined;
839
+ inactive: any;
835
840
  };
836
841
  size: number;
837
842
  };
@@ -1001,6 +1006,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
1001
1006
  */
1002
1007
  outdoorGeometryLayers?: string[];
1003
1008
  };
1009
+ /**
1010
+ * Settings for experimental vector tile -based outdoor context
1011
+ * Requires `multiBufferRendering` to be enabled.
1012
+ * @experimental
1013
+ */
1014
+ outdoorView?: TOutdoorViewControllerOptions & {
1015
+ enabled?: boolean;
1016
+ };
1004
1017
  /**
1005
1018
  * First map to be rendered
1006
1019
  */
@@ -1308,6 +1321,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
1308
1321
  [E_SDK_EVENT.STATE_CHANGE]: STATE;
1309
1322
  [E_SDK_EVENT.POLYGON_CLICKED]: MappedinPolygon;
1310
1323
  [E_SDK_EVENT.NOTHING_CLICKED]: undefined;
1324
+ [E_SDK_EVENT.OUTDOOR_VIEW_LOADED]: undefined;
1311
1325
  [E_SDK_EVENT.MAP_CHANGED]: MappedinMap;
1312
1326
  };
1313
1327
  /**
@@ -1435,6 +1449,20 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
1435
1449
  */
1436
1450
  mapRenderStrategy?: MAP_RENDER_MODE;
1437
1451
  };
1452
+ /**
1453
+ * @experimental
1454
+ * Enable outdoor context. Requires multi-buffer rendering to be enabled
1455
+ */
1456
+ outdoorContext?: {
1457
+ enabled?: boolean;
1458
+ url?: string;
1459
+ authURL?: string;
1460
+ };
1461
+ /**
1462
+ * @experimental
1463
+ * Enable multi-buffer rendering
1464
+ */
1465
+ multiBufferRendering?: boolean;
1438
1466
  };
1439
1467
  export { MAP_RENDER_MODE };
1440
1468
  /**
@@ -1646,7 +1674,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums'
1646
1674
  /**
1647
1675
  * Emitted when the map is changed
1648
1676
  */
1649
- MAP_CHANGED = "MAP_CHANGED"
1677
+ MAP_CHANGED = "MAP_CHANGED",
1678
+ /**
1679
+ * Emitted when the outdoor view is ready. All currently requested tiles have loaded, and all fade and transition
1680
+ * animations have completed. {@link showVenue} is resolved when the indoor map is ready even if the outdoor tiles are not yet loaded.
1681
+ * Use this event to create a loading screen that ensures outdoor view is fully loaded and rendered.
1682
+ * @experimental
1683
+ */
1684
+ OUTDOOR_VIEW_LOADED = "OUTDOOR_VIEW_LOADED"
1650
1685
  }
1651
1686
  /**
1652
1687
  * @enum
@@ -1844,7 +1879,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Fla
1844
1879
  }
1845
1880
 
1846
1881
  declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/FloatingLabels' {
1847
- import { MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
1882
+ import { MappedinCoordinate, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
1848
1883
  import { TAddFloatingLabelOptions, TFloatingLabelAllLocationsOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
1849
1884
  import FloatingLabelsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FloatingLabelsController';
1850
1885
  /**
@@ -1879,11 +1914,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1879
1914
  * mapView.FloatingLabels.add(location.nodes[0], "Apple Store");
1880
1915
  * ```
1881
1916
  *
1882
- * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} to label.
1917
+ * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} or {@link MappedinCoordinate} to label.
1883
1918
  * @param text The text to display on the label.
1884
1919
  * @param options
1885
1920
  */
1886
- add(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions): T;
1921
+ add(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, text: string, options?: TAddFloatingLabelOptions): T;
1887
1922
  /**
1888
1923
  * Update the appearance attributes of an already-existing label. If the
1889
1924
  * provided polygon or node does not have a label already, this is a no-op.
@@ -1896,10 +1931,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1896
1931
  * });
1897
1932
  * ```
1898
1933
  *
1899
- * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} with a label to update.
1934
+ * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} or {@link MappedinCoordinate} with a label to update.
1900
1935
  * @param appearance The new {@link TFlatLabelAppearance} settings to apply to the polygon's label.
1901
1936
  */
1902
- setAppearance(polygonOrNode: MappedinPolygon | MappedinNode, appearance: TFloatingLabelAppearance): T;
1937
+ setAppearance(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, appearance: TFloatingLabelAppearance): T;
1903
1938
  /**
1904
1939
  * Remove a floating label from a single polygon or node.
1905
1940
  *
@@ -1912,9 +1947,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1912
1947
  * mapView.FloatingLabels.remove(polygon.entrances[0]);
1913
1948
  * ```
1914
1949
  *
1915
- * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} with a label to remove.
1950
+ * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} or {@link MappedinCoordinate} with a label to remove.
1916
1951
  */
1917
- remove(polygonOrNode: MappedinPolygon | MappedinNode): T;
1952
+ remove(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate): T;
1918
1953
  /**
1919
1954
  * Remove all floating labels from the venue.
1920
1955
  *
@@ -1940,9 +1975,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1940
1975
  * mapView.FloatingLabels.setPriority(polygon1, 1);
1941
1976
  * ```
1942
1977
  *
1943
- * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} with a label to update.
1978
+ * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} or {@link MappedinCoordinate} with a label to update.
1944
1979
  */
1945
- setPriority(polygonOrNode: MappedinPolygon | MappedinNode, priority: number): T;
1980
+ setPriority(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, priority: number): T;
1946
1981
  /**
1947
1982
  * Resets the priority of an existing floating label (or labels, in the case
1948
1983
  * of a polygon)
@@ -1957,9 +1992,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1957
1992
  * mapView.FloatingLabels.resetPriority();
1958
1993
  * ```
1959
1994
  *
1960
- * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} with a label to update.
1995
+ * @param polygonOrNode The {@link MappedinPolygon} or {@link MappedinNode} or {@link MappedinCoordinate} with a label to update.
1961
1996
  */
1962
- resetPriority(polygonOrNode: MappedinPolygon | MappedinNode): T;
1997
+ resetPriority(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate): T;
1963
1998
  }
1964
1999
  export class FloatingLabels implements IFloatingLabels {
1965
2000
  #private;
@@ -1968,12 +2003,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
1968
2003
  */
1969
2004
  constructor(controller: FloatingLabelsController);
1970
2005
  labelAllLocations(options?: TFloatingLabelAllLocationsOptions | undefined): void;
1971
- add(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions | undefined): void;
1972
- setAppearance(polygonOrNode: MappedinPolygon | MappedinNode, appearance: TFloatingLabelAppearance): void;
1973
- remove(polygonOrNode: MappedinPolygon | MappedinNode): void;
2006
+ add(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, text: string, options?: TAddFloatingLabelOptions | undefined): void;
2007
+ setAppearance(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, appearance: TFloatingLabelAppearance): void;
2008
+ remove(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate): void;
1974
2009
  removeAll(): void;
1975
- setPriority(polygonOrNode: MappedinPolygon | MappedinNode, priority: number): void;
1976
- resetPriority(polygonOrNode: MappedinPolygon | MappedinNode): void;
2010
+ setPriority(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate, priority: number): void;
2011
+ resetPriority(polygonOrNode: MappedinPolygon | MappedinNode | MappedinCoordinate): void;
1977
2012
  }
1978
2013
  }
1979
2014
 
@@ -1982,7 +2017,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator' {
1982
2017
  import Navigator from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
1983
2018
  export { ACTION_TYPE, BEARING_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator/Directive';
1984
2019
  export { Navigator, NavigationGraph };
1985
- export type { IDirectionsResult } from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
2020
+ export type { IDirectionsResult, TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
1986
2021
  export { E_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
1987
2022
  export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/core/common/Mappedin.Logger';
1988
2023
  }
@@ -2033,6 +2068,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
2033
2068
  * See also {@link Camera.setSafeAreaInsets}.
2034
2069
  */
2035
2070
  safeAreaInsets?: TSafeAreaInsets;
2071
+ /**
2072
+ * Whether {@link Camera.minZoom} and {@link Camera.maxZoom} should be recalculated during the focusing animation.
2073
+ */
2074
+ updateZoomLimits?: boolean;
2036
2075
  };
2037
2076
  /**
2038
2077
  * A configuration of the camera in space.
@@ -2056,6 +2095,24 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
2056
2095
  position?: MappedinCoordinate | MappedinNode;
2057
2096
  };
2058
2097
  export type TCameraAnimationOptions = TAnimationOptions;
2098
+ /**
2099
+ * The configuration for camera interactions on or off.
2100
+ */
2101
+ export type TCameraInteractionsSetOptions = {
2102
+ /**
2103
+ * Enable or disable pan controls.
2104
+ */
2105
+ pan?: boolean;
2106
+ /**
2107
+ * Enable or disable zoom controls.
2108
+ */
2109
+ zoom?: boolean;
2110
+ /**
2111
+ * Enable or disable rotation and tilt controls.
2112
+ * See {@link maxTilt} for controlling the range of tilt.
2113
+ */
2114
+ rotationAndTilt?: boolean;
2115
+ };
2059
2116
  /**
2060
2117
  * The Camera object specifies a view of the map and allows manipulation of that view.
2061
2118
  * @internal
@@ -2080,6 +2137,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
2080
2137
  set maxTilt(radians: number);
2081
2138
  get position(): MappedinCoordinate;
2082
2139
  interactions: {
2140
+ set: (options: TCameraInteractionsSetOptions) => void;
2083
2141
  enable: () => void;
2084
2142
  disable: () => void;
2085
2143
  };
@@ -2714,9 +2772,10 @@ declare module '@mappedin/react-native-sdk/wrappers/common/pub-sub' {
2714
2772
 
2715
2773
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface' {
2716
2774
  import { Vector2, Vector3, Mesh } from 'three';
2717
- import type { TPadding, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TileManager, BillboardManager, StackedMapsController, SmartCollisionEngine } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
2775
+ import type { TPadding, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TileManager, BillboardManager, StackedMapsController, SmartCollisionEngine, OutdoorViewController } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
2718
2776
  import { BlueDotController, CameraController, STATE, MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode, changeListenerFn, RENDER, INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT, TaskScheduler, SceneManager, PubSub, FlatLabel, MapObject, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
2719
2777
  import Tween, { Easing } from '@tweenjs/tween.js';
2778
+ import WatermarkController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/WatermarkController';
2720
2779
  export type TFocusOptionsLegacy = {
2721
2780
  /**
2722
2781
  * An array of Nodes to focus in on
@@ -2757,6 +2816,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core.i
2757
2816
  * @defaultValue: 0
2758
2817
  */
2759
2818
  minZoom?: number;
2819
+ /**
2820
+ * Whether {@link Camera.minZoom} and {@link Camera.maxZoom} should be recalculated during the focusing animation.
2821
+ */
2822
+ updateZoomLimits?: boolean;
2760
2823
  padding?: TPadding;
2761
2824
  points?: any[];
2762
2825
  boundingBox?: any;
@@ -2790,6 +2853,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core.i
2790
2853
  tileManager: TileManager;
2791
2854
  billboardManager: BillboardManager;
2792
2855
  stackedMaps: StackedMapsController;
2856
+ outdoorViewController?: OutdoorViewController;
2857
+ watermark: WatermarkController;
2793
2858
  state: STATE;
2794
2859
  options: TMapViewOptions & {
2795
2860
  onDataLoaded?: (data: Mappedin) => void;
@@ -2971,39 +3036,39 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
2971
3036
  */
2972
3037
  privateEventBus: PubSub<{
2973
3038
  REJECT: {
2974
- msgID?: string | undefined;
3039
+ msgID?: string;
2975
3040
  data: any;
2976
3041
  };
2977
3042
  RESOLVE: {
2978
- msgID?: string | undefined;
3043
+ msgID?: string;
2979
3044
  data: any;
2980
3045
  };
2981
3046
  READY: {
2982
- msgID?: string | undefined;
3047
+ msgID?: string;
2983
3048
  data: null;
2984
3049
  };
2985
3050
  LOG: {
2986
- msgID?: string | undefined;
3051
+ msgID?: string;
2987
3052
  data: string;
2988
3053
  };
2989
3054
  GET_IMAGE: {
2990
- msgID?: string | undefined;
3055
+ msgID?: string;
2991
3056
  data: {
2992
3057
  fileName: string;
2993
3058
  };
2994
3059
  };
2995
3060
  GET_MAP_POLYGONS: {
2996
- msgID?: string | undefined;
3061
+ msgID?: string;
2997
3062
  data: {
2998
3063
  mapId: string;
2999
3064
  };
3000
3065
  };
3001
3066
  MINIMAP_READY: {
3002
- msgID?: string | undefined;
3067
+ msgID?: string;
3003
3068
  data: null;
3004
3069
  };
3005
3070
  SHOW_MINIMAP: {
3006
- msgID?: string | undefined;
3071
+ msgID?: string;
3007
3072
  data: {
3008
3073
  format: "jsonstring";
3009
3074
  venueData: string;
@@ -3011,77 +3076,77 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3011
3076
  };
3012
3077
  };
3013
3078
  LOAD_MINIMAP: {
3014
- msgID?: string | undefined;
3079
+ msgID?: string;
3015
3080
  data: {
3016
3081
  options: import("../react-native-sdk/src").TGetVenueOptions;
3017
3082
  };
3018
3083
  };
3019
3084
  CACHE_IMAGE: {
3020
- msgID?: string | undefined;
3085
+ msgID?: string;
3021
3086
  data: {
3022
- url?: string | undefined;
3087
+ url?: string;
3023
3088
  options: import("../react-native-sdk/src").TGetVenueOptions;
3024
3089
  locationId: string;
3025
- polygonHighlightColor?: string | undefined;
3026
- focusOptions?: (import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../core/packages/renderer").TAnimationOptions) | undefined;
3090
+ polygonHighlightColor?: string;
3091
+ focusOptions?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../core/packages/renderer").TAnimationOptions;
3027
3092
  };
3028
3093
  };
3029
3094
  SET_DEBUG_FLAGS: {
3030
- msgID?: string | undefined;
3095
+ msgID?: string;
3031
3096
  data: any;
3032
3097
  };
3033
3098
  CLEAR_BUNDLE_CACHE: {
3034
- msgID?: string | undefined;
3099
+ msgID?: string;
3035
3100
  data: null;
3036
3101
  };
3037
3102
  NOTHING_CLICKED: {
3038
- msgID?: string | undefined;
3103
+ msgID?: string;
3039
3104
  data: null;
3040
3105
  };
3041
3106
  STATE_CHANGED: {
3042
- msgID?: string | undefined;
3107
+ msgID?: string;
3043
3108
  data: {
3044
3109
  state: import("../react-native-sdk/src").STATE;
3045
3110
  };
3046
3111
  };
3047
3112
  DATA_LOADED: {
3048
- msgID?: string | undefined;
3113
+ msgID?: string;
3049
3114
  data: {
3050
3115
  venueData: any;
3051
3116
  };
3052
3117
  };
3053
3118
  FIRST_MAP_LOADED: {
3054
- msgID?: string | undefined;
3119
+ msgID?: string;
3055
3120
  data: {
3056
3121
  venueData?: any;
3057
3122
  };
3058
3123
  };
3059
3124
  MAP_CHANGED: {
3060
- msgID?: string | undefined;
3125
+ msgID?: string;
3061
3126
  data: {
3062
3127
  mapId: string;
3063
3128
  };
3064
3129
  };
3065
3130
  POLYGON_CLICKED: {
3066
- msgID?: string | undefined;
3131
+ msgID?: string;
3067
3132
  data: {
3068
3133
  polygonId: string;
3069
3134
  };
3070
3135
  };
3071
3136
  ROTATION_CHANGED: {
3072
- msgID?: string | undefined;
3137
+ msgID?: string;
3073
3138
  data: {
3074
3139
  rotation: number;
3075
3140
  };
3076
3141
  };
3077
3142
  TILT_CHANGED: {
3078
- msgID?: string | undefined;
3143
+ msgID?: string;
3079
3144
  data: {
3080
3145
  tilt: number;
3081
3146
  };
3082
3147
  };
3083
3148
  POSITION_CHANGED: {
3084
- msgID?: string | undefined;
3149
+ msgID?: string;
3085
3150
  data: {
3086
3151
  position: {
3087
3152
  /**
@@ -3094,7 +3159,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3094
3159
  };
3095
3160
  };
3096
3161
  CAMERA_CHANGED: {
3097
- msgID?: string | undefined;
3162
+ msgID?: string;
3098
3163
  data: {
3099
3164
  rotation: number;
3100
3165
  tilt: number;
@@ -3103,41 +3168,41 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3103
3168
  };
3104
3169
  };
3105
3170
  ZOOM_CHANGED: {
3106
- msgID?: string | undefined;
3171
+ msgID?: string;
3107
3172
  data: {
3108
3173
  zoom: number;
3109
3174
  };
3110
3175
  };
3111
3176
  UPDATE_GEOLOCATION: {
3112
- msgID?: string | undefined;
3177
+ msgID?: string;
3113
3178
  data: {
3114
3179
  msgID: undefined;
3115
3180
  data: unknown;
3116
3181
  };
3117
3182
  };
3118
3183
  BLUEDOT_STATE_CHANGE: {
3119
- msgID?: string | undefined;
3184
+ msgID?: string;
3120
3185
  data: {
3121
3186
  stateChange: import("../react-native-sdk/src").TBlueDotStateChange;
3122
3187
  };
3123
3188
  };
3124
3189
  BLUEDOT_POSITION_UPDATE: {
3125
- msgID?: string | undefined;
3190
+ msgID?: string;
3126
3191
  data: {
3127
3192
  update: Omit<import("../react-native-sdk/src").TBlueDotPositionUpdate, "map" | "nearestNode"> & {
3128
- nearestNode?: string | undefined;
3129
- map?: string | undefined;
3193
+ nearestNode?: string;
3194
+ map?: string;
3130
3195
  };
3131
3196
  };
3132
3197
  };
3133
3198
  SET_JOURNEY_STEP: {
3134
- msgID?: string | undefined;
3199
+ msgID?: string;
3135
3200
  data: {
3136
3201
  step: number;
3137
3202
  };
3138
3203
  };
3139
3204
  SET_JOURNEY_STEP_BY_PATH: {
3140
- msgID?: string | undefined;
3205
+ msgID?: string;
3141
3206
  data: {
3142
3207
  path: {
3143
3208
  id: string;
@@ -3145,61 +3210,61 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3145
3210
  };
3146
3211
  };
3147
3212
  LOAD_VENUE: {
3148
- msgID?: string | undefined;
3213
+ msgID?: string;
3149
3214
  data: {
3150
3215
  options: import("../react-native-sdk/src").TGetVenueOptions & {
3151
- useBundle?: boolean | undefined;
3216
+ useBundle?: boolean;
3152
3217
  };
3153
3218
  showVenueOptions: import("../react-native-sdk/src").TShowVenueOptions & {
3154
- prepareSearch?: boolean | undefined;
3155
- searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions> | undefined;
3219
+ prepareSearch?: boolean;
3220
+ searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions>;
3156
3221
  };
3157
3222
  };
3158
3223
  };
3159
3224
  SHOW_VENUE: {
3160
- msgID?: string | undefined;
3225
+ msgID?: string;
3161
3226
  data: {
3162
3227
  venueData: string;
3163
3228
  format: "jsonstring";
3164
3229
  showVenueOptions: import("../react-native-sdk/src").TShowVenueOptions & {
3165
- prepareSearch?: boolean | undefined;
3166
- searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions> | undefined;
3230
+ prepareSearch?: boolean;
3231
+ searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions>;
3167
3232
  };
3168
3233
  };
3169
3234
  };
3170
3235
  SET_MAP: {
3171
- msgID?: string | undefined;
3236
+ msgID?: string;
3172
3237
  data: {
3173
3238
  mapId: string;
3174
3239
  };
3175
3240
  };
3176
3241
  CAMERA_SET: {
3177
- msgID?: string | undefined;
3242
+ msgID?: string;
3178
3243
  data: {
3179
3244
  positionOptions: Omit<import("../react-native-sdk/src").TCameraTransform, "position"> & {
3180
- position?: import("./types").TSerializedCoordinate | import("./types").TSerializedNode | undefined;
3245
+ position?: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3181
3246
  };
3182
3247
  };
3183
3248
  };
3184
3249
  CAMERA_ANIMATE: {
3185
- msgID?: string | undefined;
3250
+ msgID?: string;
3186
3251
  data: {
3187
3252
  config: Omit<import("../react-native-sdk/src").TCameraTransform, "position"> & {
3188
- position?: import("./types").TSerializedCoordinate | import("./types").TSerializedNode | undefined;
3253
+ position?: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3189
3254
  };
3190
- options?: import("../../core/packages/renderer").TAnimationOptions | undefined;
3255
+ options?: import("../../core/packages/renderer").TAnimationOptions;
3191
3256
  };
3192
3257
  };
3193
3258
  CAMERA_TRANSLATE: {
3194
- msgID?: string | undefined;
3259
+ msgID?: string;
3195
3260
  data: {
3196
3261
  direction: import("../react-native-sdk/src").E_CAMERA_DIRECTION;
3197
3262
  distance: number;
3198
- options?: import("../../core/packages/renderer").TAnimationOptions | undefined;
3263
+ options?: import("../../core/packages/renderer").TAnimationOptions;
3199
3264
  };
3200
3265
  };
3201
3266
  CAMERA_SET_SAFE_AREA_INSETS: {
3202
- msgID?: string | undefined;
3267
+ msgID?: string;
3203
3268
  data: {
3204
3269
  safeAreaInsets: {
3205
3270
  top: number;
@@ -3210,196 +3275,196 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3210
3275
  };
3211
3276
  };
3212
3277
  CLEAR_POLYGON_COLOR: {
3213
- msgID?: string | undefined;
3278
+ msgID?: string;
3214
3279
  data: {
3215
3280
  polygonId: string;
3216
3281
  };
3217
3282
  };
3218
3283
  FOCUS_ON: {
3219
- msgID?: string | undefined;
3284
+ msgID?: string;
3220
3285
  data: {
3221
3286
  targets: import("./types").TFocusOnTargetsSerializable;
3222
- options?: (import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../core/packages/renderer").TAnimationOptions) | undefined;
3287
+ options?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../core/packages/renderer").TAnimationOptions;
3223
3288
  };
3224
3289
  };
3225
3290
  SET_POLYGON_COLOR: {
3226
- msgID?: string | undefined;
3291
+ msgID?: string;
3227
3292
  data: {
3228
3293
  polygon: import("./types").TSerializedPolygon;
3229
3294
  color: string;
3230
3295
  };
3231
3296
  };
3232
3297
  SET_BACKGROUND_COLOR: {
3233
- msgID?: string | undefined;
3298
+ msgID?: string;
3234
3299
  data: {
3235
3300
  backgroundColor: string;
3236
3301
  };
3237
3302
  };
3238
3303
  CLEAR_ALL_POLYGON_COLORS: {
3239
- msgID?: string | undefined;
3304
+ msgID?: string;
3240
3305
  data: null;
3241
3306
  };
3242
3307
  ADD_INTERACTIVE_POLYGON: {
3243
- msgID?: string | undefined;
3308
+ msgID?: string;
3244
3309
  data: {
3245
3310
  polygonId: string;
3246
3311
  };
3247
3312
  };
3248
3313
  REMOVE_INTERACTIVE_POLYGONS: {
3249
- msgID?: string | undefined;
3314
+ msgID?: string;
3250
3315
  data: null;
3251
3316
  };
3252
3317
  ENABLE_IMAGE_FLIPPING_FOR_POLYGON: {
3253
- msgID?: string | undefined;
3318
+ msgID?: string;
3254
3319
  data: {
3255
3320
  polygon: import("./types").TSerializedPolygon;
3256
3321
  };
3257
3322
  };
3258
3323
  LABEL_ALL_LOCATIONS: {
3259
- msgID?: string | undefined;
3324
+ msgID?: string;
3260
3325
  data: {
3261
- options?: ((Omit<import("../react-native-sdk/src").TFloatingLabelAllLocationsOptions, "locations"> | Omit<import("../react-native-sdk/src").TFlatLabelAllLocationsOptions, "locations">) & {
3262
- locations?: string[] | undefined;
3263
- flatLabels?: boolean | undefined;
3264
- interactive?: boolean | undefined;
3265
- }) | undefined;
3326
+ options?: (Omit<import("../react-native-sdk/src").TFloatingLabelAllLocationsOptions, "locations"> | Omit<import("../react-native-sdk/src").TFlatLabelAllLocationsOptions, "locations">) & {
3327
+ locations?: string[];
3328
+ flatLabels?: boolean;
3329
+ interactive?: boolean;
3330
+ };
3266
3331
  };
3267
3332
  };
3268
3333
  FLAT_LABEL_ALL_LOCATIONS: {
3269
- msgID?: string | undefined;
3334
+ msgID?: string;
3270
3335
  data: {
3271
- options?: (Omit<import("../react-native-sdk/src").TFlatLabelAllLocationsOptions, "locations"> & {
3272
- locations?: string[] | undefined;
3273
- }) | undefined;
3336
+ options?: Omit<import("../react-native-sdk/src").TFlatLabelAllLocationsOptions, "locations"> & {
3337
+ locations?: string[];
3338
+ };
3274
3339
  };
3275
3340
  };
3276
3341
  FLOATING_LABEL_ALL_LOCATIONS: {
3277
- msgID?: string | undefined;
3342
+ msgID?: string;
3278
3343
  data: {
3279
- options?: (Omit<import("../react-native-sdk/src").TFloatingLabelAllLocationsOptions, "locations"> & {
3280
- locations?: string[] | undefined;
3281
- }) | undefined;
3344
+ options?: Omit<import("../react-native-sdk/src").TFloatingLabelAllLocationsOptions, "locations"> & {
3345
+ locations?: string[];
3346
+ };
3282
3347
  };
3283
3348
  };
3284
3349
  REMOVE_ALL_FLAT_LABELS: {
3285
- msgID?: string | undefined;
3350
+ msgID?: string;
3286
3351
  data: null;
3287
3352
  };
3288
3353
  REMOVE_ALL_FLOATING_LABELS: {
3289
- msgID?: string | undefined;
3354
+ msgID?: string;
3290
3355
  data: null;
3291
3356
  };
3292
3357
  ADD_FLAT_LABEL: {
3293
- msgID?: string | undefined;
3358
+ msgID?: string;
3294
3359
  data: {
3295
3360
  polygon: import("./types").TSerializedPolygon;
3296
3361
  text: string;
3297
- options?: import("../react-native-sdk/src").TAddFlatLabelOptions | undefined;
3362
+ options?: import("../react-native-sdk/src").TAddFlatLabelOptions;
3298
3363
  };
3299
3364
  };
3300
3365
  SET_FLAT_LABEL_HOVER_COLOR_FOR_ALL: {
3301
- msgID?: string | undefined;
3366
+ msgID?: string;
3302
3367
  data: {
3303
3368
  color: string;
3304
3369
  };
3305
3370
  };
3306
3371
  ADD_FLOATING_LABEL: {
3307
- msgID?: string | undefined;
3372
+ msgID?: string;
3308
3373
  data: {
3309
3374
  polygonOrNode: import("./types").TSerializedNode | import("./types").TSerializedPolygon;
3310
3375
  text: string;
3311
- options?: import("../react-native-sdk/src").TAddFloatingLabelOptions | undefined;
3376
+ options?: import("../react-native-sdk/src").TAddFloatingLabelOptions;
3312
3377
  };
3313
3378
  };
3314
3379
  REMOVE_FLAT_LABEL: {
3315
- msgID?: string | undefined;
3380
+ msgID?: string;
3316
3381
  data: {
3317
3382
  polygon: import("./types").TSerializedPolygon;
3318
3383
  };
3319
3384
  };
3320
3385
  REMOVE_FLOATING_LABEL: {
3321
- msgID?: string | undefined;
3386
+ msgID?: string;
3322
3387
  data: {
3323
3388
  polygonOrNode: import("./types").TSerializedNode | import("./types").TSerializedPolygon;
3324
3389
  };
3325
3390
  };
3326
3391
  SET_FLOATING_LABEL_PRIORITY: {
3327
- msgID?: string | undefined;
3392
+ msgID?: string;
3328
3393
  data: {
3329
3394
  polygonOrNode: import("./types").TSerializedNode | import("./types").TSerializedPolygon;
3330
3395
  priority: number;
3331
3396
  };
3332
3397
  };
3333
3398
  RESET_FLOATING_LABEL_PRIORITY: {
3334
- msgID?: string | undefined;
3399
+ msgID?: string;
3335
3400
  data: {
3336
3401
  polygonOrNode: import("./types").TSerializedNode | import("./types").TSerializedPolygon;
3337
3402
  };
3338
3403
  };
3339
3404
  SET_FLAT_LABEL_APPEARANCE: {
3340
- msgID?: string | undefined;
3405
+ msgID?: string;
3341
3406
  data: {
3342
3407
  polygon: import("./types").TSerializedPolygon;
3343
3408
  appearance: import("../react-native-sdk/src").TFlatLabelAppearance;
3344
3409
  };
3345
3410
  };
3346
3411
  SET_FLOATING_LABEL_APPEARANCE: {
3347
- msgID?: string | undefined;
3412
+ msgID?: string;
3348
3413
  data: {
3349
3414
  polygonOrNode: import("./types").TSerializedNode | import("./types").TSerializedPolygon;
3350
3415
  appearance: import("../react-native-sdk/src").TFloatingLabelAppearance;
3351
3416
  };
3352
3417
  };
3353
3418
  ENABLE_BLUE_DOT: {
3354
- msgID?: string | undefined;
3419
+ msgID?: string;
3355
3420
  data: {
3356
- options?: import("../react-native-sdk/src").TEnableBlueDotOptionsBase | undefined;
3421
+ options?: import("../react-native-sdk/src").TEnableBlueDotOptionsBase;
3357
3422
  };
3358
3423
  };
3359
3424
  DISABLE_BLUE_DOT: {
3360
- msgID?: string | undefined;
3425
+ msgID?: string;
3361
3426
  data: null;
3362
3427
  };
3363
3428
  GET_DIRECTIONS: {
3364
- msgID?: string | undefined;
3429
+ msgID?: string;
3365
3430
  data: {
3366
3431
  to: import("./types").TSerializedNode | import("./types").TSerializedLocation | import("./types").TSerializedPolygon;
3367
3432
  from: import("./types").TSerializedNode | import("./types").TSerializedLocation | import("./types").TSerializedPolygon;
3368
- accessible?: boolean | undefined;
3433
+ accessible?: boolean;
3369
3434
  };
3370
3435
  };
3371
3436
  GET_DISTANCE_TO: {
3372
- msgID?: string | undefined;
3437
+ msgID?: string;
3373
3438
  data: {
3374
3439
  to: import("./types").TSerializedNode | import("./types").TSerializedLocation | import("./types").TSerializedPolygon;
3375
3440
  from: import("./types").TSerializedNode | import("./types").TSerializedLocation | import("./types").TSerializedPolygon;
3376
- accessible?: boolean | undefined;
3441
+ accessible?: boolean;
3377
3442
  };
3378
3443
  };
3379
3444
  DESTROY: {
3380
- msgID?: string | undefined;
3445
+ msgID?: string;
3381
3446
  data: null;
3382
3447
  };
3383
3448
  SET_MIN_ZOOM: {
3384
- msgID?: string | undefined;
3449
+ msgID?: string;
3385
3450
  data: {
3386
3451
  zoomLevel: number;
3387
3452
  };
3388
3453
  };
3389
3454
  SET_MAX_ZOOM: {
3390
- msgID?: string | undefined;
3455
+ msgID?: string;
3391
3456
  data: {
3392
3457
  zoomLevel: number;
3393
3458
  };
3394
3459
  };
3395
3460
  SET_MAX_TILT: {
3396
- msgID?: string | undefined;
3461
+ msgID?: string;
3397
3462
  data: {
3398
3463
  tiltAngle: number;
3399
3464
  };
3400
3465
  };
3401
3466
  CREATE_MARKER: {
3402
- msgID?: string | undefined;
3467
+ msgID?: string;
3403
3468
  data: {
3404
3469
  nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3405
3470
  contentHtml: string;
@@ -3407,20 +3472,20 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3407
3472
  };
3408
3473
  };
3409
3474
  REMOVE_MARKER: {
3410
- msgID?: string | undefined;
3475
+ msgID?: string;
3411
3476
  data: {
3412
3477
  markerId: string;
3413
3478
  };
3414
3479
  };
3415
3480
  SET_MARKER_POSITION: {
3416
- msgID?: string | undefined;
3481
+ msgID?: string;
3417
3482
  data: {
3418
3483
  markerId: string;
3419
3484
  nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3420
3485
  };
3421
3486
  };
3422
3487
  ANIMATE_MARKER: {
3423
- msgID?: string | undefined;
3488
+ msgID?: string;
3424
3489
  data: {
3425
3490
  markerId: string;
3426
3491
  nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
@@ -3428,27 +3493,27 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3428
3493
  };
3429
3494
  };
3430
3495
  OVERRIDE_LOCATION: {
3431
- msgID?: string | undefined;
3496
+ msgID?: string;
3432
3497
  data: {
3433
3498
  location: import("../react-native-sdk/src").TGeolocationObject;
3434
3499
  };
3435
3500
  };
3436
3501
  DRAW_PATH: {
3437
- msgID?: string | undefined;
3502
+ msgID?: string;
3438
3503
  data: {
3439
3504
  path: string[];
3440
3505
  pathOptions: import("../react-native-sdk/src").TPathOptions;
3441
3506
  };
3442
3507
  };
3443
3508
  ADD_PATH: {
3444
- msgID?: string | undefined;
3509
+ msgID?: string;
3445
3510
  data: {
3446
3511
  nodes: import("./types").TSerializedNode[];
3447
3512
  options: import("../react-native-sdk/src").TPathOptions;
3448
3513
  };
3449
3514
  };
3450
3515
  REMOVE_PATH: {
3451
- msgID?: string | undefined;
3516
+ msgID?: string;
3452
3517
  data: {
3453
3518
  path: {
3454
3519
  id: string;
@@ -3456,65 +3521,65 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3456
3521
  };
3457
3522
  };
3458
3523
  REMOVE_ALL_PATHS: {
3459
- msgID?: string | undefined;
3524
+ msgID?: string;
3460
3525
  data: null;
3461
3526
  };
3462
3527
  SET_STATE: {
3463
- msgID?: string | undefined;
3528
+ msgID?: string;
3464
3529
  data: {
3465
3530
  state: import("../react-native-sdk/src").STATE;
3466
3531
  };
3467
3532
  };
3468
3533
  CLEAR_JOURNEY: {
3469
- msgID?: string | undefined;
3534
+ msgID?: string;
3470
3535
  data: null;
3471
3536
  };
3472
3537
  DRAW_JOURNEY: {
3473
- msgID?: string | undefined;
3538
+ msgID?: string;
3474
3539
  data: {
3475
3540
  directions: import("../react-native-sdk/src").IDirectionsResult;
3476
3541
  options: import("./types").TSerializableJourneyOptions;
3477
3542
  };
3478
3543
  };
3479
3544
  SET_COOKIE: {
3480
- msgID?: string | undefined;
3545
+ msgID?: string;
3481
3546
  data: {
3482
3547
  cookie: any;
3483
3548
  };
3484
3549
  };
3485
3550
  GET_NEAREST_NODE_BY_SCREEN_COORDINATES: {
3486
- msgID?: string | undefined;
3551
+ msgID?: string;
3487
3552
  data: {
3488
3553
  x: number;
3489
3554
  y: number;
3490
- map?: string | undefined;
3555
+ map?: string;
3491
3556
  };
3492
3557
  };
3493
3558
  SEARCH: {
3494
- msgID?: string | undefined;
3559
+ msgID?: string;
3495
3560
  data: {
3496
3561
  query: string;
3497
3562
  };
3498
3563
  };
3499
3564
  SUGGEST: {
3500
- msgID?: string | undefined;
3565
+ msgID?: string;
3501
3566
  data: {
3502
3567
  query: string;
3503
3568
  };
3504
3569
  };
3505
3570
  ADD_SEARCH_QUERY: {
3506
- msgID?: string | undefined;
3571
+ msgID?: string;
3507
3572
  data: {
3508
3573
  query: string;
3509
3574
  object: {
3510
3575
  type: "MappedinLocation" | "MappedinCategory" | "Custom";
3511
3576
  id: string;
3512
3577
  };
3513
- weight?: number | undefined;
3578
+ weight?: number;
3514
3579
  };
3515
3580
  };
3516
3581
  CLICK: {
3517
- msgID?: string | undefined;
3582
+ msgID?: string;
3518
3583
  data: {
3519
3584
  position: {
3520
3585
  latitude: number;
@@ -3533,45 +3598,45 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
3533
3598
  };
3534
3599
  };
3535
3600
  GET_PRIMARY_LOCATION_FOR_POLYGON: {
3536
- msgID?: string | undefined;
3601
+ msgID?: string;
3537
3602
  data: {
3538
3603
  polygon: import("./types").TSerializedPolygon;
3539
3604
  };
3540
3605
  };
3541
3606
  GET_POLYGONS_AT_COORDINATE: {
3542
- msgID?: string | undefined;
3607
+ msgID?: string;
3543
3608
  data: {
3544
3609
  coordinate: import("./types").TSerializedCoordinate;
3545
- options?: import("../../core/packages/renderer").TGetPolygonsAtCoordinateOptions | undefined;
3610
+ options?: import("../../core/packages/renderer").TGetPolygonsAtCoordinateOptions;
3546
3611
  };
3547
3612
  };
3548
3613
  GET_POLYGONS_AT_SCREEN_COORDINATE: {
3549
- msgID?: string | undefined;
3614
+ msgID?: string;
3550
3615
  data: {
3551
3616
  x: number;
3552
3617
  y: number;
3553
- options?: import("../../core/packages/renderer").TGetPolygonsAtCoordinateOptions | undefined;
3618
+ options?: import("../../core/packages/renderer").TGetPolygonsAtCoordinateOptions;
3554
3619
  };
3555
3620
  };
3556
3621
  CREATE_TOOLTIP: {
3557
- msgID?: string | undefined;
3622
+ msgID?: string;
3558
3623
  data: {
3559
3624
  nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3560
3625
  contentHtml: string;
3561
- options?: import("../../core/packages/renderer").TCreateTooltipOptions | undefined;
3626
+ options?: import("../../core/packages/renderer").TCreateTooltipOptions;
3562
3627
  };
3563
3628
  };
3564
3629
  CREATE_CUSTOM_TOOLTIP: {
3565
- msgID?: string | undefined;
3630
+ msgID?: string;
3566
3631
  data: {
3567
3632
  nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
3568
3633
  contentHtml: string;
3569
3634
  selector: string;
3570
- options?: import("../../core/packages/renderer").TCreateTooltipCommonOptions | undefined;
3635
+ options?: import("../../core/packages/renderer").TCreateTooltipCommonOptions;
3571
3636
  };
3572
3637
  };
3573
3638
  REMOVE_TOOLTIP: {
3574
- msgID?: string | undefined;
3639
+ msgID?: string;
3575
3640
  data: {
3576
3641
  tooltipId: string;
3577
3642
  };
@@ -3790,7 +3855,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
3790
3855
  #private;
3791
3856
  lines: number;
3792
3857
  contextConfigured: boolean;
3793
- fillText: TDrawFn | undefined;
3858
+ fillText: TDrawFn;
3794
3859
  newStyle: {
3795
3860
  pinVisibility: PINVISIBILITY;
3796
3861
  };
@@ -3827,7 +3892,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
3827
3892
  }
3828
3893
 
3829
3894
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core' {
3830
- import FakeGeolocation from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/fake-geolocation';
3831
3895
  import { IStateMachine } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine';
3832
3896
  import { E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE, E_BLUEDOT_STATE_REASON } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
3833
3897
  import { PubSub, IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
@@ -3985,7 +4049,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
3985
4049
  export type TLatLonProps = [number, number];
3986
4050
  const BlueDot: {
3987
4051
  ({ data, core, manager }: TBlueDotProps): IBlueDotCore;
3988
- FakeGeolocation: typeof FakeGeolocation;
4052
+ FakeGeolocation: any;
3989
4053
  };
3990
4054
  export default BlueDot;
3991
4055
  }
@@ -4200,6 +4264,49 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
4200
4264
  export default SmartTooltip;
4201
4265
  }
4202
4266
 
4267
+ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/OutdoorViewController' {
4268
+ import './OutdoorViewController.scss';
4269
+ import type { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
4270
+ import { XOR } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
4271
+ export type TAttributionPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
4272
+ export type TOutdoorViewControllerOptionsWithHeaders = {
4273
+ url?: string;
4274
+ attributionPosition?: TAttributionPosition;
4275
+ headers: {
4276
+ [key: string]: string | null;
4277
+ };
4278
+ };
4279
+ export type TOutdoorViewControllerOptionsWithAuthURL = {
4280
+ url?: string;
4281
+ authURL?: string;
4282
+ attributionPosition?: TAttributionPosition;
4283
+ };
4284
+ export type TOutdoorViewControllerOptions = XOR<TOutdoorViewControllerOptionsWithHeaders, TOutdoorViewControllerOptionsWithAuthURL>;
4285
+ class OutdoorViewController {
4286
+ _attribution: any;
4287
+ core: ICore;
4288
+ map: any;
4289
+ enabled: boolean;
4290
+ url: string;
4291
+ authURL: string;
4292
+ headers?: TOutdoorViewControllerOptions['headers'];
4293
+ attributionPosition?: TAttributionPosition;
4294
+ loaded: boolean;
4295
+ constructor(core: ICore, options?: TOutdoorViewControllerOptions);
4296
+ module: any;
4297
+ load(): Promise<void>;
4298
+ get attributions(): any;
4299
+ hide(): void;
4300
+ show(): void;
4301
+ resize(): void;
4302
+ getRequestHeaders: () => Promise<TOutdoorViewControllerOptions['headers']>;
4303
+ render(): void;
4304
+ setStyle(style: any): void;
4305
+ setAttributionPosition(position: TAttributionPosition): void;
4306
+ }
4307
+ export default OutdoorViewController;
4308
+ }
4309
+
4203
4310
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/BlueDotController' {
4204
4311
  import type { IBlueDotCore, ICore, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
4205
4312
  import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT, PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
@@ -4747,7 +4854,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
4747
4854
  * @type [MappedinCategory]
4748
4855
  */
4749
4856
  get categories(): MappedinCategory[];
4750
- get state(): MappedinLocationState | undefined;
4857
+ get state(): MappedinLocationState;
4751
4858
  clone(): MappedinLocation;
4752
4859
  get nodeOperationHours(): TOperationHoursMap;
4753
4860
  static hydrate(locations: any, mappedin: Mappedin): MappedinLocation[];
@@ -4850,6 +4957,15 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinPolyg
4850
4957
  x: number;
4851
4958
  y: number;
4852
4959
  }[];
4960
+ /**
4961
+ * @internal
4962
+ *
4963
+ * The center coordinate of the polygon used for positioning {@link FloatingLabels} for MVF venues.
4964
+ */
4965
+ center?: {
4966
+ x: number;
4967
+ y: number;
4968
+ };
4853
4969
  canvasBounds?: {
4854
4970
  align: string;
4855
4971
  maxHeight: number;
@@ -5070,6 +5186,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinMap'
5070
5186
  name: string;
5071
5187
  shortName: string;
5072
5188
  elevation: number;
5189
+ subtitle?: string;
5073
5190
  scale?: number;
5074
5191
  layers: {
5075
5192
  visible: boolean;
@@ -5286,6 +5403,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinVorte
5286
5403
  * @property id {string}
5287
5404
  */
5288
5405
  id: string;
5406
+ accessible?: boolean;
5289
5407
  name?: string;
5290
5408
  type?: string;
5291
5409
  weight?: number;
@@ -5481,8 +5599,26 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavig
5481
5599
  import { MappedinDestinationSet } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDestinationSet';
5482
5600
  import { Mappedin } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin';
5483
5601
  import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
5602
+ import { TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/core/packages/navigator';
5484
5603
  export type TDirectionToOptions = {
5604
+ /**
5605
+ * If true directions will only take accessible routes
5606
+ * @default false
5607
+ */
5485
5608
  accessible?: boolean;
5609
+ /**
5610
+ * Include all the vortexes matching the given IDs
5611
+ */
5612
+ includedVortexIds?: string[];
5613
+ /**
5614
+ * Exclude all the vortexes matching the given IDs
5615
+ */
5616
+ excludedVortexIds?: string[];
5617
+ /**
5618
+ * @experimental
5619
+ * Apply line-of-sight simplifying to directions. This will attempt to remove unnecessary nodes between turns.
5620
+ */
5621
+ simplify?: TSimplifyDirectionsOptions;
5486
5622
  };
5487
5623
  export abstract class MappedinNavigatable {
5488
5624
  #private;
@@ -5885,6 +6021,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.
5885
6021
  paths: {
5886
6022
  node: string;
5887
6023
  map: string;
6024
+ weight?: number;
5888
6025
  }[];
5889
6026
  [propName: string]: any;
5890
6027
  };
@@ -6032,7 +6169,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.
6032
6169
  name?: string;
6033
6170
  entrances: {
6034
6171
  map: TMap['id'];
6035
- node: TNode['id'];
6172
+ id: TNode['id'];
6036
6173
  }[];
6037
6174
  };
6038
6175
  export type TPolygonRanking = {
@@ -6103,7 +6240,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
6103
6240
  };
6104
6241
  labeledPolygons: {};
6105
6242
  labelAllLocations(options?: TFlatLabelAllLocationsOptions): FlatLabel[];
6106
- labelPolygon(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id'], text: string, options?: TAddFlatLabelOptions): FlatLabel;
6243
+ labelPolygon(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id'], text: string, options?: TAddFlatLabelOptions): any;
6107
6244
  removeLabel(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id']): void;
6108
6245
  setAppearance(polygon: MappedinPolygon, appearance: TFlatLabelAppearance): void;
6109
6246
  setHoverColorForAll(color: string): void;
@@ -6115,28 +6252,31 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
6115
6252
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FloatingLabelsController' {
6116
6253
  import { FloatingLabel } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
6117
6254
  import type { ICore, TFloatingLabelAllLocationsOptions, TAddFloatingLabelOptions, TFloatingLabelPolygonOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
6118
- import { MappedinPolygon, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
6255
+ import { MappedinMap, MappedinPolygon, MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
6119
6256
  export type TLabelRenderOptions = TFloatingLabelPolygonOptions & {
6257
+ id?: string;
6120
6258
  polygon?: MappedinPolygon;
6121
6259
  rank: number;
6122
- entranceNode: MappedinNode;
6260
+ entranceNode?: MappedinNode;
6261
+ map: MappedinMap;
6123
6262
  text: string;
6124
6263
  createDespiteImage: boolean | undefined;
6264
+ coordinate?: MappedinCoordinate;
6125
6265
  };
6126
6266
  class FloatingLabelsController {
6127
6267
  #private;
6128
6268
  core: ICore;
6129
- constructor(core: ICore);
6130
- addLabel(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions): FloatingLabel | FloatingLabel[] | null;
6131
- removeLabel(polygonOrNode: MappedinPolygon | MappedinNode, bulk?: boolean): void;
6132
- setPriority(polygonOrNode: MappedinPolygon | MappedinNode, rank: number): void;
6133
- resetPriority(polygonOrNode: MappedinPolygon | MappedinNode): void;
6134
- removeAllLabels(): void;
6135
- setAppearance(polygonOrNode: MappedinPolygon | MappedinNode, appearance: TFloatingLabelAppearance): void;
6136
- labelAllLocations(options?: TFloatingLabelAllLocationsOptions): FloatingLabel[];
6137
6269
  floatingLabels: {
6138
6270
  [key in MappedinNode['id']]: FloatingLabel;
6139
6271
  };
6272
+ constructor(core: ICore);
6273
+ addLabel(target: MappedinPolygon | MappedinNode | MappedinCoordinate, text: string, options?: TAddFloatingLabelOptions): FloatingLabel | FloatingLabel[];
6274
+ removeLabel(target: MappedinPolygon | MappedinNode | MappedinCoordinate, bulk?: boolean): void;
6275
+ setPriority(target: MappedinPolygon | MappedinNode | MappedinCoordinate, rank: number): void;
6276
+ resetPriority(target: MappedinPolygon | MappedinNode | MappedinCoordinate): void;
6277
+ removeAllLabels(): void;
6278
+ setAppearance(target: MappedinPolygon | MappedinNode | MappedinCoordinate, appearance: TFloatingLabelAppearance): void;
6279
+ labelAllLocations(options?: TFloatingLabelAllLocationsOptions): FloatingLabel[];
6140
6280
  }
6141
6281
  export default FloatingLabelsController;
6142
6282
  }
@@ -6172,8 +6312,16 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/NavigationGra
6172
6312
  * @param originIds array - of one or more node ids
6173
6313
  * @param destinationNodeIds array - of onr or more node ids
6174
6314
  * @param accessible boolean - optional, if true directions will only take accessible route, defaults to false
6315
+ * @param includedVortexIds set - optional, exclude all the vertexes matching the given IDs
6316
+ * @param excludedVortexIds set - optional, exclude all the vertexes matching the given IDs
6175
6317
  */
6176
- aStar(originIds: string[], destinationNodeIds: string[], accessible: boolean): Edge[];
6318
+ aStar({ originIds, destinationNodeIds, accessible, includedVortexIds, excludedVortexIds, }: {
6319
+ originIds: string[];
6320
+ destinationNodeIds: string[];
6321
+ accessible: boolean;
6322
+ includedVortexIds?: Set<string>;
6323
+ excludedVortexIds?: Set<string>;
6324
+ }): Edge[];
6177
6325
  getDistance(origin: INode, destination: INode): number;
6178
6326
  getShortestEuclideanDistance(origin: INode, destinations: INode[]): number;
6179
6327
  }
@@ -6186,46 +6334,68 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Navigator' {
6186
6334
  import ILocation from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/ILocation';
6187
6335
  import IMap from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IMap';
6188
6336
  import INode from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/INode';
6337
+ import IPolygon from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IPolygon';
6189
6338
  import IVortex from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IVortex';
6190
6339
  export enum E_MESSAGES {
6191
- NO_VALID_PATH = "No Valid Path Available"
6340
+ NO_VALID_PATH = "No Valid Path Available"
6192
6341
  }
6193
6342
  export function differenceBetweenAngles(a: any, b: any): number;
6194
6343
  export interface IDirectionsResult {
6195
- distance: number;
6196
- path: INode[];
6197
- instructions: Directive[];
6344
+ distance: number;
6345
+ path: INode[];
6346
+ instructions: Directive[];
6198
6347
  }
6348
+ /**
6349
+ * @experimental
6350
+ * Configuration options for directions simplifying.
6351
+ */
6352
+ export type TSimplifyDirectionsOptions = {
6353
+ /**
6354
+ * Enable or disable simplifying.
6355
+ */
6356
+ enabled: boolean;
6357
+ /**
6358
+ * The radius of the buffer around the path.
6359
+ * @default 1.8
6360
+ */
6361
+ bufferRadius?: number;
6362
+ };
6199
6363
  class Navigator {
6200
- constructor({ locations, nodes, vortexes, maps, showVortexNames, }: {
6201
- locations: ILocation[];
6202
- nodes: INode[];
6203
- vortexes: IVortex[];
6204
- maps: IMap[];
6205
- showVortexNames?: boolean;
6206
- });
6207
- getClosestLocationInRay(startingEdge: Edge, angleThreshold?: number, distanceThreshold?: number): ILocation | null;
6208
- /**
6209
- * getDirections takes one or more origin node ids, one or more destination node ids
6210
- * and returns a distance, array of directives, and an array of nodes that define the
6211
- * path to take.
6212
- *
6213
- * The returned directives array defines nodes, vortexes, and locations along the path
6214
- * along with text directions.
6215
- *
6216
- * @param originIds array - of one or more node ids
6217
- * @param destinationNodeIds array - of onr or more node ids
6218
- * @param accessible boolean - optional, if true directions will only take accessible route, defaults to false
6219
- * @param departFrom ILocation - optional, id and name of a location to represent start of journey
6220
- * @param arriveAt ILocation - optional, id and name of a location to represent end of journey
6221
- */
6222
- getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, }: {
6223
- originIds: string[];
6224
- destinationNodeIds: string[];
6225
- accessible: boolean;
6226
- departFrom?: ILocation;
6227
- arriveAt?: ILocation;
6228
- }): IDirectionsResult;
6364
+ constructor({ locations, nodes, vortexes, maps, polygons, showVortexNames, }: {
6365
+ locations: ILocation[];
6366
+ nodes: INode[];
6367
+ vortexes: IVortex[];
6368
+ maps: IMap[];
6369
+ polygons?: IPolygon[];
6370
+ showVortexNames?: boolean;
6371
+ });
6372
+ getClosestLocationInRay(startingEdge: Edge, angleThreshold?: number, distanceThreshold?: number): ILocation;
6373
+ /**
6374
+ * getDirections takes one or more origin node ids, one or more destination node ids
6375
+ * and returns a distance, array of directives, and an array of nodes that define the
6376
+ * path to take.
6377
+ *
6378
+ * The returned directives array defines nodes, vortexes, and locations along the path
6379
+ * along with text directions.
6380
+ *
6381
+ * @param originIds array - of one or more node ids
6382
+ * @param destinationNodeIds array - of onr or more node ids
6383
+ * @param accessible boolean - optional, if true directions will only take accessible route, defaults to false
6384
+ * @param departFrom ILocation - optional, id and name of a location to represent start of journey
6385
+ * @param arriveAt ILocation - optional, id and name of a location to represent end of journey
6386
+ * @param includedVortexIds set - optional, exclude all the vertexes matching the given IDs
6387
+ * @param excludedVortexIds set - optional, exclude all the vertexes matching the given IDs
6388
+ */
6389
+ getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, includedVortexIds, excludedVortexIds, simplify, }: {
6390
+ originIds: string[];
6391
+ includedVortexIds?: Set<string>;
6392
+ excludedVortexIds?: Set<string>;
6393
+ destinationNodeIds: string[];
6394
+ accessible: boolean;
6395
+ departFrom?: ILocation;
6396
+ arriveAt?: ILocation;
6397
+ simplify?: TSimplifyDirectionsOptions;
6398
+ }): IDirectionsResult;
6229
6399
  }
6230
6400
  export default Navigator;
6231
6401
  }
@@ -6362,13 +6532,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal' {
6362
6532
  USER_MULTI_END = 24,
6363
6533
  FOCUSON_BEGIN = 25,
6364
6534
  USER_HANDS_ON = 26,
6365
- USER_HANDS_OFF = 27
6535
+ USER_HANDS_OFF = 27,
6536
+ OUTDOOR_VIEW_LOADED = 28
6366
6537
  }
6367
6538
  export type INTERNAL_EVENT_PAYLOAD = {
6368
6539
  [INTERNAL_EVENT.SET_SCENE_START]: undefined;
6369
6540
  [INTERNAL_EVENT.SET_SCENE_MAP]: undefined;
6370
6541
  [INTERNAL_EVENT.ON_FIRST_MAP_LOADED]: undefined;
6371
6542
  [INTERNAL_EVENT.TEXTURE_LOADED]: Texture;
6543
+ [INTERNAL_EVENT.OUTDOOR_VIEW_LOADED]: undefined;
6372
6544
  [INTERNAL_EVENT.RENDER]: undefined;
6373
6545
  [INTERNAL_EVENT.RENDER_NOW]: undefined;
6374
6546
  [INTERNAL_EVENT.UPDATE_FLIPPABLES]: undefined | boolean;
@@ -6437,6 +6609,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal' {
6437
6609
  export { default as SmartCollisionEngine } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollisionEngine';
6438
6610
  export { default as BillboardManager } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/BillboardManager';
6439
6611
  export { default as StackedMapsController } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/StackedMapsController';
6612
+ export { MultiBufferRenderer } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Renderer';
6613
+ export { default as OutdoorViewController } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/OutdoorViewController';
6440
6614
  /**
6441
6615
  * Types
6442
6616
  */
@@ -6473,7 +6647,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6473
6647
  export type { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController';
6474
6648
  export type { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
6475
6649
  export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
6476
- export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator';
6650
+ export type { IDirectionsResult, TSimplifyDirectionsOptions, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES, } from '@mappedin/react-native-sdk/core/packages/navigator';
6477
6651
  /**
6478
6652
  * APIs for TypeDoc
6479
6653
  */
@@ -6484,6 +6658,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6484
6658
  export type { Markers } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Markers';
6485
6659
  export type { Paths } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Paths';
6486
6660
  export type { StackedMaps } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/StackedMaps';
6661
+ export type { OutdoorView } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/OutdoorView';
6487
6662
  export type { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
6488
6663
  export type TMappedinInitializeOutput = {
6489
6664
  mapView: MapView;
@@ -6512,10 +6687,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6512
6687
  export { getVenue, getVenueMVF, getVenueBundle, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, hydrateVenue, PositionUpdater, MappedinDestinationSet, };
6513
6688
  import DefaultAssetManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.AssetManager';
6514
6689
  import { TTileManagerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.TileManager';
6690
+ import { TShowWatermarkOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/WatermarkController';
6515
6691
  /**
6516
6692
  * @internal
6517
6693
  */
6518
- const setAssetManager: <T extends DefaultAssetManager>(am: T) => void;
6694
+ const setAssetManager: any;
6519
6695
  export {
6520
6696
  /**
6521
6697
  * @internal
@@ -6529,7 +6705,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6529
6705
  export type { TMappedinInitializeOptions };
6530
6706
  export * from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
6531
6707
  export type { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/public/MapView';
6532
- export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as CameraController, } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
6708
+ export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraInteractionsSetOptions, TCameraAnimationOptions, default as CameraController, } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
6533
6709
  export type { TGetVenueOptions, TGetVenueBundleOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, TDirectionToOptions, TPicture, TImage, TColor, TGalleryImage, TOpeningHours, TPhone, TSiblingGroup, TSocial, TState, TGeoReference, TPolygonRanking, TOperationHoursMap, TAccessors, } from '@mappedin/react-native-sdk/core/packages/get-venue';
6534
6710
  export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, MappedinLocationState, } from '@mappedin/react-native-sdk/core/packages/get-venue';
6535
6711
  /**
@@ -6541,7 +6717,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6541
6717
  export { CustomerAnalytics } from '@mappedin/react-native-sdk/core/packages/get-venue';
6542
6718
  export { BundleAssetManager } from '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-manager';
6543
6719
  /**
6544
- * @experimental
6720
+ * @deprecated Use {@link OutdoorView} instead.
6545
6721
  * Enable Tile Manager to render outdoor tiles around the venue. Must be called before {@link showVenue}.
6546
6722
  *
6547
6723
  * @example
@@ -6557,6 +6733,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6557
6733
  * ```
6558
6734
  */
6559
6735
  export function __enableTileManager(options?: TTileManagerOptions): void;
6736
+ /**
6737
+ * @hidden
6738
+ * @internal
6739
+ *
6740
+ * Show a Mappedin logo in the 3D scene. Must be called before {@link showVenue}.
6741
+ */
6742
+ export function __showWatermark(options?: TShowWatermarkOptions): void;
6560
6743
  export type { TTileManagerOptions, TILE_RENDER_MODES } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.TileManager';
6561
6744
  export {
6562
6745
  /**
@@ -6574,6 +6757,29 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
6574
6757
  IOutdoorContextProvider, } from './internal/outdoor-context/Outdoor-Context.provider';
6575
6758
  }
6576
6759
 
6760
+ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/WatermarkController' {
6761
+ import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
6762
+ import { Sprite } from 'three';
6763
+ type TPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' | 'top' | 'bottom' | 'left' | 'right';
6764
+ export type TShowWatermarkOptions = {
6765
+ padding?: number;
6766
+ position?: TPosition;
6767
+ scale?: number;
6768
+ onClick?: () => void;
6769
+ };
6770
+ class WatermarkController {
6771
+ #private;
6772
+ static ENABLED: boolean;
6773
+ static OPTIONS: Required<TShowWatermarkOptions>;
6774
+ object: Sprite;
6775
+ constructor(core: ICore);
6776
+ show: () => void;
6777
+ hide: () => void;
6778
+ resize: () => void;
6779
+ }
6780
+ export default WatermarkController;
6781
+ }
6782
+
6577
6783
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/shave-text' {
6578
6784
  export type TDrawFn = (ctx: CanvasRenderingContext2D, x: number, y: number) => void;
6579
6785
  type TShave = (str: string, size: number, maxWidth: number, maxLines?: number, lineHeight?: number, options?: {
@@ -6588,35 +6794,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/shave
6588
6794
  export {};
6589
6795
  }
6590
6796
 
6591
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/fake-geolocation' {
6592
- export default FakeGeolocation;
6593
- class FakeGeolocation {
6594
- constructor(options: any);
6595
- active: boolean;
6596
- positions: any[];
6597
- positionIndex: number;
6598
- timerList: any[];
6599
- timeElapsed: number;
6600
- startTime: number | undefined;
6601
- startPos: number;
6602
- endPos: number;
6603
- smoothingType: any;
6604
- isActive(): boolean;
6605
- setCallbacks(success: any, error: any, options: any): void;
6606
- watchPosition(success: any, error: any, options: any): void;
6607
- sendPositionResponse(position: any): void;
6608
- start(): void;
6609
- pause(): void;
6610
- speed: any;
6611
- setPositions(positions: any): void;
6612
- successCallback: any;
6613
- errorCallback: any;
6614
- options: any;
6615
- clearWatch(): void;
6616
- reset(): void;
6617
- }
6618
- }
6619
-
6620
6797
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine' {
6621
6798
  import { IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
6622
6799
  import { E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
@@ -6699,7 +6876,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
6699
6876
  get isMultiFloor(): boolean;
6700
6877
  get mapsInJourney(): any[];
6701
6878
  get mapIdsInvolvedInJourney(): string[];
6702
- constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions | undefined, core: ICore);
6879
+ constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions, core: ICore);
6703
6880
  setStep: (step: any) => void;
6704
6881
  setStepByPath: (path: Path) => void;
6705
6882
  static instance: JourneyController | null;
@@ -6749,13 +6926,14 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Edge' {
6749
6926
  distance: number;
6750
6927
  angle: number;
6751
6928
  weight: number;
6752
- constructor({ origin, destination, vortex, elevationDelta, distance, angle, }: {
6929
+ constructor({ origin, destination, vortex, elevationDelta, distance, angle, pathWeight, }: {
6753
6930
  origin: INode;
6754
6931
  destination: INode;
6755
6932
  vortex?: IVortex;
6756
6933
  elevationDelta?: number;
6757
6934
  distance?: number;
6758
6935
  angle?: number;
6936
+ pathWeight?: number;
6759
6937
  });
6760
6938
  }
6761
6939
  export default Edge;
@@ -6818,6 +6996,22 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IL
6818
6996
  export default ILocation;
6819
6997
  }
6820
6998
 
6999
+ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IPolygon' {
7000
+ interface IPolygon {
7001
+ id: string;
7002
+ map: string;
7003
+ layer?: string;
7004
+ layerId?: string;
7005
+ externalId?: string;
7006
+ name?: string;
7007
+ vertexes: {
7008
+ x: number;
7009
+ y: number;
7010
+ }[];
7011
+ }
7012
+ export default IPolygon;
7013
+ }
7014
+
6821
7015
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.RenderTasks' {
6822
7016
  /**
6823
7017
  * Tasks that can be submitted to the renderer. The `STATIC_AND_ANIMATED` task
@@ -6827,7 +7021,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
6827
7021
  ANIMATED = "animated",
6828
7022
  ALWAYS_ON_TOP = "always_on_top",
6829
7023
  ALL = "all",
6830
- TWEEN = "tween"
7024
+ TWEEN = "tween",
7025
+ ALL_WITHOUT_EFFECTS = "all_without_effects"
6831
7026
  }
6832
7027
  export default RENDER;
6833
7028
  }
@@ -7362,7 +7557,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
7362
7557
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-manager/MapView.SceneManager' {
7363
7558
  import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue';
7364
7559
  import type { ICore, TCameraAnimationOptions, TFocusOnCameraOptions, TCameraTargets } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
7365
- import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
7560
+ import { MapViewScene } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
7366
7561
  export type TSceneTransitionOptions = {
7367
7562
  /**
7368
7563
  * Map to set as active during the transition. This will decide where the camera will be positioned, as well as which
@@ -7423,238 +7618,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-s
7423
7618
  }
7424
7619
  }
7425
7620
 
7426
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapObject' {
7427
- export namespace TASK_PRIORITY {
7428
- const VISIBLE_MAP_HIGH: number;
7429
- const VISIBLE_MAP_LOW: number;
7430
- const VISIBLE_MAP_MARKER: number;
7431
- const ASYNC_MAP_HIGH: number;
7432
- const ASYNC_MAP_LOW: number;
7433
- const ASYNC_MAP_MARKER: number;
7434
- const MAP_LOADED: number;
7435
- }
7436
- export const SCENE_FROM_LIVE_JSON: false;
7437
- /**
7438
- * A handle to a 3D marker added to a map.
7439
- *
7440
- * @class ThreeJSMarkerHandle
7441
- */
7442
- export class ThreeJSMarkerHandle {
7443
- constructor({ mapId, object }: {
7444
- mapId: any;
7445
- object: any;
7446
- });
7447
- _mapId: any;
7448
- _object: any;
7449
- /**
7450
- * Return the ThreeJS object associated with this marker, so that it
7451
- * can be moved around, scaled, etc.
7452
- *
7453
- * @property {Object3D} object
7454
- */
7455
- get object(): any;
7456
- _destroy(): void;
7457
- }
7458
- export default MapObject;
7459
- class MapObject extends PubSub {
7460
- constructor(mapClass: any, polygonMeshesById: any, showCount: any, core: any, loadOptions?: {});
7461
- _flippableImagedById: {};
7462
- _started: boolean;
7463
- _loaderPromise: null;
7464
- _promiseResolve: null;
7465
- hoverableMeshChildren: any[];
7466
- visible: boolean;
7467
- objectsDictionary: {};
7468
- north: null;
7469
- mapScale: null;
7470
- object: any;
7471
- labels: Set<any>;
7472
- tooltips: Set<any>;
7473
- markers: Set<any>;
7474
- box: any;
7475
- textObjects: any[];
7476
- labelBatchCreator: null;
7477
- imagesToFlip: any[];
7478
- seenByCamera: boolean;
7479
- threeJSMarkers: Map<any, any>;
7480
- core: any;
7481
- mapClass: any;
7482
- polygonMeshesById: any;
7483
- _showCount: any;
7484
- loadMethod: string;
7485
- loadAsync: any;
7486
- _taskScheduler: any;
7487
- id: any;
7488
- mapRenderingStrategy: any;
7489
- _highPriorityTasks: FrameTaskGroup;
7490
- _lowPriorityTasks: FrameTaskGroup;
7491
- _markerTasks: FrameTaskGroup;
7492
- _mapLoadedTasks: FrameTaskGroup;
7493
- _visibilityLatch: boolean | null;
7494
- _objLoadedComplete: boolean;
7495
- _objLoaded(object: any): any;
7496
- _objLoadedMerged(object: any): Promise<any>;
7497
- enableImageFlipping(polygonId: any, rotation: any): void;
7498
- fadeIn(options?: {}): {
7499
- start: () => Promise<void>;
7500
- };
7501
- fadeOut(options?: {}): {
7502
- start: () => Promise<void>;
7503
- };
7504
- fade({ direction, duration, delay, easing, onStart, onComplete, layers, }: {
7505
- direction?: string | undefined;
7506
- duration?: number | undefined;
7507
- delay?: number | undefined;
7508
- easing?: any;
7509
- onStart?: (() => void) | undefined;
7510
- onComplete?: (() => void) | undefined;
7511
- layers?: any[] | undefined;
7512
- }): {
7513
- start: () => Promise<void>;
7514
- };
7515
- elements: any;
7516
- boundingBox: {
7517
- min: any;
7518
- max: any;
7519
- } | undefined;
7520
- loadPolygonNow(polygonId: any): void;
7521
- _addElementToScene(element: any): void;
7522
- /** *
7523
- Load the map, if it's not already loaded. Returns the old promise if it's already done, so you can safely call it whenever needed.
7524
-
7525
- If needed, this could be modified to
7526
-
7527
- Returns a Promise that will be Done when the OBJ, MTL and textures have been downloaded, and the objectsDictionary has been generated.
7528
-
7529
- **/
7530
- load(): null;
7531
- loadMethodUsed: string | undefined;
7532
- _dispose(objectToDispose: any): void;
7533
- add(childObjectToAdd: any): void;
7534
- /**
7535
- * Convert lat/lon to local map position vector
7536
- */
7537
- getPositionLatLon(lat: any, lon: any): any;
7538
- /**
7539
- * Previously, each map was centered around 0,0,0 and scaled to fit the map.
7540
- * With scene manager, each map is positioned and scaled relative to the base map/world
7541
- * Since most 3D objects (like blue dot) are added to the map via `getPositionLatLon`, they already
7542
- * have the map's matrix applied, on top of being affected as a child of the map's own transform
7543
- * This method inverts the map's matrix to resolve the double matrix application issue.
7544
- * TODO: investigate a better way to handle this
7545
- */
7546
- addToObject(child: any): void;
7547
- /**
7548
- * Translates objects that are added to the map (such as blue dot), assuming they are added via `getPositionLatLon`,
7549
- * or `convertTo3DMapPosition`, where the map's matrix has already been applied.
7550
- */
7551
- translateChild(child: any, position: any): void;
7552
- getMapScale(): null;
7553
- getNorth(): null;
7554
- disableAllImageFlipping(): void;
7555
- /**
7556
- * Return true if this map has been loaded to the point where it can be
7557
- * manipulated as a complete object. In synchronous mode, this requires all
7558
- * loading tasks to be completed, but in async mode, only high-priority
7559
- * tasks (adding polygons to the world) have to be completed.
7560
- */
7561
- isReady(): boolean;
7562
- /**
7563
- * Return true if this map has been loaded to the point where the only tasks
7564
- * remaining are marker tasks.
7565
- */
7566
- isFullyLoaded(): boolean;
7567
- /**
7568
- * A function that should be called when the map is made visible, in order
7569
- * to kick off its tasks.
7570
- */
7571
- onVisible(): void;
7572
- /**
7573
- * A function that should be called when the map is made invisible, in order
7574
- * to postpone its tasks.
7575
- */
7576
- onInvisible(): void;
7577
- /**
7578
- * Queue a task on this map that will be executed when the high and low
7579
- * priority tasks have been processed.
7580
- */
7581
- addPendingMarkerTask(marker: any, callback: any): void;
7582
- /**
7583
- * Queue a task on this map that must be completed before the map will be
7584
- * considered `isReady` in synchronous loading mode.
7585
- */
7586
- addPendingLowPriorityTask(name: any, callback: any): void;
7587
- /**
7588
- * Queue a task on this map that will be queued when the map is loaded, or
7589
- * immediately if the map has already been loaded.
7590
- */
7591
- addPendingMapLoadedTask(name: any, callback: any): void;
7592
- /**
7593
- * Queue a task on this map that must be completed before the map will be
7594
- * considered `isReady`, and will be evaluated before any low-priority
7595
- * tasks.
7596
- */
7597
- _addPendingHighPriorityTask(name: any, callback: any): void;
7598
- /**
7599
- * Add a ThreeJS marker to this map object. This should be called through
7600
- * the `MapView3D`.
7601
- *
7602
- * @method addThreeJSMarker
7603
- * @param {Object} options
7604
- * @param {Object3D} [options.object] the marker object to add to the scene
7605
- * @param {Vector3} [options.position=null] if provided, sets the object's position on the map
7606
- * @param {Euler} [options.rotation=null] if provided, sets the object's rotation relative to the map
7607
- * @param {Vector3} [options.scale=null] if provided, sets the object's scale relative to the map
7608
- * @return {ThreeJSMarkerHandle} a unique identifier for the marker
7609
- */
7610
- addThreeJSMarker(options: {
7611
- object?: any;
7612
- position?: any;
7613
- rotation?: any;
7614
- scale?: any;
7615
- }): ThreeJSMarkerHandle;
7616
- /**
7617
- * Remove the given `ThreeJSMarker` from this map.
7618
- *
7619
- * @method removeThreeJSMarker
7620
- * @param {ThreeJSMarkerHandle} markerHandle the marker to remove
7621
- * @return {boolean} true if the marker existed on the map and was removed;
7622
- * false if the marker does not exist on the map
7623
- */
7624
- removeThreeJSMarker(markerHandle: ThreeJSMarkerHandle): boolean;
7625
- /**
7626
- * Remove all `ThreeJSMarker` from this map.
7627
- *
7628
- * @method removeThreeJSMarker
7629
- */
7630
- _removeThreeJSMarkers(): void;
7631
- removeLabels(): void;
7632
- /**
7633
- * Called when a task group that may be required for map loading completes,
7634
- * to see if all the relevant task groups have been completed.
7635
- */
7636
- _checkIfLoaded(): void;
7637
- mapLoaded: any;
7638
- /**
7639
- * Called when the root ThreeJS object has been created, and child elements
7640
- * may be added.
7641
- */
7642
- _onRootObjectCreated(): void;
7643
- _popinChildObjects(): void;
7644
- }
7645
- import { PubSub } from "@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub";
7646
- import { FrameTaskGroup } from "@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.TaskScheduler";
7647
- }
7648
-
7649
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.CameraLayers' {
7650
- export default CAMERA_LAYER;
7651
- namespace CAMERA_LAYER {
7652
- const STATIC: number;
7653
- const ANIMATED: number;
7654
- const ALWAYS_ON_TOP: number;
7655
- }
7656
- }
7657
-
7658
7621
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.AssetManager' {
7659
7622
  import { Texture } from 'three';
7660
7623
  import type { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue';
@@ -7677,14 +7640,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-m
7677
7640
  }
7678
7641
  }
7679
7642
 
7680
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.HoverLabel' {
7681
- export default HoverLabel;
7682
- /**
7683
- * @type {any}
7684
- */
7685
- let HoverLabel: any;
7686
- }
7687
-
7688
7643
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollider' {
7689
7644
  import SmartCollisionEngine from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollisionEngine';
7690
7645
  import { Rectangle } from '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-tree';
@@ -7758,7 +7713,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
7758
7713
  mapId: string;
7759
7714
  id: string;
7760
7715
  action: EColliderAction;
7761
- getBoundingBoxForCurrentStrategy: undefined;
7716
+ getBoundingBoxForCurrentStrategy: any;
7762
7717
  rank: number;
7763
7718
  visible: boolean;
7764
7719
  offscreen: boolean;
@@ -7838,11 +7793,16 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
7838
7793
  /**
7839
7794
  * The container element for this marker. This element's position is automatically updated.
7840
7795
  */
7841
- get containerEl(): any;
7796
+ get containerEl(): HTMLDivElement;
7842
7797
  /**
7843
7798
  * The content that was provided when creating this marker.
7844
7799
  */
7845
- get contentEl(): any;
7800
+ get contentEl(): HTMLDivElement;
7801
+ /**
7802
+ * Force an update on the Marker. Call this if the contents of the Marker have changed since
7803
+ * it was created. Otherwise, the Marker may still collide as if it were the original size.
7804
+ */
7805
+ update(): void;
7846
7806
  }
7847
7807
  class MarkersController {
7848
7808
  #private;
@@ -7943,6 +7903,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
7943
7903
  colliderDidMount(): void;
7944
7904
  setAction(action: any): void;
7945
7905
  colliderDidNotFindAHome(): void;
7906
+ colliderDidUpdatePosition(pos: any): void;
7946
7907
  colliderDidGoOffscreen(): void;
7947
7908
  colliderDidUpdateVisiblity(): void;
7948
7909
  }
@@ -8076,7 +8037,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
8076
8037
  };
8077
8038
  static scale: number;
8078
8039
  static overlayHeight: number;
8079
- static getDefaultMaterial(): any;
8040
+ static getDefaultMaterial(): MeshLambertMaterial;
8080
8041
  static getWeightedCenter(vertices: any): any;
8081
8042
  static getBoundingCentre(vertices: any): {
8082
8043
  x: number;
@@ -8099,7 +8060,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
8099
8060
  };
8100
8061
  load(): Promise<this>;
8101
8062
  _addLabel(poly: MappedinPolygon, mapClass: MappedinMap): void;
8102
- static imagesLoadingInProgress: Map<string, Promise<[any, any]>>;
8063
+ static imagesLoadingInProgress: Map<string, Promise<[Texture, MeshLambertMaterial]>>;
8103
8064
  _addImage(polygon: MappedinPolygon, mapClass: MappedinMap): void;
8104
8065
  static _normalizeColor(color: any): number;
8105
8066
  static _getMaterial(color: string, opacity: number, map: MappedinMap['id']): any;
@@ -8108,14 +8069,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
8108
8069
  export default Element;
8109
8070
  }
8110
8071
 
8111
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.FlippableImage' {
8112
- export default FlippableImage;
8113
- /**
8114
- * @type {any}
8115
- */
8116
- let FlippableImage: any;
8117
- }
8118
-
8119
8072
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonColorsController' {
8120
8073
  import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
8121
8074
  class PolygonColorsController {
@@ -8207,115 +8160,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8207
8160
  export default ThreeDMarkersController;
8208
8161
  }
8209
8162
 
8210
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager' {
8211
- export const DEFAULT_MIN_RADIUS: 8;
8212
- export const DEFAULT_MAX_RADIUS: 65;
8213
- export const DEFAULT_RADIUS_UPDATE_INTERVAL: 3;
8214
- export default BlueDotManager;
8215
- /**
8216
- * @private
8217
- * An interface for showing a position (typically the user's position) on a 3D map.
8218
- *
8219
- * @class BlueDotManager
8220
- */
8221
- class BlueDotManager extends PubSub {
8222
- /**
8223
- * @param [options.minRadius] The ring around the blue dot will only be drawn if `options.radius` is greater than or equal to this value, in metres. Must be >= 0.
8224
- * @param [options.radiusUpdateInterval] The width of radius update steps, in metres. For example, if interval is 3 and assume `minRadius` is 8, then the radius will be updated on 8, 11, 14, 17, etc. Must be >= 0.
8225
- */
8226
- constructor({ threeDMarkerLayer, core, minRadius, maxRadius, radiusUpdateInterval, radiusTweenOptions, }?: {
8227
- threeDMarkerLayer: any;
8228
- core: any;
8229
- minRadius?: number | undefined;
8230
- maxRadius?: number | undefined;
8231
- radiusUpdateInterval?: number | undefined;
8232
- radiusTweenOptions?: {
8233
- duration: number;
8234
- easing: any;
8235
- } | undefined;
8236
- });
8237
- threeDMarkerLayer: any;
8238
- core: any;
8239
- minRadius: number;
8240
- maxRadius: number;
8241
- radiusUpdateInterval: number;
8242
- radiusTweenOptions: {
8243
- duration: number;
8244
- easing: any;
8245
- };
8246
- /**
8247
- * The current state of the 3D blue dots. Null if blue dot is not currently being displayed.
8248
- */
8249
- state: any;
8250
- /**
8251
- * The last known radius that was set, in the original metres units.
8252
- */
8253
- prevRadius: any;
8254
- /**
8255
- * Used to animate the blue dot accuracy ring size change.
8256
- */
8257
- radiusTween: any;
8258
- /**
8259
- * The last known bearing angle that was set, in degrees.
8260
- */
8261
- prevBearing: any;
8262
- /**
8263
- * Used to animate the blue dot bearing angle change.
8264
- */
8265
- bearingTween: any;
8266
- /**
8267
- The current zoom level, so new dots can be added at the proper size.
8268
- */
8269
- currentX: any;
8270
- /**
8271
- * Calculates the new radius given the candidate value as well as other relevant parameters. @see constructor
8272
- * @param {number} candidateRadius
8273
- */
8274
- computeNewRadius(candidateRadius: number): number;
8275
- updateBlueDotSize(): void;
8276
- setBlueDotSizeFromZoom(cameraX: any): void;
8277
- /**
8278
- * Update the state of the 3D blue dot, creating blue dots if necessary.
8279
- *
8280
- * @method update
8281
- * @param {Object} options
8282
- * @param {Coordinates} options.coordinates The lat-long coordinates for the blue dot. Follows the Coordinates Web API.
8283
- * @param {string} [options.mode]
8284
- * @param {number} [options.bearing] The angle in degrees around the blue dot at which the bearing indicator should appear.
8285
- * @param {number} options.radius The outer radius of the blue dot, in metres.
8286
- * @param {string} [options.mapId] The primary map of the blue dot. Specify this or options.map.
8287
- * @param {MapObject} [options.map] The primary map of the blue dot. Specify this or options.mapId.
8288
- * @param {number} [options.minRadius] The ring around the blue dot will only be drawn if `options.radius` is greater than or equal to this value. Must be >= 0.
8289
- * @param {number} [options.minRadiusDelta] The minimum amount by which the radius must change in order for the blue dot ring radius to be updated. Must be >= 0.
8290
- * @param {string} [options.baseColor] Base Color of Active Blue Dot that we use to interpolate into other variants
8291
- */
8292
- update(options: {
8293
- coordinates: any;
8294
- mode?: string | undefined;
8295
- bearing?: number | undefined;
8296
- radius: number;
8297
- mapId?: string | undefined;
8298
- map?: any;
8299
- minRadius?: number | undefined;
8300
- minRadiusDelta?: number | undefined;
8301
- baseColor?: string | undefined;
8302
- }): void;
8303
- blueDots: any[] | undefined;
8304
- positionTween: any;
8305
- currentPositionLatLon: any;
8306
- animateBearing(fromBearing: any, toBearing: any): void;
8307
- setBearing(bearing: any): void;
8308
- getBlueDotForMap(mapOrMapId: any): any;
8309
- /**
8310
- * Remove the 3D blue dot from the maps.
8311
- *
8312
- * @method cleanup
8313
- */
8314
- cleanup(): void;
8315
- }
8316
- import { PubSub } from "@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub";
8317
- }
8318
-
8319
8163
  declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/EventSystem' {
8320
8164
  import { Object3D, Color } from 'three';
8321
8165
  import type { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
@@ -8376,6 +8220,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8376
8220
  detectCollidersUnderMouse: () => any[];
8377
8221
  detectPolygonsUnderMouse: () => string[];
8378
8222
  detectPathsUnderMouse: () => Path[];
8223
+ detectWatermarkUnderMouse: () => boolean;
8379
8224
  detectMapsUnderMouse: () => any;
8380
8225
  getMouseMapPosition: () => {
8381
8226
  x: number;
@@ -8383,36 +8228,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8383
8228
  };
8384
8229
  checkMouseIntersectsBlueDot: () => boolean;
8385
8230
  doHoverEffect: () => void;
8386
- onPolygonHoverOut: (polygonId: any) => false | undefined;
8387
- onPolygonHoverOver: (polygon: any) => false | undefined;
8231
+ onPolygonHoverOut: (polygonId: any) => boolean;
8232
+ onPolygonHoverOver: (polygon: any) => boolean;
8388
8233
  setHoverColor: (color: string) => void;
8389
8234
  destroy(): void;
8390
8235
  }
8391
8236
  export default EventSystem;
8392
8237
  }
8393
8238
 
8394
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.ClosedPolygonManager' {
8395
- export default ClosedPolygonManager;
8396
- class ClosedPolygonManager {
8397
- constructor({ scene, getPolygonMeshFromId, tryRendering }: {
8398
- scene: any;
8399
- getPolygonMeshFromId: any;
8400
- tryRendering: any;
8401
- });
8402
- scene: any;
8403
- getPolygonMeshFromId: any;
8404
- tryRendering: any;
8405
- stencilSheet: any;
8406
- polygonsMarkedAsClosed: {};
8407
- onMapChanged(map: any): void;
8408
- currentMap: any;
8409
- dispose(): void;
8410
- markPolygonAsClosed(polygonId: any): void;
8411
- markPolygonAsOpen(polygonId: any): void;
8412
- markAllPolygonsAsOpen(): void;
8413
- }
8414
- }
8415
-
8416
8239
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BinaryAssetManager' {
8417
8240
  import { Texture } from 'three';
8418
8241
  /**
@@ -8563,17 +8386,17 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8563
8386
  nodes: MappedinNode[];
8564
8387
  };
8565
8388
  options: {
8566
- zoom?: number | undefined;
8389
+ zoom?: number;
8567
8390
  tilt: number;
8568
8391
  rotation: number;
8569
- position?: MappedinNode | import("../../internal").MappedinCoordinate | undefined;
8392
+ position?: MappedinNode | import("../../internal").MappedinCoordinate;
8570
8393
  easing: CAMERA_EASING_MODE;
8571
8394
  };
8572
8395
  };
8573
- })[] | undefined;
8396
+ })[];
8574
8397
  getDisableOptions: (params: TParams) => (MapViewScene | {
8575
8398
  activeMap: MappedinMap;
8576
- })[] | undefined;
8399
+ })[];
8577
8400
  getShowOverviewOptions: (params: TParams) => (MapViewStackScene | {
8578
8401
  activeMap: MappedinMap;
8579
8402
  focusOn: {
@@ -8582,8 +8405,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8582
8405
  duration: number;
8583
8406
  };
8584
8407
  };
8585
- verticalDistanceBetweenMaps: number | undefined;
8586
- })[] | undefined;
8408
+ verticalDistanceBetweenMaps: number;
8409
+ })[];
8587
8410
  getScrollToMapOptions: (params: TParams) => (MapViewStackScene | {
8588
8411
  focusOn: {
8589
8412
  targets: {
@@ -8595,7 +8418,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8595
8418
  };
8596
8419
  };
8597
8420
  activeMap: MappedinMap;
8598
- })[] | undefined;
8421
+ })[];
8599
8422
  getEnableOptions: (params: TParams) => void;
8600
8423
  getShowOverviewTransition: (options: any) => () => Promise<void>;
8601
8424
  getZoomInToMapTransition: (options: any) => () => Promise<void>;
@@ -8607,12 +8430,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
8607
8430
  exec(transitions: TTargetTransitionFunction[] | void, params: TParams): Promise<void>;
8608
8431
  disable: () => Promise<void>;
8609
8432
  enable: (opts?: {
8610
- verticalDistanceBetweenMaps?: number | undefined;
8611
- } | undefined) => Promise<void>;
8433
+ verticalDistanceBetweenMaps?: number;
8434
+ }) => Promise<void>;
8612
8435
  get nodesInJourney(): MappedinNode[];
8613
8436
  showOverview: () => Promise<void>;
8614
8437
  scrollToMap: (map: MappedinMap) => Promise<void>;
8615
- zoomInToMap: (map: MappedinMap, cameraTransform?: TCameraTransform | undefined) => Promise<void>;
8438
+ zoomInToMap: (map: MappedinMap, cameraTransform?: TCameraTransform) => Promise<void>;
8616
8439
  get currentMap(): MappedinMap;
8617
8440
  }
8618
8441
  export default StackedMapsController;
@@ -8652,564 +8475,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
8652
8475
  export default BlueDotUI;
8653
8476
  }
8654
8477
 
8655
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/utils' {
8656
- /**
8657
- * Utils function listing
8658
- *
8659
- * - scrubMaterial
8660
- * - getDeviceID
8661
- * - getSessionID
8662
- * - getObjectID
8663
- * - getObject
8664
- * - getBoundingBox
8665
- * - getBiggestBoundingBox
8666
- * - upackBoundingBox
8667
- * - getMapScale
8668
- * - throttle -> taken from lodash.js
8669
- * - getProjectionScaleFactor
8670
- * - getZoom
8671
- */
8672
- export function isGatewayKey(key: any): boolean;
8673
- export function getCombinedBoundingBox(objects: any): any;
8674
- export function getMapsBoundingBox(maps: any, mapPadding: any): any;
8675
- export function scrubMaterial(material: any): void;
8676
- export function getDeviceID(): string;
8677
- export function getSessionID(): string;
8678
- export function getObjectId(object: any): any;
8679
- export function getObject(obj: any, array: any): any;
8680
- export function getBoundingBox(object: any): any;
8681
- export function getBiggestBoundingBox(objects: any): {
8682
- min: any;
8683
- max: any;
8684
- };
8685
- export function unpackBoundingBox(boundingBox: any): any[];
8686
- export function getMapScale(map: any): number;
8687
- export function getNorth(map: any): number;
8688
- export function throttle(func: any, wait: any, options: any): (...args: any[]) => any;
8689
- export function debounce(func: any, wait: any, immediate: any): (...args: any[]) => void;
8690
- export function flatten(list: any): any;
8691
- export function uniq(arr: any): any;
8692
- export function toStyleString(styles: any): string;
8693
- /**
8694
- /* getProjectionScaleFactor()
8695
- /* finds the scale ratio between screen coordinates and 3D coordinates (in X-Z plane)
8696
- /*
8697
- * R
8698
- * /|
8699
- * C : Camera / |
8700
- * PQ : Projection Plane / |
8701
- * OR : Origin / |
8702
- * F : FOV / |
8703
- * Q / |
8704
- * /| |
8705
- * / | |
8706
- * / | |
8707
- * / | |
8708
- * / | |
8709
- * / F/2 | |
8710
- * C ------------P------------ O
8711
- *
8712
- *
8713
- * ProjectionScaleFactor = ( OR / PQ )
8714
- * PQ = canvasHeight / 2
8715
- * CQ = zoom
8716
- *
8717
- * OR / C0 = tan(F/2)
8718
- * so OR = CO * tan(F/2)
8719
- */
8720
- export function getProjectionScaleFactor(FOV: any, canvasHeight: any, zoom: any): number;
8721
- /** getZoom
8722
- *
8723
- * C - Camera, OP -- picture plane (canvas), S - origin,
8724
- * QR - front side of maps Bounding Box, F: FOV
8725
- *
8726
- * Z-axis
8727
- * R_____|______
8728
- * /| | |
8729
- * / | | |
8730
- * P/ | | | maps BB
8731
- * /| | | |
8732
- * / | | | |
8733
- * / | | | |
8734
- * / F |E |T |S |
8735
- * C /--------|-----|-----|-----|------ orthogonal to Y axis, midpoint of focus maps
8736
- * \ | | | |
8737
- * \ | | | |
8738
- * \ | | | |
8739
- * \ | | | |
8740
- * \| | | |
8741
- * O\ | | |
8742
- * \ | | |
8743
- * \|_____|_____|
8744
- * Q
8745
- *
8746
- *
8747
- * We want to get CS, which is the camera zoom
8748
- *
8749
- */
8750
- export function getZoom(focusBox: any, focusBoxHeight: any, FOV: any): any;
8751
- export function calculateTwoDProjections({ maps, width, height, camera }: {
8752
- maps: any;
8753
- width: any;
8754
- height: any;
8755
- camera: any;
8756
- }): any;
8757
- export function splitLine(startNode: any, endNode: any, segments: any): any[];
8758
- export function isObject(item: any): any;
8759
- export function cyrb53(str: any, seed?: number): number;
8760
- export function addMarginMultiplierToBoundingBox(bbox: any, multiplier: any): any;
8761
- export function tweenPromise({ from, to, duration, easing, delay, onUpdate, onStart, onComplete, }: {
8762
- from: any;
8763
- to: any;
8764
- duration?: number | undefined;
8765
- easing?: any;
8766
- delay?: number | undefined;
8767
- onUpdate?: ((_: any) => void) | undefined;
8768
- onStart?: (() => void) | undefined;
8769
- onComplete?: (() => void) | undefined;
8770
- }): {
8771
- start(core: any): Promise<any>;
8772
- };
8773
- export function getPrimaryLocationForPolygon(polygon: any, venue: any): any;
8774
- export function determineStartingMap(venue: any, options: any): any;
8775
- }
8776
-
8777
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapManager' {
8778
- export default MapManager;
8779
- class MapManager extends PubSub {
8780
- constructor(polygonMeshesById: any, renderer: any, core: any, taskScheduler: any, loadOptions?: {});
8781
- mapObjects: Map<any, any>;
8782
- currentMap: undefined;
8783
- object: any;
8784
- _showCount: number;
8785
- _mapObjectsSortedByElevationDirty: boolean;
8786
- expanded: boolean;
8787
- polygonMeshesById: any;
8788
- core: any;
8789
- renderer: any;
8790
- loadOptions: {};
8791
- addMap(mapClass: any, callback?: () => void): any;
8792
- setMap(mapClassOrId: any, callback: any): Promise<any>;
8793
- removeMap(mapClassOrId: any): void;
8794
- removeAllMaps(): void;
8795
- loadMaps(maps: any, startingMap: any, onFirstMapLoaded?: () => void, onDataLoaded?: () => void, onError?: () => void): void;
8796
- /**
8797
- * Expand maps to display within view, typically used for multi-floor navigation. When passed a connection, maps included will not be displayed, instead, their 2d projection
8798
- will be available in the resulting promise, which can be used to display a 2D component in the client-side app.
8799
- *
8800
- * @method expandMaps
8801
- * @param mapIds {Array} Array of mapIds or mapObjects to display while expanded. For connections, pass &#123; connection: true, maps: [], connectionNodes: [], &#125;
8802
- * @param options {Object} Options object @optional
8803
- @param [options.focus=false] {Boolean} Focus the camera onto expanded maps
8804
- @param [options.debug=false] {Boolean} Display cubes around focus bounding box for debug info
8805
- @param [options.rotation=0] {Number} Rotation of scene relative to zero (degrees)
8806
- @param [options.duration=300] {Number} Duration of focus animation in ms
8807
- @returns {Promise} Promise that resolves to 2d screen projections of each layer/map (see example)
8808
- @example
8809
- // expand maps with 3 connection maps in between
8810
- expandMaps(
8811
- '55e89771d982bc06ca000000',
8812
- {
8813
- connection: true,
8814
- // connection nodes are an exit node from the '55e89771' man and entry node for the '55e9c73f' map
8815
- connectionNodes: [{
8816
- map: "55e89771",
8817
- x: 6232,
8818
- y: 4575
8819
- }, {
8820
- map: "55e9c73",
8821
- x: 5945.000000000001,
8822
- y: 4059.000000000001
8823
- }],
8824
- maps: [
8825
- '55e9acbf',
8826
- '55e8a9ed',
8827
- '55e85e23'
8828
- ]
8829
- },
8830
- '55e9c73f'
8831
- );
8832
-
8833
- // resulting promise (sorted by elevation (top to bottom))
8834
-
8835
- [
8836
- {
8837
- min: { x: -100, y: -50 },
8838
- max: { x: -100, y: -50 }
8839
- },
8840
- {
8841
- min: { x: -100, y: -50 },
8842
- max: { x: -100, y: -50 }
8843
- },
8844
- {
8845
- min: { x: -100, y: -50 },
8846
- max: { x: -100, y: -50 }
8847
- }
8848
- ]
8849
- */
8850
- expandMaps(mapsToExpand: any, options: any): Promise<any>;
8851
- /**
8852
- * Contract maps and display the current map
8853
- *
8854
- * @method contractMaps
8855
- * @param options {Object} Options object @optional
8856
- @param [options.focus] {Boolean} Focus the camera onto current map
8857
- @param [options.debug] {Boolean} Display cubes around focus bounding box for debug info
8858
- @param [options.duration=300] {Number} Duration of focus animation in ms
8859
- */
8860
- contractMaps(options?: any): Promise<any>;
8861
- expandPanBounds(bounds: any): void;
8862
- /**
8863
- * This can be used to invoke a callback function for _every_ set map invocation.
8864
- * @param {Function} cb callback function
8865
- */
8866
- addPersistentSetMapCallback(cb: Function): void;
8867
- persistentSetMapCallbacks: any;
8868
- setMapCallbacks: any[] | undefined;
8869
- get mapObjectsSortedByElevation(): any[];
8870
- _mapObjectsSortedByElevation: any[] | undefined;
8871
- get visibleMaps(): any[];
8872
- getCompoundBoundingBoxPoints(objects: any): any[];
8873
- multiFloorView: MultiFloorView | undefined;
8874
- renderedMaps: any[] | undefined;
8875
- projections: any[] | undefined;
8876
- mapsFullyLoaded(callback?: () => void): Promise<void>;
8877
- /**
8878
- * Scroll maps up
8879
- * This will shift maps down to show next one (above)
8880
- */
8881
- scrollMapsUp(): Promise<any>;
8882
- /**
8883
- * Scroll maps down
8884
- * This will shift maps up to show next one (below)
8885
- */
8886
- scrollMapsDown(): Promise<any>;
8887
- tiltMaps(tilt: any): void;
8888
- resize(): void;
8889
- }
8890
- import { PubSub } from "@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub";
8891
- import MultiFloorView from "@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MultiFloorView";
8892
- }
8893
-
8894
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.DebugUI' {
8895
- /**
8896
- * A DOM element that can be populated with performance information.
8897
- *
8898
- * @class DebugUI
8899
- * @private
8900
- */
8901
- export default class DebugUI {
8902
- _element: HTMLDivElement;
8903
- _titleElement: HTMLSelectElement;
8904
- _minimizeElement: HTMLButtonElement;
8905
- _performancePanelElement: HTMLDivElement;
8906
- _performanceEntries: Map<any, any>;
8907
- _sortedPerformanceEntryNames: any[];
8908
- _overviewGraph: LineGraph;
8909
- _controlPanels: Map<any, any>;
8910
- _sortedControlPanelNames: any[];
8911
- _minimized: boolean;
8912
- destroy(): void;
8913
- /**
8914
- * Return the DOM element used by this `DebugUI`, which may be
8915
- * added as a child of any other DOM element to display it.
8916
- *
8917
- * @method element
8918
- * @return {Element} the ui's root element
8919
- */
8920
- get element(): Element;
8921
- /**
8922
- * Log the given entries to this performance logger, and update the display
8923
- * accordingly. If a given key isn't already being logged, an entry will be
8924
- * added for it. If a key is being logged but isn't reported, it will be
8925
- * treated as if it had a value of `0` reported.
8926
- *
8927
- * @method reportFramePerformance
8928
- * @param {string -> number} entries the most recent recorded values for each
8929
- * named frame update
8930
- */
8931
- reportFramePerformance(entries: any): void;
8932
- /**
8933
- * Add the given controls to the given panels. More efficient than adding
8934
- * controls one-by-one since it only recomputes positions after all controls
8935
- * are added.
8936
- *
8937
- * @method addDebugControls
8938
- * @param {category: string: [{name: string, description: string, control: DebugUIControl}]} categories
8939
- * a mapping from category to a list of control names and controls
8940
- */
8941
- addDebugControls(categories: any): void;
8942
- /**
8943
- * Add the given control to a panel.
8944
- *
8945
- * @method addDebugControl
8946
- * @param {string} category the name of the panel the control will be put under
8947
- * @param {string} name the name of the control
8948
- * @param {string} description a description for the control (tooltip)
8949
- * @param {DebugUIControl} control the control to add to the panel
8950
- */
8951
- addDebugControl(category: string, name: string, description: string, control: any): void;
8952
- /**
8953
- * Remove the given controls from the UI.
8954
- *
8955
- * @method removeDebugControls
8956
- * @param {category: string: [name: string]} categories
8957
- * a mapping from category to a list of control names to remove
8958
- */
8959
- removeDebugControls(categories: any): void;
8960
- /**
8961
- * Remove the given control from a panel.
8962
- *
8963
- * @method removeDebugControl
8964
- * @param {string} category the name of the panel the control will be put under
8965
- * @param {string} name the name of the control
8966
- */
8967
- removeDebugControl(category: string, name: string): void;
8968
- _addDebugControl(category: any, name: any, description: any, control: any): void;
8969
- _removeDebugControl(category: any, name: any): void;
8970
- _onMinimizeClicked(): void;
8971
- _onCategoryChanged(): void;
8972
- }
8973
- /**
8974
- * A graph on a HTML canvas element that will display the values in the given
8975
- * time series.
8976
- *
8977
- * @class LineGraph
8978
- * @private
8979
- */
8980
- class LineGraph {
8981
- /**
8982
- * Return a new `LineGraph` displaying information from the given list of
8983
- * time series.
8984
- *
8985
- * @constructor
8986
- * @param {[TimeSeries]} seriesList the list of time series that will be
8987
- * displayed on this graph.
8988
- * @param {number} width the width of this canvas element, in pixels
8989
- * @param {number} height the width of this canvas element, in pixels
8990
- */
8991
- constructor({ seriesList, width, height }: [TimeSeries]);
8992
- _gradients: Map<any, any>;
8993
- _canvas: HTMLCanvasElement;
8994
- _context: CanvasRenderingContext2D | null;
8995
- destroy(): void;
8996
- /**
8997
- * @method element
8998
- * @return {Element} DOM element that can be added to display this graph
8999
- */
9000
- get element(): Element;
9001
- /**
9002
- * Clear this canvas and re-draw the time series lines.
9003
- *
9004
- * @method redraw
9005
- */
9006
- redraw(): void;
9007
- /**
9008
- * Set the list of time series that this graph displays.
9009
- *
9010
- * @method setSeriesList
9011
- * @param {[TimeSeries]} series series to display
9012
- */
9013
- setSeriesList(series: [TimeSeries]): void;
9014
- _seriesList: [TimeSeries] | undefined;
9015
- }
9016
- /**
9017
- * A time series that averages values that are reported to it and inserts them
9018
- * into a ring buffer.
9019
- *
9020
- * @class TimeSeries
9021
- * @private
9022
- */
9023
- class TimeSeries {
9024
- constructor({ windowSize, totalAccumulationCount, hue, }: {
9025
- windowSize?: number | undefined;
9026
- totalAccumulationCount?: number | undefined;
9027
- hue?: number | undefined;
9028
- });
9029
- windowSize: number;
9030
- hue: number;
9031
- _totalAccumulationCount: number;
9032
- _ringBuffer: any[];
9033
- _ringBufferLength: number;
9034
- _ringBufferPointer: number;
9035
- _accumulatorValue: number;
9036
- _accumulatorCount: number;
9037
- _changed: boolean;
9038
- destroy(): void;
9039
- /**
9040
- * Incorporate the given value into the time series. This will accumulate up
9041
- * to `LINE_GRAPH_ACCUMULATION_COUNT` values, at which point they will be
9042
- * averaged and inserted into the time series. If the number of averaged entries
9043
- * exceeds `LINE_GRAPH_WINDOW_SIZE`, the ring buffer will drop the oldest
9044
- * entry.
9045
- *
9046
- * This will set the `changed()` flag if an accumulated value has been added
9047
- * to the ring buffer.
9048
- *
9049
- * @method report
9050
- * @param {number} value the value to add to the time series
9051
- */
9052
- report(value: number): void;
9053
- /**
9054
- * Return the entry at the given index in the ring buffer. The value
9055
- * at `length - 1` is the most recently accumulated value.
9056
- *
9057
- * @method at
9058
- * @param {number} i the index to retrieve
9059
- * @return {number} the accumulated value at the given index
9060
- */
9061
- at(i: number): number;
9062
- /**
9063
- * @method maximumValue
9064
- * @return {number} the maximum value in this time series
9065
- */
9066
- maximumValue(): number;
9067
- /**
9068
- * Return true if this time series has changed since the previous `report()`
9069
- * invocation.
9070
- *
9071
- * @method changed
9072
- * @return {boolean}
9073
- */
9074
- changed(): boolean;
9075
- /**
9076
- * Return the number of accumulated values in this time series. Will never
9077
- * exceed `LINE_GRAPH_WINDOW_SIZE`.
9078
- *
9079
- * @return {number} number of accumulated entries
9080
- */
9081
- get length(): number;
9082
- }
9083
- export {};
9084
- }
9085
-
9086
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.DebugUIControl' {
9087
- export class DebugUIScalarSlider {
9088
- constructor({ minimum, maximum, step, current, onValueChanged }: {
9089
- minimum: any;
9090
- maximum: any;
9091
- step: any;
9092
- current: any;
9093
- onValueChanged: any;
9094
- });
9095
- _minimum: any;
9096
- _maximum: any;
9097
- _step: any;
9098
- _onValueChanged: any;
9099
- _element: HTMLInputElement;
9100
- destroy(): void;
9101
- addValueChangedListener(listener: any): void;
9102
- setValue(value: any): void;
9103
- get element(): HTMLInputElement;
9104
- get value(): string;
9105
- get displayedValue(): string;
9106
- get height(): number;
9107
- }
9108
- export class DebugUICheckbox {
9109
- constructor({ current, onValueChanged }: {
9110
- current: any;
9111
- onValueChanged: any;
9112
- });
9113
- _onValueChanged: any;
9114
- _element: HTMLDivElement;
9115
- _titleElement: HTMLInputElement;
9116
- destroy(): void;
9117
- addValueChangedListener(listener: any): void;
9118
- get element(): HTMLDivElement;
9119
- get titleElement(): HTMLInputElement;
9120
- get value(): boolean;
9121
- get displayedValue(): "true" | "false";
9122
- get height(): number;
9123
- get titleElementWidth(): number;
9124
- }
9125
- export class DebugUIDropdown {
9126
- constructor({ values, current, onValueChanged }: {
9127
- values: any;
9128
- current: any;
9129
- onValueChanged: any;
9130
- });
9131
- _values: any;
9132
- _onValueChanged: any;
9133
- _element: HTMLSelectElement;
9134
- destroy(): void;
9135
- addValueChangedListener(listener: any): void;
9136
- get element(): HTMLSelectElement;
9137
- get value(): string;
9138
- get displayedValue(): string;
9139
- get height(): number;
9140
- }
9141
- export class DebugUIButton {
9142
- constructor({ label, onClick }: {
9143
- label: any;
9144
- onClick: any;
9145
- });
9146
- _onClick: any;
9147
- _element: HTMLButtonElement;
9148
- destroy(): void;
9149
- addValueChangedListener(): void;
9150
- addClickListener(listener: any): void;
9151
- get element(): HTMLButtonElement;
9152
- get value(): string;
9153
- get displayedValue(): string;
9154
- get height(): number;
9155
- }
9156
- export class DebugUIColorPicker {
9157
- constructor({ current, onValueChanged }: {
9158
- current: any;
9159
- onValueChanged: any;
9160
- });
9161
- _onValueChanged: any;
9162
- _element: HTMLDivElement;
9163
- _titleElement: HTMLDivElement;
9164
- _color: any;
9165
- _listeners: any[];
9166
- _colorPickerMain: HTMLCanvasElement;
9167
- _colorPickerBottomSlider: HTMLCanvasElement;
9168
- _requestAnimationFrameHandle: number | null;
9169
- _requestAnimationFrameUpdate(): void;
9170
- _pickingMain: boolean;
9171
- _pickingX: number;
9172
- _pickingY: number;
9173
- _moveListener: (e: any) => void;
9174
- _upListener: any;
9175
- _pickingBottomSlider: boolean;
9176
- _bottomMoveListener: (e: any) => void;
9177
- _bottomUpListener: any;
9178
- _mode: string;
9179
- _modeButtons: {};
9180
- destroy(): void;
9181
- _destroyed: boolean | undefined;
9182
- addValueChangedListener(listener: any): void;
9183
- setValue(color: any): void;
9184
- _requestAnimationFrame(): void;
9185
- _notify(): void;
9186
- _updateMain(x: any, y: any): void;
9187
- _updateBottomSlider(x: any): void;
9188
- redraw(): void;
9189
- get element(): HTMLDivElement;
9190
- get titleElement(): HTMLDivElement;
9191
- get value(): any;
9192
- get displayedValue(): string;
9193
- get height(): number;
9194
- get titleElementWidth(): number;
9195
- }
9196
- export class DebugUIPanel {
9197
- constructor({ name }: {
9198
- name: any;
9199
- });
9200
- _name: any;
9201
- _element: HTMLDivElement;
9202
- _entries: any[];
9203
- _height: number;
9204
- destroy(): void;
9205
- get element(): HTMLDivElement;
9206
- get height(): number;
9207
- addControl(name: any, description: any, control: any): void;
9208
- removeControl(name: any): void;
9209
- _updateLayout(): void;
9210
- }
9211
- }
9212
-
9213
8478
  declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView' {
9214
8479
  import '../internal/Mappedin.css';
9215
8480
  import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
@@ -9227,6 +8492,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
9227
8492
  import { BlueDot } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/BlueDot';
9228
8493
  import { Camera } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Camera';
9229
8494
  import { StackedMaps } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/StackedMaps';
8495
+ import OutdoorView from '@mappedin/react-native-sdk/core/packages/renderer/public/api/OutdoorView';
9230
8496
  /**
9231
8497
  * Primary API class for controlling and interacting with a 3D map.
9232
8498
  */
@@ -9268,6 +8534,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
9268
8534
  * API for showing multiple maps as a vertical stack.
9269
8535
  */
9270
8536
  StackedMaps: StackedMaps;
8537
+ /**
8538
+ * API to control outdoor context rendering.
8539
+ */
8540
+ OutdoorView: OutdoorView;
9271
8541
  /**
9272
8542
  * @hidden
9273
8543
  */
@@ -9281,7 +8551,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
9281
8551
  * @deprecated Please use {@link FloatingLabels.labelAllLocations} or {@link FlatLabels.labelAllLocations} instead.
9282
8552
  * This may be removed in a future version of the SDK. The array this returns is now always empty.
9283
8553
  */
9284
- labelAllLocations(options?: TLabelAllLocationFloatingLabelOptions | TLabelAllLocationFlatLabelOptions): never[];
8554
+ labelAllLocations(options?: TLabelAllLocationFloatingLabelOptions | TLabelAllLocationFlatLabelOptions): any[];
9285
8555
  /**
9286
8556
  * Get the nearest {@link MappedinNode} on a map to an XY-coordinate on the screen.
9287
8557
  * This can be useful for generating directions from an arbitrary point on the map.
@@ -9709,6 +8979,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
9709
8979
  * @returns An array of {@link MappedinPolygon} instances intersecting the given coordinate.
9710
8980
  */
9711
8981
  getPolygonsAtScreenCoordinate(x: number, y: number, options?: TGetPolygonsAtCoordinateOptions): MappedinPolygon[];
8982
+ /**
8983
+ * Create a {@link MappedinCoordinate} on a given {@link MappedinMap} from an XY-coordinate on screen.
8984
+ *
8985
+ * @param x The x value of a screen coordinate.
8986
+ * @param y The y value of a screen coordinate.
8987
+ * @param map The {@link MappedinMap} the coordinate should belong to.
8988
+ * @returns A {@link MappedinCoordinate} on the given map.
8989
+ */
8990
+ getMappedinCoordinateAtScreenCoordinate(x: number, y: number, map: MappedinMap): MappedinCoordinate;
9712
8991
  /**
9713
8992
  * Destroy the mapView instance and reclaim memory.
9714
8993
  *
@@ -9732,7 +9011,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
9732
9011
  import { Tile } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.Tile';
9733
9012
  import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Outdoor-Context.provider';
9734
9013
  /**
9735
- * @experimental
9014
+ * @deprecated Use {@link OutdoorView} instead.
9736
9015
  */
9737
9016
  export enum TILE_RENDER_MODES {
9738
9017
  NORMAL = 0,
@@ -9740,7 +9019,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
9740
9019
  }
9741
9020
  export const TILE_COLOR = "#f0f0f1";
9742
9021
  /**
9743
- * @experimental
9022
+ * @deprecated Use {@link OutdoorView} instead.
9744
9023
  */
9745
9024
  export type TTileManagerOptions = {
9746
9025
  tileRenderMode?: TILE_RENDER_MODES;
@@ -9767,8 +9046,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
9767
9046
  _renderVisibleTiles(): void;
9768
9047
  cachedZoomLevel: number;
9769
9048
  visible: boolean;
9770
- fadeOut(): Promise<any>;
9771
- fadeIn(): Promise<any>;
9049
+ fadeOut(): any;
9050
+ fadeIn(): any;
9772
9051
  fetchTiles(): void;
9773
9052
  zoomLevelToAltitudeMap: number[][];
9774
9053
  plane: Object3D;
@@ -9786,7 +9065,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
9786
9065
  * [ ][7][6][5][ ]
9787
9066
  * [ ][ ][ ][ ][ ]
9788
9067
  */
9789
- populateLayer(layerId: number | undefined, center: MappedinCoordinate, zoomLevel: number, metersPerTile: number, referenceMap: MappedinMap): void;
9068
+ populateLayer(layerId: number, center: MappedinCoordinate, zoomLevel: number, metersPerTile: number, referenceMap: MappedinMap): void;
9790
9069
  checkIfTileIsInBoundingBox(tile: Tile): any;
9791
9070
  }
9792
9071
  }
@@ -9796,8 +9075,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9796
9075
  import { Mesh, PerspectiveCamera, Scene, Vector2 } from 'three';
9797
9076
  import '../internal/object3D.destroy';
9798
9077
  import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
9799
- import { Renderer, TaskScheduler, MapManager, FlatLabel, SmartCollisionEngine, PubSub, INTERNAL_EVENT, INTERNAL_EVENT_PAYLOAD, MapView, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, BillboardManager, StackedMapsController } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
9078
+ import { Renderer, TaskScheduler, MapManager, FlatLabel, SmartCollisionEngine, PubSub, INTERNAL_EVENT, INTERNAL_EVENT_PAYLOAD, MapView, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, BillboardManager, StackedMapsController, OutdoorViewController } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
9800
9079
  import { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
9080
+ import WatermarkController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/WatermarkController';
9801
9081
  export const raycaster: any;
9802
9082
  let Mappedin: any;
9803
9083
  /**
@@ -9837,6 +9117,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9837
9117
  threeDMarkers: ThreeDMarkersController;
9838
9118
  blueDot: BlueDotController;
9839
9119
  camera: CameraController;
9120
+ outdoorViewController?: OutdoorViewController;
9121
+ watermark: WatermarkController;
9840
9122
  options: TMapViewOptions & {
9841
9123
  onDataLoaded?: (data: IMappedin) => void;
9842
9124
  onFirstMapLoaded?: (data: IMappedin) => void;
@@ -9861,6 +9143,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9861
9143
  polygonMeshesById: Record<string, Mesh>;
9862
9144
  textLabelsByPolygonId: Record<string, FlatLabel>;
9863
9145
  labelOrientationDelay: number;
9146
+ isWebGL2: boolean;
9864
9147
  interactivePolygons: Record<string, boolean>;
9865
9148
  mapManager: MapManager | undefined;
9866
9149
  sceneManager: SceneManager | undefined;
@@ -9885,10 +9168,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9885
9168
  * Get all maps that are "visible" in the scene.
9886
9169
  */
9887
9170
  get visibleMapsInCurrentScene(): any[];
9888
- constructor(container: HTMLDivElement, venue: IMappedin, options: (TMapViewOptions & {
9889
- onDataLoaded?: ((data: IMappedin) => void) | undefined;
9890
- onFirstMapLoaded?: ((data: IMappedin) => void) | undefined;
9891
- }) | undefined, MapView: MapView);
9171
+ constructor(container: HTMLDivElement, venue: IMappedin, options: TMapViewOptions & {
9172
+ onDataLoaded?: (data: IMappedin) => void;
9173
+ onFirstMapLoaded?: (data: IMappedin) => void;
9174
+ }, MapView: MapView);
9892
9175
  get currentMap(): string | null;
9893
9176
  setState(state: STATE): Promise<void>;
9894
9177
  getPolygon: (polygon: any) => any;
@@ -9901,7 +9184,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9901
9184
  position: any;
9902
9185
  zoom: any;
9903
9186
  };
9904
- setPadding: (padding?: TPadding | undefined) => void;
9187
+ setPadding: (padding?: TPadding) => void;
9905
9188
  getZoomLevelForPolygon: (polygon: any) => any;
9906
9189
  getZoomLevelForCurrentMap: () => any;
9907
9190
  getZoomLevelForObject: (object: any) => any;
@@ -9914,7 +9197,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9914
9197
  * @param longitude {Number} Longitude of position
9915
9198
  * @returns A position you can use with a Marker either initially or to update later when the user (for example) moves
9916
9199
  */
9917
- getPositionLatLon: (lat: number, lon: number, map?: string | MappedinMap | null | undefined) => any;
9200
+ getPositionLatLon: (lat: number, lon: number, map?: string | MappedinMap | null) => any;
9918
9201
  lockNorth: (element: any, offset?: number) => void;
9919
9202
  unlockNorth: (element: any) => void;
9920
9203
  convertTo3DMapPosition: (nodeOrCoordinate: MappedinNode | MappedinCoordinate) => any;
@@ -9953,9 +9236,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9953
9236
  */
9954
9237
  hideDebugUI: () => void;
9955
9238
  determineNewLabelSize: () => void;
9956
- setMap: (map: string | MappedinMap) => Promise<null>;
9957
- getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions | undefined) => any;
9958
- getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions | undefined) => any;
9239
+ setMap: (map: string | MappedinMap) => Promise<any>;
9240
+ getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions) => any;
9241
+ getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions) => any;
9959
9242
  getNearestNodeByScreenCoordinate(x: number, y: number, mapOrMapId?: MappedinMap | MappedinMap['id']): MappedinNode;
9960
9243
  /**
9961
9244
  * Destroys instance and frees resources
@@ -9969,7 +9252,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core'
9969
9252
 
9970
9253
  declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Camera' {
9971
9254
  import { E_CAMERA_DIRECTION } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
9972
- import CameraController, { TCameraAnimationOptions, TCameraTargets, TCameraTransform, TFocusOnCameraOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
9255
+ import CameraController, { TCameraAnimationOptions, TCameraInteractionsSetOptions, TCameraTargets, TCameraTransform, TFocusOnCameraOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
9973
9256
  /**
9974
9257
  * API to control and respond to the state of the camera within the scene.
9975
9258
  */
@@ -10014,7 +9297,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Cam
10014
9297
  /**
10015
9298
  * The current camera animation, if any. Resolves when the animation finishes.
10016
9299
  */
10017
- get currentAnimation(): Promise<undefined> | undefined;
9300
+ get currentAnimation(): Promise<undefined>;
10018
9301
  /**
10019
9302
  * Current Camera zoom (in meters)
10020
9303
  */
@@ -10078,6 +9361,17 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Cam
10078
9361
  * ```
10079
9362
  */
10080
9363
  interactions: {
9364
+ /**
9365
+ * Enable or disable specific user interactions.
9366
+ *
9367
+ * ```ts
9368
+ * mapView.Camera.interactions.set({ zoom: false });
9369
+ * ```
9370
+ *
9371
+ * @param options An object defining the interactions to switch on or off.
9372
+ *
9373
+ */
9374
+ set: (options: TCameraInteractionsSetOptions) => void;
10081
9375
  /**
10082
9376
  * Enable all user interactions.
10083
9377
  */
@@ -10451,8 +9745,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Sta
10451
9745
  * @returns Promise when all animations are complete.
10452
9746
  */
10453
9747
  enable: (opts?: {
10454
- verticalDistanceBetweenMaps?: number | undefined;
10455
- } | undefined) => Promise<void>;
9748
+ verticalDistanceBetweenMaps?: number;
9749
+ }) => Promise<void>;
10456
9750
  /**
10457
9751
  * @experimental
10458
9752
  *
@@ -10519,7 +9813,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Sta
10519
9813
  *
10520
9814
  * @returns Promise when all animations are complete.
10521
9815
  */
10522
- zoomInToMap: (map: MappedinMap, cameraTransform?: TCameraTransform | undefined) => Promise<void>;
9816
+ zoomInToMap: (map: MappedinMap, cameraTransform?: TCameraTransform) => Promise<void>;
10523
9817
  /**
10524
9818
  * @experimental
10525
9819
  *
@@ -10531,6 +9825,45 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Sta
10531
9825
  }
10532
9826
  }
10533
9827
 
9828
+ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/OutdoorView' {
9829
+ import { OutdoorViewController } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
9830
+ /**
9831
+ * @experimental
9832
+ * API to control outdoor view rendering. Outdoor view can be enabled when
9833
+ * initializing the {@link MapView} with {@link TMapViewOptions.outdoorView.enabled}.
9834
+ * @example
9835
+ * ```typescript
9836
+ * const mapView = await showVenue(document.getElementById('mappedin-map'), venue, {
9837
+ * multiBufferRendering: true,
9838
+ * outdoorView: {
9839
+ * enabled: true,
9840
+ * },
9841
+ * });
9842
+ * ```
9843
+ */
9844
+ export class OutdoorView {
9845
+ #private;
9846
+ /**
9847
+ * @private
9848
+ */
9849
+ constructor(outdoorViewController: OutdoorViewController | undefined);
9850
+ /**
9851
+ *
9852
+ * @param style A style object conforming to the [Maplibre Style Spec](https://maplibre.org/maplibre-style-spec/)
9853
+ * @returns
9854
+ */
9855
+ setStyle(style: any): void;
9856
+ /**
9857
+ * * A position definition for the attribution control to be placed, can be in one of the corners of the map.
9858
+ *
9859
+ * @param {string} style A position definition
9860
+ * @returns
9861
+ */
9862
+ setAttributionPosition(position: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'): void;
9863
+ }
9864
+ export default OutdoorView;
9865
+ }
9866
+
10534
9867
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-tree' {
10535
9868
  export function contains(rect1: Rectangle, rect2: Rectangle): boolean;
10536
9869
  export function intersects(rect1: Rectangle, rect2: Rectangle): boolean;
@@ -10566,105 +9899,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-
10566
9899
  export { QuadTree, Rectangle };
10567
9900
  }
10568
9901
 
10569
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MultiFloorView' {
10570
- export namespace VIEW_STATE {
10571
- const SINGLE_FLOOR: string;
10572
- const MULTI_FLOOR: string;
10573
- }
10574
- export namespace START {
10575
- const TOP: string;
10576
- const BOTTOM: string;
10577
- }
10578
- export namespace DIR {
10579
- const DOWN: string;
10580
- const UP: string;
10581
- }
10582
- export default MultiFloorView;
10583
- class MultiFloorView {
10584
- constructor(mapView: any, object: any, maps: any, options: any);
10585
- _focusMapsStart: string;
10586
- _focusMapsDir: string;
10587
- _focusMapsLen: number;
10588
- _focusAnimCurve: any;
10589
- _focusAnimDuration: number;
10590
- rotationAxis: any;
10591
- mapBoundingBoxes: any[];
10592
- _helperBoundingBoxes: any[];
10593
- mapAxesHelpers: any[];
10594
- mapView: any;
10595
- object: any;
10596
- options: any;
10597
- padding: any;
10598
- rotation: any;
10599
- maps: any;
10600
- debug: any;
10601
- mapSpacing: number;
10602
- mapTilt: number;
10603
- resize(): void;
10604
- focusOnMaps({ start, len, dir, mapIndices, duration, curve, }?: {
10605
- start?: string | undefined;
10606
- len?: number | undefined;
10607
- dir?: string | undefined;
10608
- mapIndices: any;
10609
- duration?: number | undefined;
10610
- curve?: any;
10611
- }): Promise<any>;
10612
- get viewPortHeight(): number;
10613
- get viewPortWidth(): number;
10614
- positionMaps(): void;
10615
- addMaps(maps: any): void;
10616
- removeMaps(): void;
10617
- addMapBoundingBoxes(): void;
10618
- removeMapBoundingBoxes(): void;
10619
- removeHelperBoundingBoxes(): void;
10620
- addAxesHelpers(): void;
10621
- removeAxesHelpers(): void;
10622
- set mapTiltDegrees(arg: number);
10623
- get mapTiltDegrees(): number;
10624
- /**
10625
- * Display 2D screen projections of each 3D map object in the journey. Useful for drawing 2D elements on screen.
10626
- *
10627
- * @attribute projections
10628
- * @readOnly
10629
- *
10630
- * @returns {Array} Array for Objects with min/max x/y values
10631
- * @example
10632
-
10633
- projections = [{
10634
- max: {
10635
- x: 1062.4393974378236,
10636
- y: 745.7583492891705
10637
- },
10638
- min: {
10639
- x: 17.560602562176346,
10640
- y: 225.0806956450056
10641
- }
10642
- ...
10643
- ]
10644
- */
10645
- get projections(): any[];
10646
- tiltMaps(tiltRad: any): void;
10647
- _focusBox: any;
10648
- _scrollWindow: number | undefined;
10649
- tween: any;
10650
- getFocusMaps(start: any, dir: any, len: any): any;
10651
- getFocusBox(): any;
10652
- getVisibleMaps(): any;
10653
- getVisibleMapIds(): any;
10654
- getVisibleMapIndices(): number[];
10655
- getMapsByIndices(indices: any): any;
10656
- get bottomMapVisible(): any;
10657
- get topMapVisible(): any;
10658
- scrollMapsUp(): Promise<any>;
10659
- scrollMapsDown(): Promise<any>;
10660
- destroy(): void;
10661
- }
10662
- }
10663
-
10664
- declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/object3D.destroy' {
10665
- export default Object3D;
10666
- }
10667
-
10668
9902
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.Tile' {
10669
9903
  import { Texture, Mesh, MeshBasicMaterial } from 'three';
10670
9904
  import type { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
@@ -10693,13 +9927,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
10693
9927
  rendered: boolean;
10694
9928
  discardTexture(): void;
10695
9929
  applyTexture(): void;
10696
- render(metersPerTile: number, referenceMap: MappedinMap): any;
9930
+ render(metersPerTile: number, referenceMap: MappedinMap): Mesh;
10697
9931
  }
10698
9932
  }
10699
9933
 
10700
9934
  declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Outdoor-Context.provider' {
10701
9935
  /**
10702
- * @experimental
9936
+ * @deprecated Use {@link OutdoorView} instead.
10703
9937
  * The universal outdoor context interface
10704
9938
  */
10705
9939
  export interface IOutdoorContextProvider {
@@ -10714,7 +9948,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
10714
9948
  fetchAttribution?(zoomLevel: number, bounds: [number, number, number, number]): Promise<Response>;
10715
9949
  }
10716
9950
  /**
10717
- * @experimental
9951
+ * @deprecated Use {@link OutdoorView} instead.
10718
9952
  * Azure maps outdoor context class
10719
9953
  */
10720
9954
  export class AzureOutdoorContextProvider implements IOutdoorContextProvider {
@@ -10736,14 +9970,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
10736
9970
  fetchTile(tileX: number, tileY: number, zoom: number, signal: AbortSignal): Promise<Response>;
10737
9971
  }
10738
9972
  /**
10739
- * @experimental
9973
+ * @deprecated Use {@link OutdoorView} instead.
10740
9974
  * Google maps outdoor context class
10741
9975
  */
10742
9976
  export class GoogleOutdoorContextProvider implements IOutdoorContextProvider {
10743
9977
  apiKey: string;
10744
9978
  sessionToken: string;
10745
9979
  lang: string;
10746
- constructor(lang: string | undefined, apiKey: string);
9980
+ constructor(lang: string, apiKey: string);
10747
9981
  makeURL(x: number, y: number, zoom: number): string;
10748
9982
  /**
10749
9983
  * Returns the Google session token
@@ -10755,7 +9989,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
10755
9989
  fetchTile(tileX: number, tileY: number, zoom: number, signal: any): Promise<Response>;
10756
9990
  }
10757
9991
  /**
10758
- * @experimental
9992
+ * @deprecated Use {@link OutdoorView} instead.
10759
9993
  * OpenStreetMap maps outdoor context class
10760
9994
  */
10761
9995
  export class OpenStreetMapOutdoorContext implements IOutdoorContextProvider {