@mappedin/react-native-sdk 5.9.0 → 5.10.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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// ../three
|
|
7
7
|
// ../@tweenjs/tween.js
|
|
8
8
|
// ../minisearch
|
|
9
|
-
//
|
|
9
|
+
// ../@mappedin/mvf
|
|
10
10
|
|
|
11
11
|
declare module '@mappedin/react-native-sdk' {
|
|
12
12
|
export { MiMapView } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView';
|
|
@@ -427,14 +427,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/index.rn' {
|
|
|
427
427
|
*/
|
|
428
428
|
getVenueBundle, MappedinDestinationSet, Mappedin, randomId, };
|
|
429
429
|
export { labelThemes } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
430
|
-
export type { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
431
|
-
export type { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
430
|
+
export type { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FlatLabels';
|
|
431
|
+
export type { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FloatingLabels';
|
|
432
432
|
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
433
433
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
434
434
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
435
435
|
export type { TGetVenueBundleOptions, TGetVenueOptions, TMappedinDirective, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
436
436
|
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
437
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
437
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
declare module '@mappedin/react-native-sdk/wrappers/common' {
|
|
@@ -449,7 +449,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
449
449
|
import { MappedinCoordinate, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
450
450
|
import type { MappedinCategory, MappedinLocation, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
451
451
|
import { CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, E_CAMERA_DIRECTION, TCameraTransform, TCameraTargets, TFocusOnCameraOptions, TCameraAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
452
|
-
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
452
|
+
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
453
453
|
export type TPolygonColorOptions = {
|
|
454
454
|
color: string;
|
|
455
455
|
opacity?: number;
|
|
@@ -604,7 +604,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
604
604
|
import { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
|
|
605
605
|
import type { Euler, Object3D, Vector3 } from 'three';
|
|
606
606
|
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';
|
|
607
|
-
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
607
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
608
608
|
export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
|
|
609
609
|
/**
|
|
610
610
|
An extension of the GeolocationPosition type.
|
|
@@ -1226,13 +1226,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1226
1226
|
*/
|
|
1227
1227
|
[E_CAMERA_EVENT.TILT_CHANGED]: number;
|
|
1228
1228
|
};
|
|
1229
|
-
export type { default as
|
|
1230
|
-
export type { default as
|
|
1229
|
+
export type { default as BlueDotController } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/BlueDotController';
|
|
1230
|
+
export type { default as Journey } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Journey';
|
|
1231
1231
|
}
|
|
1232
1232
|
|
|
1233
1233
|
declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
1234
1234
|
import type { TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.types';
|
|
1235
1235
|
import { Mappedin } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin';
|
|
1236
|
+
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/core/common/Mappedin.Logger';
|
|
1236
1237
|
/**
|
|
1237
1238
|
* This is how we can avoid bundling in node-fetch (via isomorphic fetch),
|
|
1238
1239
|
* which keeps popping up in security advisories
|
|
@@ -1365,12 +1366,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
|
1365
1366
|
/**
|
|
1366
1367
|
* @internal
|
|
1367
1368
|
*/
|
|
1368
|
-
export function downloadVenueBundleMVF(options: TGetVenueBundleOptions
|
|
1369
|
-
/**
|
|
1370
|
-
* use Web Workers to speed up MVF parsing. This is likely only benefitial for larger venues,
|
|
1371
|
-
* and may be determental to smaller ones, hence it is off by default
|
|
1372
|
-
*/
|
|
1373
|
-
useWorker?: boolean): Promise<unknown>;
|
|
1369
|
+
export function downloadVenueBundleMVF(options: TGetVenueBundleOptions): Promise<unknown>;
|
|
1374
1370
|
/**
|
|
1375
1371
|
* Returns a {@link Mappedin} object hydrated with JSON data.
|
|
1376
1372
|
* @param {string|Object} mappedinSerializableData A JSON string or object representing a venue.
|
|
@@ -1571,9 +1567,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums'
|
|
|
1571
1567
|
}
|
|
1572
1568
|
}
|
|
1573
1569
|
|
|
1574
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
1570
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/FlatLabels' {
|
|
1575
1571
|
import { MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
1576
|
-
import
|
|
1572
|
+
import FlatLabelsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FlatLabelsController';
|
|
1577
1573
|
import { TFlatLabelAllLocationsOptions, TAddFlatLabelOptions, TFlatLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
1578
1574
|
export interface IFlatLabels<T = void> {
|
|
1579
1575
|
/**
|
|
@@ -1611,7 +1607,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.FlatLa
|
|
|
1611
1607
|
/**
|
|
1612
1608
|
* @hidden
|
|
1613
1609
|
*/
|
|
1614
|
-
constructor(controller:
|
|
1610
|
+
constructor(controller: FlatLabelsController);
|
|
1615
1611
|
labelAllLocations(options?: TFlatLabelAllLocationsOptions): void;
|
|
1616
1612
|
add(polygon: MappedinPolygon, text: string, options?: TAddFlatLabelOptions): void;
|
|
1617
1613
|
remove(polygon: MappedinPolygon): void;
|
|
@@ -1621,10 +1617,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.FlatLa
|
|
|
1621
1617
|
}
|
|
1622
1618
|
}
|
|
1623
1619
|
|
|
1624
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
1620
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/FloatingLabels' {
|
|
1625
1621
|
import { MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
1626
1622
|
import { TAddFloatingLabelOptions, TFloatingLabelAllLocationsOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
1627
|
-
import
|
|
1623
|
+
import FloatingLabelsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FloatingLabelsController';
|
|
1628
1624
|
export interface IFloatingLabels<T = void> {
|
|
1629
1625
|
/**
|
|
1630
1626
|
* Adds a floating label to the polygons associated with all locations on the venue.
|
|
@@ -1664,7 +1660,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.Floati
|
|
|
1664
1660
|
/**
|
|
1665
1661
|
* @hidden
|
|
1666
1662
|
*/
|
|
1667
|
-
constructor(controller:
|
|
1663
|
+
constructor(controller: FloatingLabelsController);
|
|
1668
1664
|
labelAllLocations(options?: TFloatingLabelAllLocationsOptions | undefined): void;
|
|
1669
1665
|
add(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions | undefined): void;
|
|
1670
1666
|
setAppearance(polygonOrNode: MappedinPolygon | MappedinNode, appearance: TFloatingLabelAppearance): void;
|
|
@@ -1682,10 +1678,11 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator' {
|
|
|
1682
1678
|
export { Navigator, NavigationGraph };
|
|
1683
1679
|
export type { IDirectionsResult } from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
|
|
1684
1680
|
export { E_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator/Navigator';
|
|
1681
|
+
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/core/common/Mappedin.Logger';
|
|
1685
1682
|
}
|
|
1686
1683
|
|
|
1687
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
1688
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
1684
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController' {
|
|
1685
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
1689
1686
|
import { MappedinNode, MappedinPolygon, MappedinCoordinate } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
1690
1687
|
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub.typed';
|
|
1691
1688
|
import { CAMERA_EVENT_PAYLOAD, TAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
@@ -1728,80 +1725,27 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Camera' {
|
|
|
1728
1725
|
/**
|
|
1729
1726
|
* The Camera object specifies a view of the map and allows manipulation of that view.
|
|
1730
1727
|
*/
|
|
1731
|
-
class
|
|
1728
|
+
class CameraController extends PubSub<CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT> {
|
|
1732
1729
|
#private;
|
|
1730
|
+
core: ICore;
|
|
1731
|
+
currentAnimation?: Promise<undefined>;
|
|
1733
1732
|
/**
|
|
1734
1733
|
*
|
|
1735
1734
|
* @private
|
|
1736
1735
|
*/
|
|
1737
1736
|
constructor(core: ICore);
|
|
1738
|
-
/**
|
|
1739
|
-
* The current camera animation, if any. Resolves when the animation finishes.
|
|
1740
|
-
*/
|
|
1741
|
-
get currentAnimation(): Promise<undefined> | undefined;
|
|
1742
|
-
/**
|
|
1743
|
-
* Current Camera zoom (in meters)
|
|
1744
|
-
*/
|
|
1745
1737
|
get zoom(): number;
|
|
1746
|
-
/**
|
|
1747
|
-
* Current Camera rotation (in radians) from north
|
|
1748
|
-
*/
|
|
1749
1738
|
get rotation(): number;
|
|
1750
|
-
/**
|
|
1751
|
-
* Current camera tilt angle (in radians), relative to a top-down view.
|
|
1752
|
-
*
|
|
1753
|
-
* ex: 0 means the camera is facing top-down, π/2 means the camera is
|
|
1754
|
-
* facing directly from the side.
|
|
1755
|
-
*/
|
|
1756
1739
|
get tilt(): number;
|
|
1757
|
-
/**
|
|
1758
|
-
* Get the minimum distance (in meters) the camera is allowed to get to the ground.
|
|
1759
|
-
*/
|
|
1760
1740
|
get minZoom(): number;
|
|
1761
|
-
/**
|
|
1762
|
-
* Set the minimum distance (in meters) the camera is allowed to get to the ground.
|
|
1763
|
-
*/
|
|
1764
1741
|
set minZoom(meters: number);
|
|
1765
|
-
/**
|
|
1766
|
-
* Get the maximum distance (in meters) the camera is allowed to get from the ground.
|
|
1767
|
-
*/
|
|
1768
1742
|
get maxZoom(): number;
|
|
1769
|
-
/**
|
|
1770
|
-
* Set the maximum distance (in meters) the camera is allowed to get from the ground.
|
|
1771
|
-
*/
|
|
1772
1743
|
set maxZoom(meters: number);
|
|
1773
|
-
/**
|
|
1774
|
-
* Get the current maximum tilt angle (in radians) the camera is allowed to use.
|
|
1775
|
-
*/
|
|
1776
1744
|
get maxTilt(): number;
|
|
1777
|
-
/**
|
|
1778
|
-
* Sets the maximum tilt angle (in radians) the camera is allowed to use.
|
|
1779
|
-
*
|
|
1780
|
-
* Tilt angle must be between 0 and π/2 radians. It will be clamped within
|
|
1781
|
-
* this range if it exceeds it on either end.
|
|
1782
|
-
*
|
|
1783
|
-
* As tilt angle approaches π/2 radians, this will impact overall touch controls
|
|
1784
|
-
* and should be used sparingly.
|
|
1785
|
-
*/
|
|
1786
1745
|
set maxTilt(radians: number);
|
|
1787
|
-
/**
|
|
1788
|
-
* Get the current camera position, which is at the center of the map.
|
|
1789
|
-
* @returns the position as a coordinate
|
|
1790
|
-
*/
|
|
1791
1746
|
get position(): MappedinCoordinate;
|
|
1792
|
-
/**
|
|
1793
|
-
* User camera interactions
|
|
1794
|
-
*/
|
|
1795
1747
|
interactions: {
|
|
1796
|
-
/**
|
|
1797
|
-
* Enable all user interactions. This does not affect programmatic
|
|
1798
|
-
* Camera controls, such as `set` and `focusOn`
|
|
1799
|
-
*/
|
|
1800
1748
|
enable: () => void;
|
|
1801
|
-
/**
|
|
1802
|
-
* Disable all user interactions. This does not affect programmatic
|
|
1803
|
-
* Camera controls, such as `set` and `focusOn`
|
|
1804
|
-
*/
|
|
1805
1749
|
disable: () => void;
|
|
1806
1750
|
};
|
|
1807
1751
|
setSafeAreaInsets(insets: {
|
|
@@ -1810,7 +1754,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Camera' {
|
|
|
1810
1754
|
bottom: number;
|
|
1811
1755
|
right: number;
|
|
1812
1756
|
}): void;
|
|
1813
|
-
getSafeAreaInsets(): import("
|
|
1757
|
+
getSafeAreaInsets(): import("../../MapView.types").TPadding;
|
|
1814
1758
|
/**
|
|
1815
1759
|
* Focus the Camera view on a collection of targets and animate to that state.
|
|
1816
1760
|
* @returns a Promise that resolves when the animation finishes, or rejects when it is cancelled.
|
|
@@ -1836,7 +1780,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Camera' {
|
|
|
1836
1780
|
*/
|
|
1837
1781
|
cancelAnimation(): void;
|
|
1838
1782
|
}
|
|
1839
|
-
export default
|
|
1783
|
+
export default CameraController;
|
|
1840
1784
|
}
|
|
1841
1785
|
|
|
1842
1786
|
declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
@@ -2339,7 +2283,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2339
2283
|
}
|
|
2340
2284
|
|
|
2341
2285
|
declare module '@mappedin/react-native-sdk/wrappers/common/types' {
|
|
2342
|
-
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
2286
|
+
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
2343
2287
|
import type { MappedinNode, MappedinPolygon, TJourneyOptions, TShowVenueOptions, TLabelAllLocationFlatLabelOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
2344
2288
|
export type TFocusOnTargetsSerializable = {
|
|
2345
2289
|
nodes?: MappedinNode['id'][];
|
|
@@ -2423,20 +2367,30 @@ declare module '@mappedin/react-native-sdk/wrappers/common/pub-sub' {
|
|
|
2423
2367
|
}
|
|
2424
2368
|
}
|
|
2425
2369
|
|
|
2426
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface' {
|
|
2427
|
-
import { TPadding } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
2370
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface' {
|
|
2371
|
+
import { BlueDotController, CameraController, STATE, TPadding } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
2428
2372
|
import { MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
2429
2373
|
import { Vector2, Vector3, Mesh } from 'three';
|
|
2430
2374
|
import { changeListenerFn, TGetPolygonsAtCoordinateOptions, TMapViewOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
2431
2375
|
import RENDER from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.RenderTasks';
|
|
2432
|
-
import { INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
2376
|
+
import { INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT } from '@mappedin/react-native-sdk/core/packages/renderer/public/MapView';
|
|
2433
2377
|
import Tween, { Easing } from '@tweenjs/tween.js';
|
|
2434
2378
|
import { TaskScheduler } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.TaskScheduler';
|
|
2435
2379
|
import SceneManager from '@mappedin/react-native-sdk/core/packages/renderer/MapView.SceneManager';
|
|
2436
2380
|
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub.typed';
|
|
2437
2381
|
import { FlatLabel } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.LabelAtlas';
|
|
2438
2382
|
import MapObject from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapObject';
|
|
2439
|
-
import PathsController from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
2383
|
+
import PathsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
2384
|
+
import FloatingLabelsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FloatingLabelsController';
|
|
2385
|
+
import FlatLabelsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FlatLabelsController';
|
|
2386
|
+
import PolygonColorsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonColorsController';
|
|
2387
|
+
import MarkersController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController';
|
|
2388
|
+
import PolygonInteractionController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonInteractionController';
|
|
2389
|
+
import TooltipsController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/TooltipsController';
|
|
2390
|
+
import PolygonStatesController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonStatesController';
|
|
2391
|
+
import PolygonImagesController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonImagesController';
|
|
2392
|
+
import ThreeDMarkersController from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/ThreeDMarkersController';
|
|
2393
|
+
import EventSystem from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/EventSystem';
|
|
2440
2394
|
export type TFocusOptionsLegacy = {
|
|
2441
2395
|
/**
|
|
2442
2396
|
* An array of Nodes to focus in on
|
|
@@ -2489,6 +2443,28 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2489
2443
|
* TODO: Figure out why
|
|
2490
2444
|
*/
|
|
2491
2445
|
export interface ICore extends PubSub<INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT> {
|
|
2446
|
+
/**
|
|
2447
|
+
* Controllers
|
|
2448
|
+
*/
|
|
2449
|
+
eventSystem: EventSystem;
|
|
2450
|
+
floatingLabels: FloatingLabelsController;
|
|
2451
|
+
flatLabels: FlatLabelsController;
|
|
2452
|
+
paths: PathsController;
|
|
2453
|
+
polygonColors: PolygonColorsController;
|
|
2454
|
+
polygonInteraction: PolygonInteractionController;
|
|
2455
|
+
polygonStates: PolygonStatesController;
|
|
2456
|
+
polygonImages: PolygonImagesController;
|
|
2457
|
+
markers: MarkersController;
|
|
2458
|
+
tooltips: TooltipsController;
|
|
2459
|
+
threeDMarkers: ThreeDMarkersController;
|
|
2460
|
+
blueDot: BlueDotController;
|
|
2461
|
+
camera: CameraController;
|
|
2462
|
+
state: STATE;
|
|
2463
|
+
options: TMapViewOptions & {
|
|
2464
|
+
onDataLoaded?: (data: Mappedin) => void;
|
|
2465
|
+
onFirstMapLoaded?: (data: Mappedin) => void;
|
|
2466
|
+
};
|
|
2467
|
+
currentPath?: MappedinNode[];
|
|
2492
2468
|
referenceMap: MappedinMap;
|
|
2493
2469
|
taskScheduler: TaskScheduler;
|
|
2494
2470
|
sceneManager: SceneManager | undefined;
|
|
@@ -2504,7 +2480,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2504
2480
|
cameraParameters: Vector2;
|
|
2505
2481
|
resolution: Vector2;
|
|
2506
2482
|
determineNewLabelSize: any;
|
|
2507
|
-
paths: PathsController;
|
|
2508
2483
|
on<EVENT_NAME extends keyof INTERNAL_EVENT_PAYLOAD>(eventName: EVENT_NAME, fn: (payload: INTERNAL_EVENT_PAYLOAD[EVENT_NAME] extends {
|
|
2509
2484
|
data: null;
|
|
2510
2485
|
} ? INTERNAL_EVENT_PAYLOAD[EVENT_NAME]['data'] : INTERNAL_EVENT_PAYLOAD[EVENT_NAME]) => void): void;
|
|
@@ -2590,7 +2565,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2590
2565
|
* @param hoverableMeshChildren
|
|
2591
2566
|
* @param options {@link TGetPolygonsAtCoordinateOptions}
|
|
2592
2567
|
*/
|
|
2593
|
-
getPolygonsAtScreenCoordinate(
|
|
2568
|
+
getPolygonsAtScreenCoordinate(x: number, y: number, options?: TGetPolygonsAtCoordinateOptions): MappedinPolygon[];
|
|
2594
2569
|
/**
|
|
2595
2570
|
* Returns all polygons at the specified screen coordinate.
|
|
2596
2571
|
*
|
|
@@ -2598,7 +2573,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2598
2573
|
* @param hoverableMeshChildren
|
|
2599
2574
|
* @param options {@link TGetPolygonsAtCoordinateOptions}
|
|
2600
2575
|
*/
|
|
2601
|
-
getPolygonsAtCoordinate(coordinate: MappedinCoordinate,
|
|
2576
|
+
getPolygonsAtCoordinate(coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions): MappedinPolygon[];
|
|
2602
2577
|
currentInteractionEvent: INTERNAL_EVENT | undefined;
|
|
2603
2578
|
interactivePolygons: Record<string, boolean>;
|
|
2604
2579
|
highlightedPolygons: Record<string, string>;
|
|
@@ -2647,6 +2622,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2647
2622
|
focusOn(focusOptions: TFocusOptionsLegacy): Tween;
|
|
2648
2623
|
canvasWidth: number;
|
|
2649
2624
|
canvasHeight: number;
|
|
2625
|
+
setState(state: STATE): Promise<void>;
|
|
2626
|
+
getNearestNodeByScreenCoordinate(x: number, y: number, mapOrMapId?: MappedinMap | MappedinMap['id']): MappedinNode;
|
|
2650
2627
|
destroy(): void;
|
|
2651
2628
|
}
|
|
2652
2629
|
}
|
|
@@ -3310,7 +3287,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3310
3287
|
import { Vector3 } from 'three';
|
|
3311
3288
|
import { TDrawFn } from '@mappedin/react-native-sdk/core/packages/renderer/internal/shave-text';
|
|
3312
3289
|
import type { MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
3313
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
3290
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
3314
3291
|
type TStyle = {
|
|
3315
3292
|
top?: number;
|
|
3316
3293
|
left?: number;
|
|
@@ -3480,7 +3457,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3480
3457
|
enable(updateEngine?: boolean): void;
|
|
3481
3458
|
get totalTextBoxHeight(): number;
|
|
3482
3459
|
get totalTextBoxWidth(): number;
|
|
3483
|
-
get totalMarkerSize():
|
|
3460
|
+
get totalMarkerSize(): any;
|
|
3484
3461
|
get strategies(): TColliderStrategy[];
|
|
3485
3462
|
getCachedSymbol(orientation: any, textAlign: any, xCoordinate: any): any;
|
|
3486
3463
|
invalidate(): void;
|
|
@@ -3507,8 +3484,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3507
3484
|
import { PubSub, IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
|
|
3508
3485
|
import { MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
3509
3486
|
import { TGeolocationObject } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
3510
|
-
import {
|
|
3511
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
3487
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
3512
3488
|
import BlueDotManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager';
|
|
3513
3489
|
export const DEFAULT_BLUE_DOT_COLOR = "#2266ff";
|
|
3514
3490
|
export interface IPositionUpdater extends IPubSub {
|
|
@@ -3584,6 +3560,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3584
3560
|
enableBlueDot: (options?: TEnableBlueDotOptions) => void;
|
|
3585
3561
|
disableBlueDot: () => void;
|
|
3586
3562
|
enableBlueDotOptions: TEnableBlueDotOptions;
|
|
3563
|
+
enabled: boolean;
|
|
3587
3564
|
state: TBlueDotStateChange;
|
|
3588
3565
|
/**
|
|
3589
3566
|
Whether blue dot should be allowed with missing floor level information.
|
|
@@ -3653,13 +3630,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3653
3630
|
export const FALLBACK_TO_GPS_TIMEOUT = 10000;
|
|
3654
3631
|
type TBlueDotProps = {
|
|
3655
3632
|
data: any;
|
|
3656
|
-
mapView: MapView;
|
|
3657
3633
|
core: ICore;
|
|
3658
3634
|
manager: BlueDotManager;
|
|
3659
3635
|
};
|
|
3660
3636
|
export type TLatLonProps = [number, number];
|
|
3661
3637
|
const BlueDot: {
|
|
3662
|
-
({ data,
|
|
3638
|
+
({ data, core, manager }: TBlueDotProps): IBlueDotCore;
|
|
3663
3639
|
FakeGeolocation: typeof FakeGeolocation;
|
|
3664
3640
|
};
|
|
3665
3641
|
export default BlueDot;
|
|
@@ -3744,10 +3720,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3744
3720
|
export default SmartTooltip;
|
|
3745
3721
|
}
|
|
3746
3722
|
|
|
3747
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
3723
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController' {
|
|
3748
3724
|
import { TPathOptions, MappedinNode } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
3749
3725
|
import { ANIMATION_TWEENS } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
3750
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
3726
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
3727
|
+
/**
|
|
3728
|
+
* @hidden
|
|
3729
|
+
* @internal
|
|
3730
|
+
*/
|
|
3751
3731
|
export type TPathOptionsInternal = TPathOptions & {
|
|
3752
3732
|
curve?: typeof ANIMATION_TWEENS;
|
|
3753
3733
|
drawConnectionSegments?: boolean;
|
|
@@ -3755,6 +3735,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3755
3735
|
curve?: typeof ANIMATION_TWEENS;
|
|
3756
3736
|
};
|
|
3757
3737
|
};
|
|
3738
|
+
/**
|
|
3739
|
+
* @hidden
|
|
3740
|
+
* @internal
|
|
3741
|
+
*/
|
|
3758
3742
|
export type TInternalPathSegment = {
|
|
3759
3743
|
id: string;
|
|
3760
3744
|
nodes: MappedinNode[];
|
|
@@ -3784,6 +3768,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3784
3768
|
get nodes(): MappedinNode[];
|
|
3785
3769
|
}
|
|
3786
3770
|
/**
|
|
3771
|
+
* @hidden
|
|
3772
|
+
* @internal
|
|
3773
|
+
*
|
|
3787
3774
|
* Represents all the segments created for a single call to drawPath()
|
|
3788
3775
|
*/
|
|
3789
3776
|
export class InternalPath {
|
|
@@ -3793,6 +3780,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3793
3780
|
options: TPathOptionsInternal;
|
|
3794
3781
|
constructor(nodes: MappedinNode[], pathSegments: TInternalPathSegment[], options: TPathOptionsInternal);
|
|
3795
3782
|
}
|
|
3783
|
+
/**
|
|
3784
|
+
* @hidden
|
|
3785
|
+
* @internal
|
|
3786
|
+
*/
|
|
3796
3787
|
class PathsController {
|
|
3797
3788
|
#private;
|
|
3798
3789
|
constructor(core: ICore);
|
|
@@ -3853,50 +3844,44 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3853
3844
|
export default PathsController;
|
|
3854
3845
|
}
|
|
3855
3846
|
|
|
3856
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
3857
|
-
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
3847
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/BlueDotController' {
|
|
3858
3848
|
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
3859
|
-
import {
|
|
3849
|
+
import { IBlueDotCore } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
3850
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
3860
3851
|
import { TEnableBlueDotOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
3861
3852
|
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub.typed';
|
|
3862
|
-
import EventSystemLayer from '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSystem';
|
|
3863
3853
|
/**
|
|
3854
|
+
* @hidden
|
|
3855
|
+
* @internal
|
|
3856
|
+
*
|
|
3864
3857
|
* Blue Dot Layer used for controlling the Blue Dot and listening to Blue Dot state change and position update events. Use the {@link on}-method to set listeners for {@link TBlueDotStateChange} and {@link TBlueDotPositionUpdate} events.
|
|
3865
3858
|
*/
|
|
3866
|
-
class
|
|
3859
|
+
class BlueDotController extends PubSub<E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT> {
|
|
3867
3860
|
#private;
|
|
3861
|
+
core: ICore;
|
|
3862
|
+
blueDotCore: IBlueDotCore;
|
|
3868
3863
|
/**
|
|
3869
3864
|
* @private
|
|
3870
3865
|
*/
|
|
3871
|
-
constructor(
|
|
3872
|
-
on<EVENT_NAME extends E_BLUEDOT_EVENT>(eventName: EVENT_NAME, fn: (payload: E_BLUEDOT_EVENT_PAYLOAD[EVENT_NAME] extends {
|
|
3873
|
-
data: null;
|
|
3874
|
-
} ? E_BLUEDOT_EVENT_PAYLOAD[EVENT_NAME]['data'] : E_BLUEDOT_EVENT_PAYLOAD[EVENT_NAME]) => void): void;
|
|
3875
|
-
off<EVENT_NAME extends E_BLUEDOT_EVENT>(eventName: EVENT_NAME, fn: (payload: E_BLUEDOT_EVENT_PAYLOAD[EVENT_NAME]) => void): void;
|
|
3876
|
-
/**
|
|
3877
|
-
* Enables Blue Dot. BlueDot then emits {@link TBlueDotStateChange} and {@link TBlueDotPositionUpdate} events via {@link E_BLUEDOT_EVENT}
|
|
3878
|
-
*/
|
|
3866
|
+
constructor(core: ICore);
|
|
3879
3867
|
enable(options?: TEnableBlueDotOptions): void;
|
|
3880
|
-
/**
|
|
3881
|
-
* Disables Blue Dot and stops emitting events.
|
|
3882
|
-
*/
|
|
3883
3868
|
disable(): void;
|
|
3884
3869
|
}
|
|
3885
|
-
export default
|
|
3870
|
+
export default BlueDotController;
|
|
3886
3871
|
}
|
|
3887
3872
|
|
|
3888
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
3889
|
-
import {
|
|
3873
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Journey' {
|
|
3874
|
+
import { TJourneyOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
3890
3875
|
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
3891
|
-
import {
|
|
3892
|
-
import {
|
|
3893
|
-
import {
|
|
3894
|
-
class
|
|
3876
|
+
import { JourneyController } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/JourneyController';
|
|
3877
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
3878
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
3879
|
+
class Journey {
|
|
3895
3880
|
#private;
|
|
3896
3881
|
/**
|
|
3897
3882
|
* @private
|
|
3898
3883
|
*/
|
|
3899
|
-
constructor(
|
|
3884
|
+
constructor(core: ICore);
|
|
3900
3885
|
/**
|
|
3901
3886
|
* Draw a Journey based on directions. Example usage:
|
|
3902
3887
|
*
|
|
@@ -3910,7 +3895,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Journey
|
|
|
3910
3895
|
*
|
|
3911
3896
|
* Use options to set connection (such as elevators and escalators) HTML tooltip template, departure and destination marker templates, path style and polygon higlight color. If no options are set, sane defaults are used to draw markers, tooltips and polygon highlights.
|
|
3912
3897
|
*/
|
|
3913
|
-
draw(directions: MappedinDirections | MappedinDirections[], options?: TJourneyOptions):
|
|
3898
|
+
draw(directions: MappedinDirections | MappedinDirections[], options?: TJourneyOptions): JourneyController;
|
|
3914
3899
|
/**
|
|
3915
3900
|
* Set the step of a multipart Journey
|
|
3916
3901
|
*/
|
|
@@ -3924,7 +3909,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Journey
|
|
|
3924
3909
|
*/
|
|
3925
3910
|
clear(): void;
|
|
3926
3911
|
}
|
|
3927
|
-
export default
|
|
3912
|
+
export default Journey;
|
|
3928
3913
|
}
|
|
3929
3914
|
|
|
3930
3915
|
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.types' {
|
|
@@ -4254,6 +4239,28 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin' {
|
|
|
4254
4239
|
export {};
|
|
4255
4240
|
}
|
|
4256
4241
|
|
|
4242
|
+
declare module '@mappedin/react-native-sdk/core/common/Mappedin.Logger' {
|
|
4243
|
+
export const MI_DEBUG_KEY = "mi-debug";
|
|
4244
|
+
export enum E_SDK_LOG_LEVEL {
|
|
4245
|
+
LOG = 0,
|
|
4246
|
+
WARN = 1,
|
|
4247
|
+
ERROR = 2,
|
|
4248
|
+
SILENT = 3
|
|
4249
|
+
}
|
|
4250
|
+
export function setLoggerLevel(level: E_SDK_LOG_LEVEL): void;
|
|
4251
|
+
const Logger: {
|
|
4252
|
+
logState: E_SDK_LOG_LEVEL;
|
|
4253
|
+
loggingEnabled(): boolean;
|
|
4254
|
+
log(...args: any[]): void;
|
|
4255
|
+
warn(...args: any[]): void;
|
|
4256
|
+
error(...args: any[]): void;
|
|
4257
|
+
assert(...args: any[]): void;
|
|
4258
|
+
time(label: string): void;
|
|
4259
|
+
timeEnd(label: string): void;
|
|
4260
|
+
};
|
|
4261
|
+
export default Logger;
|
|
4262
|
+
}
|
|
4263
|
+
|
|
4257
4264
|
declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocation' {
|
|
4258
4265
|
import type { TLocation, TColor, TGalleryImage, TLogo, TOpeningHours, TPhone, TPicture, TSiblingGroup, TSocial } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.types';
|
|
4259
4266
|
import type { Mappedin } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin';
|
|
@@ -5639,9 +5646,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.
|
|
|
5639
5646
|
};
|
|
5640
5647
|
}
|
|
5641
5648
|
|
|
5642
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5643
|
-
import {
|
|
5644
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
5649
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FlatLabelsController' {
|
|
5650
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
5645
5651
|
import { TAddFlatLabelOptions, MappedinPolygon, TFlatLabelAllLocationsOptions, TFlatLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
5646
5652
|
import { FlatLabel } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.LabelAtlas';
|
|
5647
5653
|
export type FlatLabelRenderObject = TAddFlatLabelOptions & {
|
|
@@ -5652,10 +5658,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Labels/
|
|
|
5652
5658
|
distance?: number;
|
|
5653
5659
|
showLabelWhenImagePresent?: boolean;
|
|
5654
5660
|
};
|
|
5655
|
-
class
|
|
5661
|
+
class FlatLabelsController {
|
|
5656
5662
|
#private;
|
|
5657
|
-
|
|
5658
|
-
constructor(
|
|
5663
|
+
core: ICore;
|
|
5664
|
+
constructor(core: ICore);
|
|
5659
5665
|
flatLabels: {
|
|
5660
5666
|
[key in MappedinPolygon['id']]: FlatLabel;
|
|
5661
5667
|
};
|
|
@@ -5667,13 +5673,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Labels/
|
|
|
5667
5673
|
setHoverColorForAll(color: string): void;
|
|
5668
5674
|
removeAllLabels(): void;
|
|
5669
5675
|
}
|
|
5670
|
-
export default
|
|
5676
|
+
export default FlatLabelsController;
|
|
5671
5677
|
}
|
|
5672
5678
|
|
|
5673
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5674
|
-
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5679
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/FloatingLabelsController' {
|
|
5675
5680
|
import FloatingLabel from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.FloatingLabel';
|
|
5676
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
5681
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
5677
5682
|
import { TFloatingLabelAllLocationsOptions, MappedinPolygon, MappedinNode, TAddFloatingLabelOptions, TFloatingLabelPolygonOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
5678
5683
|
import { TFloatingLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
5679
5684
|
export type TLabelRenderOptions = TFloatingLabelPolygonOptions & {
|
|
@@ -5683,10 +5688,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Labels/
|
|
|
5683
5688
|
text: string;
|
|
5684
5689
|
createDespiteImage: boolean | undefined;
|
|
5685
5690
|
};
|
|
5686
|
-
class
|
|
5691
|
+
class FloatingLabelsController {
|
|
5687
5692
|
#private;
|
|
5688
|
-
|
|
5689
|
-
constructor(
|
|
5693
|
+
core: ICore;
|
|
5694
|
+
constructor(core: ICore);
|
|
5690
5695
|
addLabel(polygonOrNode: MappedinPolygon | MappedinNode, text: string, options?: TAddFloatingLabelOptions): FloatingLabel | FloatingLabel[] | null;
|
|
5691
5696
|
removeLabel(polygonOrNode: MappedinPolygon | MappedinNode, bulk?: boolean): void;
|
|
5692
5697
|
setPriority(polygonOrNode: MappedinPolygon | MappedinNode, rank: number): void;
|
|
@@ -5698,7 +5703,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Labels/
|
|
|
5698
5703
|
[key in MappedinNode['id']]: FloatingLabel;
|
|
5699
5704
|
};
|
|
5700
5705
|
}
|
|
5701
|
-
export default
|
|
5706
|
+
export default FloatingLabelsController;
|
|
5702
5707
|
}
|
|
5703
5708
|
|
|
5704
5709
|
declare module '@mappedin/react-native-sdk/core/packages/navigator/NavigationGraph' {
|
|
@@ -5876,16 +5881,18 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-s
|
|
|
5876
5881
|
}
|
|
5877
5882
|
|
|
5878
5883
|
declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
5879
|
-
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5880
|
-
import { getVenue, getVenueBundle, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5884
|
+
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/public/MapView';
|
|
5885
|
+
import { getVenue, getVenueMVF, getVenueBundle, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5881
5886
|
import { PositionUpdater } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
5882
5887
|
import type { TMapViewOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5883
5888
|
import { MARKER_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Marker';
|
|
5884
|
-
export
|
|
5889
|
+
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/core/common/Mappedin.Logger';
|
|
5890
|
+
export type { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController';
|
|
5891
|
+
export type { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
5885
5892
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
5886
5893
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
5887
|
-
export type { IFlatLabels, FlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5888
|
-
export type { IFloatingLabels, FloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5894
|
+
export type { IFlatLabels, FlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FlatLabels';
|
|
5895
|
+
export type { IFloatingLabels, FloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FloatingLabels';
|
|
5889
5896
|
export type TMappedinInitializeOutput = {
|
|
5890
5897
|
mapView: MapView;
|
|
5891
5898
|
venue: Mappedin;
|
|
@@ -5910,9 +5917,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5910
5917
|
*/
|
|
5911
5918
|
function showVenue<T extends Mappedin>(el: HTMLElement, venue: T, options?: TMapViewOptions): Promise<MapView>;
|
|
5912
5919
|
export { COLLISION_RANKING_TIERS, STATE, E_SDK_EVENT, E_BLUEDOT_STATE_REASON, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_EVENT, E_BLUEDOT_STATE, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
5913
|
-
export { getVenue, getVenueBundle, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, PositionUpdater, MappedinDestinationSet, MARKER_ANCHOR, };
|
|
5920
|
+
export { getVenue, getVenueMVF, getVenueBundle, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, PositionUpdater, MappedinDestinationSet, MARKER_ANCHOR, };
|
|
5914
5921
|
import DefaultAssetManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.AssetManager';
|
|
5915
|
-
import { TTileManagerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5922
|
+
import { TTileManagerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
5916
5923
|
/**
|
|
5917
5924
|
* @internal
|
|
5918
5925
|
*/
|
|
@@ -5929,8 +5936,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5929
5936
|
export type { TMappedinDirective } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
5930
5937
|
export type { TMappedinInitializeOptions };
|
|
5931
5938
|
export * from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5932
|
-
export type { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5933
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as
|
|
5939
|
+
export type { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/public/MapView';
|
|
5940
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as CameraController, } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
|
|
5934
5941
|
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5935
5942
|
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5936
5943
|
/**
|
|
@@ -5954,12 +5961,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5954
5961
|
/**
|
|
5955
5962
|
* @internal
|
|
5956
5963
|
*/
|
|
5957
|
-
OpenStreetMapOutdoorContext, } from './
|
|
5964
|
+
OpenStreetMapOutdoorContext, } from './internal/outdoor-context/Outdoor-Context.provider';
|
|
5958
5965
|
export type {
|
|
5959
5966
|
/**
|
|
5960
5967
|
* @internal
|
|
5961
5968
|
*/
|
|
5962
|
-
IOutdoorContextProvider, } from './
|
|
5969
|
+
IOutdoorContextProvider, } from './internal/outdoor-context/Outdoor-Context.provider';
|
|
5963
5970
|
}
|
|
5964
5971
|
|
|
5965
5972
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.RenderTasks' {
|
|
@@ -5976,23 +5983,23 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
5976
5983
|
export default RENDER;
|
|
5977
5984
|
}
|
|
5978
5985
|
|
|
5979
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
5986
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView' {
|
|
5980
5987
|
import { Texture } from 'three';
|
|
5981
|
-
import '
|
|
5988
|
+
import '../internal/Mappedin.css';
|
|
5982
5989
|
import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5983
5990
|
import { E_SDK_EVENT_PAYLOAD, TCreateMarkerOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TMapViewOptions, TPathOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TMapClickEvent } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5984
5991
|
import { E_SDK_EVENT, STATE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
5985
5992
|
import SmartTooltip from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
|
|
5986
|
-
import
|
|
5987
|
-
import { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Markers';
|
|
5993
|
+
import { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController';
|
|
5988
5994
|
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub.typed';
|
|
5989
|
-
import
|
|
5990
|
-
import JourneyLayer from '@mappedin/react-native-sdk/core/packages/renderer/layers/Journey';
|
|
5995
|
+
import Journey from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Journey';
|
|
5991
5996
|
import { TGetPolygonsAtCoordinateOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
5992
|
-
import { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5993
|
-
import { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
5994
|
-
import {
|
|
5995
|
-
import {
|
|
5997
|
+
import { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FlatLabels';
|
|
5998
|
+
import { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/FloatingLabels';
|
|
5999
|
+
import { Markers } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Markers';
|
|
6000
|
+
import { Paths } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Paths';
|
|
6001
|
+
import { BlueDot } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/BlueDot';
|
|
6002
|
+
import { Camera } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Camera';
|
|
5996
6003
|
export enum INTERNAL_EVENT {
|
|
5997
6004
|
ON_FIRST_MAP_LOADED = 0,
|
|
5998
6005
|
TEXTURE_LOADED = 1,
|
|
@@ -6058,14 +6065,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
|
6058
6065
|
};
|
|
6059
6066
|
export class MapView extends PubSub<E_SDK_EVENT_PAYLOAD, E_SDK_EVENT> {
|
|
6060
6067
|
#private;
|
|
6061
|
-
|
|
6062
|
-
BlueDot: BlueDotLayer;
|
|
6063
|
-
Journey: JourneyLayer;
|
|
6068
|
+
Journey: Journey;
|
|
6064
6069
|
Camera: Camera;
|
|
6065
6070
|
FlatLabels: IFlatLabels<void>;
|
|
6066
6071
|
FloatingLabels: IFloatingLabels<void>;
|
|
6067
|
-
Markers:
|
|
6068
|
-
Paths:
|
|
6072
|
+
Markers: Markers;
|
|
6073
|
+
Paths: Paths;
|
|
6074
|
+
BlueDot: BlueDot;
|
|
6069
6075
|
options: TMapViewOptions;
|
|
6070
6076
|
constructor(container: HTMLElement, venue: Mappedin, options?: TMapViewOptions & {
|
|
6071
6077
|
onFirstMapLoaded: () => void;
|
|
@@ -6878,8 +6884,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
6878
6884
|
|
|
6879
6885
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.SceneManager' {
|
|
6880
6886
|
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
6881
|
-
import { TCameraTransform, TCameraAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
6882
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
6887
|
+
import { TCameraTransform, TCameraAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
|
|
6888
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
6883
6889
|
import MapViewScene from '@mappedin/react-native-sdk/core/packages/renderer/MapView.Scene';
|
|
6884
6890
|
export type TSceneTransitionOptions = {
|
|
6885
6891
|
/**
|
|
@@ -7190,159 +7196,399 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
7190
7196
|
import { FrameTaskGroup } from "@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.TaskScheduler";
|
|
7191
7197
|
}
|
|
7192
7198
|
|
|
7193
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
7194
|
-
import
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
y: number;
|
|
7202
|
-
totalHeight?: number;
|
|
7203
|
-
totalWidth?: number;
|
|
7204
|
-
};
|
|
7205
|
-
export type TColliderStrategy = {
|
|
7206
|
-
name: string;
|
|
7207
|
-
getBoundingBox: (TColliderStrategyProps: any) => TRange;
|
|
7208
|
-
onStrategySelected: (collider: TCustomCollider<any>) => void;
|
|
7209
|
-
};
|
|
7210
|
-
export type TGetBoundingBox = ({ x, y }: {
|
|
7211
|
-
x: any;
|
|
7212
|
-
y: any;
|
|
7213
|
-
}) => [number, number, number, number];
|
|
7214
|
-
export type TDimensions = {
|
|
7215
|
-
width: number;
|
|
7216
|
-
height: number;
|
|
7217
|
-
};
|
|
7218
|
-
export enum EColliderAction {
|
|
7219
|
-
'initial' = 0,
|
|
7220
|
-
'show' = 1,
|
|
7221
|
-
'hide' = 2
|
|
7222
|
-
}
|
|
7223
|
-
export type TColliderPosition = {
|
|
7224
|
-
nodeOrCoordinate: MappedinNode | MappedinCoordinate;
|
|
7225
|
-
height?: number;
|
|
7226
|
-
};
|
|
7227
|
-
export interface ICollider {
|
|
7228
|
-
dimensions: TDimensions;
|
|
7229
|
-
screenPosition: [number, number];
|
|
7230
|
-
getBoundingBoxForCurrentStrategy?: TGetBoundingBox;
|
|
7231
|
-
options?: Record<string, unknown>;
|
|
7232
|
-
mapId: string;
|
|
7233
|
-
visible: boolean;
|
|
7234
|
-
rank: number;
|
|
7235
|
-
id: string;
|
|
7236
|
-
_bboxes?: [string, Rectangle, (collider: TCustomCollider<any>) => void, TGetBoundingBox][];
|
|
7237
|
-
offscreen?: boolean;
|
|
7238
|
-
setAction: (action: EColliderAction) => void;
|
|
7239
|
-
action?: EColliderAction;
|
|
7240
|
-
position: TColliderPosition;
|
|
7241
|
-
__engine?: SmartCollisionEngine;
|
|
7242
|
-
enable: () => void;
|
|
7243
|
-
disable: () => void;
|
|
7244
|
-
enabled: boolean;
|
|
7245
|
-
promote?: () => void;
|
|
7246
|
-
demote?: () => void;
|
|
7247
|
-
setPriority?: (rank: number) => void;
|
|
7248
|
-
resetPriority?: () => void;
|
|
7249
|
-
readonly strategies: TColliderStrategy[];
|
|
7250
|
-
colliderDidMount?: () => void;
|
|
7251
|
-
colliderDidNotFindAHome?: () => void;
|
|
7252
|
-
colliderDidGoOffscreen?: () => void;
|
|
7253
|
-
colliderDidGoOutsideGrid?: () => void;
|
|
7254
|
-
colliderDidUpdateVisiblity?: () => void;
|
|
7255
|
-
colliderDidUpdatePosition?: (prop: [x: number, y: number]) => void;
|
|
7256
|
-
}
|
|
7257
|
-
class BaseCollider implements ICollider {
|
|
7258
|
-
__engine: any;
|
|
7259
|
-
_initialRank: number;
|
|
7260
|
-
screenPosition: [number, number];
|
|
7261
|
-
enabled: boolean;
|
|
7262
|
-
options: any;
|
|
7263
|
-
mapId: string;
|
|
7264
|
-
id: string;
|
|
7265
|
-
action: EColliderAction;
|
|
7266
|
-
getBoundingBoxForCurrentStrategy: undefined;
|
|
7267
|
-
rank: number;
|
|
7268
|
-
visible: boolean;
|
|
7269
|
-
offscreen: boolean;
|
|
7270
|
-
position: any;
|
|
7271
|
-
dimensions: {
|
|
7272
|
-
width: number;
|
|
7273
|
-
height: number;
|
|
7274
|
-
};
|
|
7275
|
-
flipIfNeeded(): void;
|
|
7276
|
-
constructor(options: any);
|
|
7277
|
-
setPosition(position: MappedinNode | MappedinCoordinate): void;
|
|
7278
|
-
setPriority(rank: any): void;
|
|
7279
|
-
setAction(action: any): void;
|
|
7280
|
-
resetPriority(): void;
|
|
7281
|
-
promote(): void;
|
|
7282
|
-
demote(): void;
|
|
7283
|
-
get strategies(): TColliderStrategy[];
|
|
7284
|
-
removeSelf(): void;
|
|
7285
|
-
enable(): void;
|
|
7286
|
-
disable(): void;
|
|
7287
|
-
colliderDidUpdatePosition(pos: any): void;
|
|
7288
|
-
colliderDidNotFindAHome(): void;
|
|
7289
|
-
colliderDidMount(): void;
|
|
7290
|
-
colliderDidUpdateVisiblity(): void;
|
|
7291
|
-
}
|
|
7292
|
-
export default BaseCollider;
|
|
7293
|
-
}
|
|
7294
|
-
|
|
7295
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/shave-text' {
|
|
7296
|
-
export type TDrawFn = (ctx: CanvasRenderingContext2D, x: number, y: number) => void;
|
|
7297
|
-
type TShave = (str: string, size: number, maxWidth: number, maxLines?: number, lineHeight?: number, options?: {
|
|
7298
|
-
strokeText: boolean;
|
|
7299
|
-
}) => {
|
|
7300
|
-
maxWidth: number;
|
|
7301
|
-
maxHeight: number;
|
|
7302
|
-
lines: number;
|
|
7303
|
-
draw: TDrawFn;
|
|
7304
|
-
};
|
|
7305
|
-
export const shaveText: TShave;
|
|
7306
|
-
export {};
|
|
7307
|
-
}
|
|
7308
|
-
|
|
7309
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/fake-geolocation' {
|
|
7310
|
-
export default FakeGeolocation;
|
|
7311
|
-
class FakeGeolocation {
|
|
7312
|
-
constructor(options: any);
|
|
7313
|
-
active: boolean;
|
|
7314
|
-
positions: any[];
|
|
7315
|
-
positionIndex: number;
|
|
7316
|
-
timerList: any[];
|
|
7317
|
-
timeElapsed: number;
|
|
7318
|
-
startTime: number | undefined;
|
|
7319
|
-
startPos: number;
|
|
7320
|
-
endPos: number;
|
|
7321
|
-
smoothingType: any;
|
|
7322
|
-
isActive(): boolean;
|
|
7323
|
-
setCallbacks(success: any, error: any, options: any): void;
|
|
7324
|
-
watchPosition(success: any, error: any, options: any): void;
|
|
7325
|
-
sendPositionResponse(position: any): void;
|
|
7326
|
-
start(): void;
|
|
7327
|
-
pause(): void;
|
|
7328
|
-
speed: any;
|
|
7329
|
-
setPositions(positions: any): void;
|
|
7330
|
-
successCallback: any;
|
|
7331
|
-
errorCallback: any;
|
|
7332
|
-
options: any;
|
|
7333
|
-
clearWatch(): void;
|
|
7334
|
-
reset(): void;
|
|
7199
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonColorsController' {
|
|
7200
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7201
|
+
class PolygonColorsController {
|
|
7202
|
+
#private;
|
|
7203
|
+
constructor(core: ICore);
|
|
7204
|
+
setPolygonColor(polygon: any, color: any): void;
|
|
7205
|
+
clearPolygonColor(polygon: any): void;
|
|
7206
|
+
clearAllPolygonColors(): void;
|
|
7335
7207
|
}
|
|
7208
|
+
export default PolygonColorsController;
|
|
7336
7209
|
}
|
|
7337
7210
|
|
|
7338
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
7339
|
-
import {
|
|
7340
|
-
import {
|
|
7211
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController' {
|
|
7212
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7213
|
+
import { TCreateMarkerOptions, TAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7214
|
+
import InternalMarker from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Marker';
|
|
7215
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7216
|
+
import TWEEN from '@tweenjs/tween.js';
|
|
7341
7217
|
/**
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
export
|
|
7345
|
-
|
|
7218
|
+
* A marker containing some HTML content.
|
|
7219
|
+
*/
|
|
7220
|
+
export class Marker {
|
|
7221
|
+
#private;
|
|
7222
|
+
constructor(internalMarker: InternalMarker);
|
|
7223
|
+
/**
|
|
7224
|
+
* A generated ID for this marker.
|
|
7225
|
+
*/
|
|
7226
|
+
get id(): string;
|
|
7227
|
+
/**
|
|
7228
|
+
* The container element for this marker. This element's position is automatically updated.
|
|
7229
|
+
*/
|
|
7230
|
+
get containerEl(): any;
|
|
7231
|
+
/**
|
|
7232
|
+
* The content that was provided when creating this marker.
|
|
7233
|
+
*/
|
|
7234
|
+
get contentEl(): any;
|
|
7235
|
+
}
|
|
7236
|
+
class MarkersController {
|
|
7237
|
+
#private;
|
|
7238
|
+
markersMap: Map<string, {
|
|
7239
|
+
marker: Marker;
|
|
7240
|
+
internalMarker: InternalMarker;
|
|
7241
|
+
}>;
|
|
7242
|
+
animations: Map<string, {
|
|
7243
|
+
tween: TWEEN.Tween;
|
|
7244
|
+
resolver: () => void;
|
|
7245
|
+
}>;
|
|
7246
|
+
constructor(core: ICore);
|
|
7247
|
+
/**
|
|
7248
|
+
* Create a new Marker, containing some HTML, at the specified position
|
|
7249
|
+
* @param nodeOrCoordinate the position for the Marker
|
|
7250
|
+
* @param contentHtml the content to show in the Marker
|
|
7251
|
+
* @param options options for the display of the Marker
|
|
7252
|
+
* @returns the Marker object that was created.
|
|
7253
|
+
*/
|
|
7254
|
+
add(nodeOrCoordinate: MappedinNode | MappedinCoordinate, contentHtml: string, options?: TCreateMarkerOptions): Marker;
|
|
7255
|
+
updateMap(internalMarker: InternalMarker, from: string, to: string): void;
|
|
7256
|
+
/**
|
|
7257
|
+
* Moves a Marker to a new position instantaneously.
|
|
7258
|
+
* @param markerOrMarkerId the Marker to move
|
|
7259
|
+
* @param target the new position for this Marker
|
|
7260
|
+
*/
|
|
7261
|
+
setPosition(markerOrMarkerId: Marker | Marker['id'], target: MappedinNode | MappedinCoordinate): void;
|
|
7262
|
+
/**
|
|
7263
|
+
* Moves a Marker to a new position over time.
|
|
7264
|
+
* @param markerOrMarkerId the Marker to move
|
|
7265
|
+
* @param target the new position for this Marker
|
|
7266
|
+
* @param options the options for how this movement should be animated
|
|
7267
|
+
*/
|
|
7268
|
+
animate(markerOrMarkerId: Marker | Marker['id'], target: MappedinCoordinate | MappedinNode, options?: TAnimationOptions): Promise<void>;
|
|
7269
|
+
/**
|
|
7270
|
+
* Removes a Marker.
|
|
7271
|
+
* @param markerOrMarkerId the Marker to be removed
|
|
7272
|
+
*/
|
|
7273
|
+
remove(markerOrMarkerId: Marker | Marker['id']): void;
|
|
7274
|
+
/**
|
|
7275
|
+
* Remove all Markers from all maps.
|
|
7276
|
+
*/
|
|
7277
|
+
removeAll(): void;
|
|
7278
|
+
}
|
|
7279
|
+
export default MarkersController;
|
|
7280
|
+
}
|
|
7281
|
+
|
|
7282
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonInteractionController' {
|
|
7283
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7284
|
+
class PolygonInteractionController {
|
|
7285
|
+
#private;
|
|
7286
|
+
constructor(core: ICore);
|
|
7287
|
+
addInteractivePolygon(polygon: any): void;
|
|
7288
|
+
addInteractivePolygonsForAllLocations(options: any): void;
|
|
7289
|
+
removeInteractivePolygon(polygon: any): void;
|
|
7290
|
+
removeAllInteractivePolygons(): void;
|
|
7291
|
+
}
|
|
7292
|
+
export default PolygonInteractionController;
|
|
7293
|
+
}
|
|
7294
|
+
|
|
7295
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/TooltipsController' {
|
|
7296
|
+
import { MappedinCoordinate, TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7297
|
+
import { MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7298
|
+
import SmartTooltip from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
|
|
7299
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7300
|
+
class TooltipsController {
|
|
7301
|
+
#private;
|
|
7302
|
+
constructor(core: ICore);
|
|
7303
|
+
createTooltip(nodeOrCoordinate: MappedinNode | MappedinCoordinate,
|
|
7304
|
+
/**
|
|
7305
|
+
* Html that will be placed inside a wrapper with its own styling in the tooltip
|
|
7306
|
+
*/
|
|
7307
|
+
contentHtml: string, options?: TCreateTooltipOptions): SmartTooltip;
|
|
7308
|
+
createCustomTooltip(nodeOrCoordinate: MappedinNode | MappedinCoordinate,
|
|
7309
|
+
/**
|
|
7310
|
+
* Html that will be displayed by the tooltip without any added styling
|
|
7311
|
+
*/
|
|
7312
|
+
contentHtml: string, selector: string, options?: TCreateTooltipCommonOptions): SmartTooltip;
|
|
7313
|
+
/**
|
|
7314
|
+
* Removes a {@link Tooltip} you have added previously.
|
|
7315
|
+
*
|
|
7316
|
+
* @param tooltip {Tooltip} A Tooltip that has previously been returned from {@link IMapView3D.createTooltip}.
|
|
7317
|
+
*/
|
|
7318
|
+
removeTooltip(tooltipOrTooltipId: SmartTooltip | SmartTooltip['id']): void;
|
|
7319
|
+
removeAllTooltips(): void;
|
|
7320
|
+
}
|
|
7321
|
+
export default TooltipsController;
|
|
7322
|
+
}
|
|
7323
|
+
|
|
7324
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonStatesController' {
|
|
7325
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7326
|
+
class PolygonStatesController {
|
|
7327
|
+
#private;
|
|
7328
|
+
constructor(core: ICore);
|
|
7329
|
+
updateClosedStateForPolygon(options: any): void;
|
|
7330
|
+
openAllPolygons(): void;
|
|
7331
|
+
destroy(): void;
|
|
7332
|
+
}
|
|
7333
|
+
export default PolygonStatesController;
|
|
7334
|
+
}
|
|
7335
|
+
|
|
7336
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PolygonImagesController' {
|
|
7337
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7338
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7339
|
+
class PolygonImagesController {
|
|
7340
|
+
#private;
|
|
7341
|
+
constructor(core: ICore);
|
|
7342
|
+
enableImageFlippingForAllLocations(options: any): void;
|
|
7343
|
+
enableImageFlippingForPolygon(polygon: MappedinPolygon): void;
|
|
7344
|
+
disableImageFlippingForAllPolygons(): void;
|
|
7345
|
+
}
|
|
7346
|
+
export default PolygonImagesController;
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/ThreeDMarkersController' {
|
|
7350
|
+
import { TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7351
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7352
|
+
import { ThreeJSMarkerHandle } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapObject';
|
|
7353
|
+
class ThreeDMarkersController {
|
|
7354
|
+
#private;
|
|
7355
|
+
constructor(core: ICore);
|
|
7356
|
+
createThreeJSMarker(options: TCreateThreeDMarkerOptions): ThreeJSMarkerHandle;
|
|
7357
|
+
removeThreeJSMarker(markerHandle: ThreeJSMarkerHandle): boolean;
|
|
7358
|
+
removeAllThreeJSMarkers(): void;
|
|
7359
|
+
}
|
|
7360
|
+
export default ThreeDMarkersController;
|
|
7361
|
+
}
|
|
7362
|
+
|
|
7363
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/EventSystem' {
|
|
7364
|
+
import { Object3D, Color } from 'three';
|
|
7365
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7366
|
+
import BlueDotManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager';
|
|
7367
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
7368
|
+
class EventSystem {
|
|
7369
|
+
core: ICore;
|
|
7370
|
+
blueDotManager?: BlueDotManager;
|
|
7371
|
+
rendererDomElement: any;
|
|
7372
|
+
currentHover: string | null;
|
|
7373
|
+
hoverLabel: any;
|
|
7374
|
+
hoverColor: Color;
|
|
7375
|
+
options: {
|
|
7376
|
+
disableHover: boolean;
|
|
7377
|
+
};
|
|
7378
|
+
constructor(core: ICore);
|
|
7379
|
+
setBlueDotManager: (blueDotManager: any) => void;
|
|
7380
|
+
touchCount: number;
|
|
7381
|
+
zoomOut(): void;
|
|
7382
|
+
zoomIn(event: any): void;
|
|
7383
|
+
onPointerMove: (event: any) => void;
|
|
7384
|
+
onPointerUp: (event: any) => void;
|
|
7385
|
+
/**
|
|
7386
|
+
* We've confirmed that a map click has occured, so handle that here
|
|
7387
|
+
*/
|
|
7388
|
+
handleMapClick(event: any): void;
|
|
7389
|
+
onPointerDown: (event: any) => void;
|
|
7390
|
+
incrementTouches: (event: any) => void;
|
|
7391
|
+
decrementTouches: (event: any) => void;
|
|
7392
|
+
clearMouse: () => void;
|
|
7393
|
+
getMousePos: (event: any) => {
|
|
7394
|
+
x: number;
|
|
7395
|
+
y: number;
|
|
7396
|
+
};
|
|
7397
|
+
getScaledMousePos: (event: any) => {
|
|
7398
|
+
x: number;
|
|
7399
|
+
y: number;
|
|
7400
|
+
};
|
|
7401
|
+
cursorPos: {
|
|
7402
|
+
x: number;
|
|
7403
|
+
y: number;
|
|
7404
|
+
};
|
|
7405
|
+
mouse: {
|
|
7406
|
+
x: number;
|
|
7407
|
+
y: number;
|
|
7408
|
+
};
|
|
7409
|
+
mouseDownStart: {
|
|
7410
|
+
time: number;
|
|
7411
|
+
clientX: number;
|
|
7412
|
+
clientY: number;
|
|
7413
|
+
};
|
|
7414
|
+
scaledCursorPos: {
|
|
7415
|
+
x: number;
|
|
7416
|
+
y: number;
|
|
7417
|
+
};
|
|
7418
|
+
hasTouched: boolean;
|
|
7419
|
+
calculateMouseCoordinates: (event: any) => void;
|
|
7420
|
+
getMouseRayIntersects: (objects: Object3D | Object3D[]) => any;
|
|
7421
|
+
detectCollidersUnderMouse: () => any;
|
|
7422
|
+
detectPolygonsUnderMouse: () => string[];
|
|
7423
|
+
detectPathsUnderMouse: () => Path[];
|
|
7424
|
+
detectMapsUnderMouse: () => any;
|
|
7425
|
+
getMouseMapPosition: () => {
|
|
7426
|
+
x: number;
|
|
7427
|
+
y: number;
|
|
7428
|
+
};
|
|
7429
|
+
checkMouseIntersectsBlueDot: () => boolean;
|
|
7430
|
+
doHoverEffect: () => void;
|
|
7431
|
+
onPolygonHoverOut: (polygonId: any) => false | undefined;
|
|
7432
|
+
onPolygonHoverOver: (polygon: any) => false | undefined;
|
|
7433
|
+
setHoverColor: (color: string) => void;
|
|
7434
|
+
destroy(): void;
|
|
7435
|
+
}
|
|
7436
|
+
export default EventSystem;
|
|
7437
|
+
}
|
|
7438
|
+
|
|
7439
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollider' {
|
|
7440
|
+
import SmartCollisionEngine from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollisionEngine';
|
|
7441
|
+
import { Rectangle } from '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-tree';
|
|
7442
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
7443
|
+
export type TRange = [number, number, number, number];
|
|
7444
|
+
type TCustomCollider<T> = ICollider & T;
|
|
7445
|
+
export type TColliderStrategyProps = {
|
|
7446
|
+
x: number;
|
|
7447
|
+
y: number;
|
|
7448
|
+
totalHeight?: number;
|
|
7449
|
+
totalWidth?: number;
|
|
7450
|
+
};
|
|
7451
|
+
export type TColliderStrategy = {
|
|
7452
|
+
name: string;
|
|
7453
|
+
getBoundingBox: (TColliderStrategyProps: any) => TRange;
|
|
7454
|
+
onStrategySelected: (collider: TCustomCollider<any>) => void;
|
|
7455
|
+
};
|
|
7456
|
+
export type TGetBoundingBox = ({ x, y }: {
|
|
7457
|
+
x: any;
|
|
7458
|
+
y: any;
|
|
7459
|
+
}) => [number, number, number, number];
|
|
7460
|
+
export type TDimensions = {
|
|
7461
|
+
width: number;
|
|
7462
|
+
height: number;
|
|
7463
|
+
};
|
|
7464
|
+
export enum EColliderAction {
|
|
7465
|
+
'initial' = 0,
|
|
7466
|
+
'show' = 1,
|
|
7467
|
+
'hide' = 2
|
|
7468
|
+
}
|
|
7469
|
+
export type TColliderPosition = {
|
|
7470
|
+
nodeOrCoordinate: MappedinNode | MappedinCoordinate;
|
|
7471
|
+
height?: number;
|
|
7472
|
+
};
|
|
7473
|
+
export interface ICollider {
|
|
7474
|
+
dimensions: TDimensions;
|
|
7475
|
+
screenPosition: [number, number];
|
|
7476
|
+
getBoundingBoxForCurrentStrategy?: TGetBoundingBox;
|
|
7477
|
+
options?: Record<string, unknown>;
|
|
7478
|
+
mapId: string;
|
|
7479
|
+
visible: boolean;
|
|
7480
|
+
rank: number;
|
|
7481
|
+
id: string;
|
|
7482
|
+
_bboxes?: [string, Rectangle, (collider: TCustomCollider<any>) => void, TGetBoundingBox][];
|
|
7483
|
+
offscreen?: boolean;
|
|
7484
|
+
setAction: (action: EColliderAction) => void;
|
|
7485
|
+
action?: EColliderAction;
|
|
7486
|
+
position: TColliderPosition;
|
|
7487
|
+
__engine?: SmartCollisionEngine;
|
|
7488
|
+
enable: () => void;
|
|
7489
|
+
disable: () => void;
|
|
7490
|
+
enabled: boolean;
|
|
7491
|
+
promote?: () => void;
|
|
7492
|
+
demote?: () => void;
|
|
7493
|
+
setPriority?: (rank: number) => void;
|
|
7494
|
+
resetPriority?: () => void;
|
|
7495
|
+
readonly strategies: TColliderStrategy[];
|
|
7496
|
+
colliderDidMount?: () => void;
|
|
7497
|
+
colliderDidNotFindAHome?: () => void;
|
|
7498
|
+
colliderDidGoOffscreen?: () => void;
|
|
7499
|
+
colliderDidGoOutsideGrid?: () => void;
|
|
7500
|
+
colliderDidUpdateVisiblity?: () => void;
|
|
7501
|
+
colliderDidUpdatePosition?: (prop: [x: number, y: number]) => void;
|
|
7502
|
+
}
|
|
7503
|
+
class BaseCollider implements ICollider {
|
|
7504
|
+
__engine: any;
|
|
7505
|
+
_initialRank: number;
|
|
7506
|
+
screenPosition: [number, number];
|
|
7507
|
+
enabled: boolean;
|
|
7508
|
+
options: any;
|
|
7509
|
+
mapId: string;
|
|
7510
|
+
id: string;
|
|
7511
|
+
action: EColliderAction;
|
|
7512
|
+
getBoundingBoxForCurrentStrategy: undefined;
|
|
7513
|
+
rank: number;
|
|
7514
|
+
visible: boolean;
|
|
7515
|
+
offscreen: boolean;
|
|
7516
|
+
position: any;
|
|
7517
|
+
dimensions: {
|
|
7518
|
+
width: number;
|
|
7519
|
+
height: number;
|
|
7520
|
+
};
|
|
7521
|
+
flipIfNeeded(): void;
|
|
7522
|
+
constructor(options: any);
|
|
7523
|
+
setPosition(position: MappedinNode | MappedinCoordinate): void;
|
|
7524
|
+
setPriority(rank: any): void;
|
|
7525
|
+
setAction(action: any): void;
|
|
7526
|
+
resetPriority(): void;
|
|
7527
|
+
promote(): void;
|
|
7528
|
+
demote(): void;
|
|
7529
|
+
get strategies(): TColliderStrategy[];
|
|
7530
|
+
removeSelf(): void;
|
|
7531
|
+
enable(): void;
|
|
7532
|
+
disable(): void;
|
|
7533
|
+
colliderDidUpdatePosition(pos: any): void;
|
|
7534
|
+
colliderDidNotFindAHome(): void;
|
|
7535
|
+
colliderDidMount(): void;
|
|
7536
|
+
colliderDidUpdateVisiblity(): void;
|
|
7537
|
+
}
|
|
7538
|
+
export default BaseCollider;
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/shave-text' {
|
|
7542
|
+
export type TDrawFn = (ctx: CanvasRenderingContext2D, x: number, y: number) => void;
|
|
7543
|
+
type TShave = (str: string, size: number, maxWidth: number, maxLines?: number, lineHeight?: number, options?: {
|
|
7544
|
+
strokeText: boolean;
|
|
7545
|
+
}) => {
|
|
7546
|
+
maxWidth: number;
|
|
7547
|
+
maxHeight: number;
|
|
7548
|
+
lines: number;
|
|
7549
|
+
draw: TDrawFn;
|
|
7550
|
+
};
|
|
7551
|
+
export const shaveText: TShave;
|
|
7552
|
+
export {};
|
|
7553
|
+
}
|
|
7554
|
+
|
|
7555
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/fake-geolocation' {
|
|
7556
|
+
export default FakeGeolocation;
|
|
7557
|
+
class FakeGeolocation {
|
|
7558
|
+
constructor(options: any);
|
|
7559
|
+
active: boolean;
|
|
7560
|
+
positions: any[];
|
|
7561
|
+
positionIndex: number;
|
|
7562
|
+
timerList: any[];
|
|
7563
|
+
timeElapsed: number;
|
|
7564
|
+
startTime: number | undefined;
|
|
7565
|
+
startPos: number;
|
|
7566
|
+
endPos: number;
|
|
7567
|
+
smoothingType: any;
|
|
7568
|
+
isActive(): boolean;
|
|
7569
|
+
setCallbacks(success: any, error: any, options: any): void;
|
|
7570
|
+
watchPosition(success: any, error: any, options: any): void;
|
|
7571
|
+
sendPositionResponse(position: any): void;
|
|
7572
|
+
start(): void;
|
|
7573
|
+
pause(): void;
|
|
7574
|
+
speed: any;
|
|
7575
|
+
setPositions(positions: any): void;
|
|
7576
|
+
successCallback: any;
|
|
7577
|
+
errorCallback: any;
|
|
7578
|
+
options: any;
|
|
7579
|
+
clearWatch(): void;
|
|
7580
|
+
reset(): void;
|
|
7581
|
+
}
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine' {
|
|
7585
|
+
import { IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
|
|
7586
|
+
import { E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
7587
|
+
/**
|
|
7588
|
+
What we just learned about the user's position.
|
|
7589
|
+
*/
|
|
7590
|
+
export enum ACTION {
|
|
7591
|
+
gotPosition = 0,
|
|
7346
7592
|
gotPositionWithFloor = 1,
|
|
7347
7593
|
gotError = 2,
|
|
7348
7594
|
timedOut = 3,
|
|
@@ -7397,7 +7643,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-
|
|
|
7397
7643
|
/**
|
|
7398
7644
|
* @private
|
|
7399
7645
|
* An interface for showing a position (typically the user's position) on a 3D map.
|
|
7400
|
-
* Constructed automatically by {{#crossLink "MapView3D"}}{{/crossLink}}.
|
|
7401
7646
|
*
|
|
7402
7647
|
* @class BlueDotManager
|
|
7403
7648
|
*/
|
|
@@ -7406,8 +7651,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-
|
|
|
7406
7651
|
* @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.
|
|
7407
7652
|
* @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.
|
|
7408
7653
|
*/
|
|
7409
|
-
constructor({
|
|
7410
|
-
mapView: any;
|
|
7654
|
+
constructor({ threeDMarkerLayer, core, minRadius, maxRadius, radiusUpdateInterval, radiusTweenOptions, }?: {
|
|
7411
7655
|
threeDMarkerLayer: any;
|
|
7412
7656
|
core: any;
|
|
7413
7657
|
minRadius?: number | undefined;
|
|
@@ -7418,7 +7662,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-
|
|
|
7418
7662
|
easing: any;
|
|
7419
7663
|
} | undefined;
|
|
7420
7664
|
});
|
|
7421
|
-
mapView: any;
|
|
7422
7665
|
threeDMarkerLayer: any;
|
|
7423
7666
|
core: any;
|
|
7424
7667
|
minRadius: number;
|
|
@@ -7533,344 +7776,60 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
7533
7776
|
export default HTMLCollider;
|
|
7534
7777
|
}
|
|
7535
7778
|
|
|
7536
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
7537
|
-
import { Object3D, Color } from 'three';
|
|
7538
|
-
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7539
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
7540
|
-
import BlueDotManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager';
|
|
7541
|
-
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
7542
|
-
class EventSystemLayer {
|
|
7543
|
-
mapView: MapView;
|
|
7544
|
-
core: ICore;
|
|
7545
|
-
blueDotManager?: BlueDotManager;
|
|
7546
|
-
rendererDomElement: any;
|
|
7547
|
-
currentHover: string | null;
|
|
7548
|
-
hoverLabel: any;
|
|
7549
|
-
hoverColor: Color;
|
|
7550
|
-
options: {
|
|
7551
|
-
disableHover: boolean;
|
|
7552
|
-
};
|
|
7553
|
-
blueDot?: Object3D;
|
|
7554
|
-
constructor(mapView: MapView, core: ICore);
|
|
7555
|
-
setBlueDotManager: (blueDotManager: any) => void;
|
|
7556
|
-
touchCount: number;
|
|
7557
|
-
zoomOut(): void;
|
|
7558
|
-
zoomIn(event: any): void;
|
|
7559
|
-
onPointerMove: (event: any) => void;
|
|
7560
|
-
onPointerUp: (event: any) => void;
|
|
7561
|
-
/**
|
|
7562
|
-
* We've confirmed that a map click has occured, so handle that here
|
|
7563
|
-
*/
|
|
7564
|
-
handleMapClick(event: any): void;
|
|
7565
|
-
onPointerDown: (event: any) => void;
|
|
7566
|
-
incrementTouches: (event: any) => void;
|
|
7567
|
-
decrementTouches: (event: any) => void;
|
|
7568
|
-
clearMouse: () => void;
|
|
7569
|
-
getMousePos: (event: any) => {
|
|
7570
|
-
x: number;
|
|
7571
|
-
y: number;
|
|
7572
|
-
};
|
|
7573
|
-
getScaledMousePos: (event: any) => {
|
|
7574
|
-
x: number;
|
|
7575
|
-
y: number;
|
|
7576
|
-
};
|
|
7577
|
-
cursorPos: {
|
|
7578
|
-
x: number;
|
|
7579
|
-
y: number;
|
|
7580
|
-
};
|
|
7581
|
-
mouse: {
|
|
7582
|
-
x: number;
|
|
7583
|
-
y: number;
|
|
7584
|
-
};
|
|
7585
|
-
mouseDownStart: {
|
|
7586
|
-
time: number;
|
|
7587
|
-
clientX: number;
|
|
7588
|
-
clientY: number;
|
|
7589
|
-
};
|
|
7590
|
-
scaledCursorPos: {
|
|
7591
|
-
x: number;
|
|
7592
|
-
y: number;
|
|
7593
|
-
};
|
|
7594
|
-
hasTouched: boolean;
|
|
7595
|
-
calculateMouseCoordinates: (event: any) => void;
|
|
7596
|
-
getMouseRayIntersects: (objects: Object3D | Object3D[]) => any;
|
|
7597
|
-
detectCollidersUnderMouse: () => any;
|
|
7598
|
-
detectPolygonsUnderMouse: () => string[];
|
|
7599
|
-
detectPathsUnderMouse: () => Path[];
|
|
7600
|
-
detectMapsUnderMouse: () => any;
|
|
7601
|
-
getMouseMapPosition: () => {
|
|
7602
|
-
x: number;
|
|
7603
|
-
y: number;
|
|
7604
|
-
};
|
|
7605
|
-
checkMouseIntersectsBlueDot: () => boolean;
|
|
7606
|
-
doHoverEffect: () => void;
|
|
7607
|
-
onPolygonHoverOut: (polygonId: any) => false | undefined;
|
|
7608
|
-
onPolygonHoverOver: (polygon: any) => false | undefined;
|
|
7609
|
-
setHoverColor: (color: string) => void;
|
|
7610
|
-
destroy(): void;
|
|
7611
|
-
}
|
|
7612
|
-
export default EventSystemLayer;
|
|
7613
|
-
}
|
|
7614
|
-
|
|
7615
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Journey' {
|
|
7779
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/JourneyController' {
|
|
7616
7780
|
import type Directive from '@mappedin/react-native-sdk/core/packages/navigator/Directive';
|
|
7617
7781
|
import type INode from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/INode';
|
|
7618
|
-
import { TJourneyOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
7619
|
-
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7620
|
-
import {
|
|
7621
|
-
import {
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
instructions: Directive[];
|
|
7627
|
-
};
|
|
7628
|
-
/**
|
|
7629
|
-
*
|
|
7630
|
-
* The Journey class represents a journey from point A to point B. This includes any intermediate connections, such as stairs or elevators.
|
|
7631
|
-
* The idea is to provide a higher level API with enough hooks to customize the experience. Also, to ensure only 1 journey is allowed at once.
|
|
7632
|
-
* This version does not support "stacked view" - but that can be added in the future
|
|
7633
|
-
*
|
|
7634
|
-
* @internal
|
|
7635
|
-
*/
|
|
7636
|
-
export class Journey {
|
|
7637
|
-
#private;
|
|
7638
|
-
distance: number;
|
|
7639
|
-
accessible: boolean;
|
|
7640
|
-
get isMultiFloor(): boolean;
|
|
7641
|
-
get mapIdsInvolvedInJourney(): string[];
|
|
7642
|
-
constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions | undefined, mapView: MapView, core: ICore);
|
|
7643
|
-
setStep: (step: any) => void;
|
|
7644
|
-
setStepByPath: (path: Path) => void;
|
|
7645
|
-
static instance: Journey | null;
|
|
7646
|
-
static create(directions: MappedinDirections | MappedinDirections[], options: any, mapView: MapView, core: ICore): Journey;
|
|
7647
|
-
destroy(): void;
|
|
7648
|
-
}
|
|
7649
|
-
}
|
|
7650
|
-
|
|
7651
|
-
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.MVF.types' {
|
|
7652
|
-
import { FeatureCollection, Polygon, Point, MultiPolygon, Position } from 'geojson';
|
|
7653
|
-
type ManifestFile = {
|
|
7654
|
-
type: 'file';
|
|
7655
|
-
name: string;
|
|
7656
|
-
};
|
|
7657
|
-
type ManifestFolder = {
|
|
7658
|
-
type: 'folder';
|
|
7659
|
-
name: string;
|
|
7660
|
-
children: ManifestFile[];
|
|
7661
|
-
};
|
|
7662
|
-
type OpeningHours = {
|
|
7663
|
-
opens: string;
|
|
7664
|
-
closes: string;
|
|
7665
|
-
dayOfWeek: string;
|
|
7666
|
-
validFrom?: string;
|
|
7667
|
-
validThrough?: string;
|
|
7668
|
-
};
|
|
7669
|
-
type Image = {
|
|
7670
|
-
original?: string;
|
|
7671
|
-
xlarge?: string;
|
|
7672
|
-
xxlarge?: string;
|
|
7673
|
-
medium?: string;
|
|
7674
|
-
'140x140'?: string;
|
|
7675
|
-
xsmall?: string;
|
|
7676
|
-
xxsmall?: string;
|
|
7677
|
-
'66x66'?: string;
|
|
7678
|
-
small?: string;
|
|
7679
|
-
large?: string;
|
|
7680
|
-
};
|
|
7681
|
-
type PolygonImage = string;
|
|
7682
|
-
type Phone = {
|
|
7683
|
-
number: string;
|
|
7684
|
-
extension?: string;
|
|
7685
|
-
};
|
|
7686
|
-
type Link = {
|
|
7687
|
-
label: string;
|
|
7688
|
-
url: string;
|
|
7689
|
-
};
|
|
7690
|
-
type Social = {
|
|
7691
|
-
facebook?: string;
|
|
7692
|
-
twitter?: string;
|
|
7693
|
-
instagram?: string;
|
|
7694
|
-
website?: string;
|
|
7695
|
-
};
|
|
7696
|
-
type LocationState = {
|
|
7697
|
-
type: string;
|
|
7698
|
-
start?: string;
|
|
7699
|
-
end?: string;
|
|
7700
|
-
};
|
|
7701
|
-
type SiblingGroup = {
|
|
7702
|
-
label: string;
|
|
7703
|
-
siblings: string[];
|
|
7704
|
-
};
|
|
7705
|
-
export type MILocationProperties = {
|
|
7706
|
-
id: string;
|
|
7707
|
-
address?: string | null;
|
|
7708
|
-
categories: string[];
|
|
7709
|
-
description?: string | null;
|
|
7710
|
-
email?: string | null;
|
|
7711
|
-
externalId?: string | null;
|
|
7712
|
-
hours?: OpeningHours[] | null;
|
|
7713
|
-
links?: Link[] | null;
|
|
7714
|
-
logo?: Image | null;
|
|
7715
|
-
name: string;
|
|
7716
|
-
phone?: Phone | null;
|
|
7717
|
-
picture?: Image | null;
|
|
7718
|
-
services?: string | null;
|
|
7719
|
-
siblingGroups?: SiblingGroup[] | null;
|
|
7720
|
-
social?: Social | null;
|
|
7721
|
-
spaces?: TLocationSpaceReference[] | null;
|
|
7722
|
-
states?: LocationState[] | null;
|
|
7723
|
-
type: string;
|
|
7724
|
-
};
|
|
7725
|
-
export type MICategoryProperties = {
|
|
7726
|
-
id: string;
|
|
7727
|
-
name: string;
|
|
7728
|
-
picture?: Image;
|
|
7729
|
-
};
|
|
7730
|
-
export type MIBuildingProperties = {
|
|
7731
|
-
id: string;
|
|
7732
|
-
name: string;
|
|
7733
|
-
venue: string;
|
|
7734
|
-
};
|
|
7735
|
-
export type MILevelProperties = {
|
|
7736
|
-
id: string;
|
|
7737
|
-
abbreviation?: string;
|
|
7738
|
-
building?: string;
|
|
7739
|
-
elevation?: number;
|
|
7740
|
-
name: string;
|
|
7741
|
-
};
|
|
7742
|
-
export type MIPolygonlikeProperties = {
|
|
7743
|
-
id: string;
|
|
7744
|
-
altitude?: string;
|
|
7745
|
-
color?: string;
|
|
7746
|
-
externalId?: string | null;
|
|
7747
|
-
height?: string;
|
|
7748
|
-
layer?: string;
|
|
7749
|
-
level: string;
|
|
7750
|
-
parent?: string | null;
|
|
7751
|
-
};
|
|
7752
|
-
type TPseudoNodeSpaceReference = {
|
|
7753
|
-
node: string;
|
|
7754
|
-
map: string;
|
|
7755
|
-
};
|
|
7756
|
-
export type TRealSpaceReference = {
|
|
7757
|
-
id: string;
|
|
7758
|
-
map: string;
|
|
7759
|
-
};
|
|
7760
|
-
type TLocationSpaceReference = TPseudoNodeSpaceReference | TRealSpaceReference;
|
|
7761
|
-
export type TEntrances = {
|
|
7762
|
-
id: string;
|
|
7763
|
-
level: string;
|
|
7764
|
-
};
|
|
7765
|
-
export type MISpaceProperties = MIPolygonlikeProperties & {
|
|
7766
|
-
entrances: TEntrances[];
|
|
7767
|
-
};
|
|
7768
|
-
export type MIObstructionProperties = MIPolygonlikeProperties;
|
|
7769
|
-
export type MIConnectionProperties = {
|
|
7770
|
-
id: string;
|
|
7771
|
-
accessible: boolean;
|
|
7772
|
-
destinations: string[];
|
|
7773
|
-
level: string;
|
|
7774
|
-
multiplier: number;
|
|
7775
|
-
name: string;
|
|
7776
|
-
type: string;
|
|
7777
|
-
weight: number;
|
|
7778
|
-
};
|
|
7779
|
-
export type MINodeProperties = {
|
|
7780
|
-
id: string;
|
|
7781
|
-
accessible: boolean;
|
|
7782
|
-
externalId: string | null;
|
|
7783
|
-
level: string;
|
|
7784
|
-
multiplier: number;
|
|
7785
|
-
neighbors: string[];
|
|
7786
|
-
weight: number;
|
|
7787
|
-
};
|
|
7788
|
-
export type MIManifestProperties = {
|
|
7789
|
-
name: string;
|
|
7790
|
-
folder_struct: (ManifestFolder | ManifestFile)[];
|
|
7791
|
-
version: string;
|
|
7792
|
-
time: string;
|
|
7793
|
-
};
|
|
7794
|
-
export type MIStyle = {
|
|
7795
|
-
id: string;
|
|
7796
|
-
/** The altitude of the bottom of the geometry, in metres. */
|
|
7797
|
-
altitude: number;
|
|
7798
|
-
color: string;
|
|
7799
|
-
height: number;
|
|
7800
|
-
image?: PolygonImage;
|
|
7801
|
-
opacity: number;
|
|
7802
|
-
};
|
|
7803
|
-
export type MIImageInstance = {
|
|
7804
|
-
/** The local path or URL of the image. */
|
|
7805
|
-
path: string;
|
|
7806
|
-
/** The position of the centre of the image, in [long, lat] form. */
|
|
7807
|
-
position: Position;
|
|
7808
|
-
/** The altitude of the image, in metres. */
|
|
7809
|
-
altitude: number;
|
|
7810
|
-
/** Euler angles representing the rotation of the image, in degrees. Angles are in XYZ order. */
|
|
7811
|
-
rotation: {
|
|
7812
|
-
x: number;
|
|
7813
|
-
y: number;
|
|
7814
|
-
z: number;
|
|
7815
|
-
};
|
|
7816
|
-
/** The size of the image, in metres. */
|
|
7817
|
-
size: {
|
|
7818
|
-
x: number;
|
|
7819
|
-
y: number;
|
|
7820
|
-
};
|
|
7821
|
-
/** The portion of the image to display. */
|
|
7822
|
-
viewBox: {
|
|
7823
|
-
top: number;
|
|
7824
|
-
left: number;
|
|
7825
|
-
width: number;
|
|
7826
|
-
height: number;
|
|
7827
|
-
};
|
|
7828
|
-
/**
|
|
7829
|
-
* A space or obstruction to associate this image with. If provided,
|
|
7830
|
-
* changes to the polygon's visibility will affect this image.
|
|
7831
|
-
* */
|
|
7832
|
-
polygonId?: string;
|
|
7833
|
-
};
|
|
7834
|
-
export type MIGeoJSONManifestCollection = FeatureCollection<Point, MIManifestProperties>;
|
|
7835
|
-
export type MIGeoJSONBuildingCollection = FeatureCollection<Polygon, MIBuildingProperties>;
|
|
7836
|
-
export type MIGeoJSONConnectionCollection = FeatureCollection<Point, MIConnectionProperties>;
|
|
7837
|
-
export type MIGeoJSONLevelCollection = FeatureCollection<Polygon | MultiPolygon, MILevelProperties>;
|
|
7838
|
-
export type MIGeoJSONSpaceCollection = FeatureCollection<Polygon, MISpaceProperties>;
|
|
7839
|
-
export type MIGeoJSONObstructionCollection = FeatureCollection<Polygon, MIObstructionProperties>;
|
|
7840
|
-
export type MIGeoJSONNodeCollection = FeatureCollection<Point, MINodeProperties>;
|
|
7841
|
-
export type MIGeoJSONLocationCollection = FeatureCollection<null, MILocationProperties>;
|
|
7842
|
-
export type MIGeoJSONCategoryCollection = FeatureCollection<null, MICategoryProperties>;
|
|
7843
|
-
export type WithIDs<T> = Map<string, T>;
|
|
7844
|
-
export type MIStyleCollection = MIStyle[];
|
|
7845
|
-
/**
|
|
7846
|
-
* A mapping of polygon IDs to style IDs;
|
|
7847
|
-
*/
|
|
7848
|
-
export type MIPolygonStyle = {
|
|
7849
|
-
[key in string]: string;
|
|
7782
|
+
import { TJourneyOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
7783
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7784
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
7785
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
7786
|
+
export type TMappedinDirections = {
|
|
7787
|
+
distance: number;
|
|
7788
|
+
path: INode[];
|
|
7789
|
+
instructions: Directive[];
|
|
7850
7790
|
};
|
|
7851
|
-
export type MIImageInstanceCollection = MIImageInstance[];
|
|
7852
7791
|
/**
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7792
|
+
*
|
|
7793
|
+
* The Journey class represents a journey from point A to point B. This includes any intermediate connections, such as stairs or elevators.
|
|
7794
|
+
* The idea is to provide a higher level API with enough hooks to customize the experience. Also, to ensure only 1 journey is allowed at once.
|
|
7795
|
+
* This version does not support "stacked view" - but that can be added in the future
|
|
7796
|
+
*
|
|
7797
|
+
* @internal
|
|
7798
|
+
*/
|
|
7799
|
+
export class JourneyController {
|
|
7800
|
+
#private;
|
|
7801
|
+
distance: number;
|
|
7802
|
+
accessible: boolean;
|
|
7803
|
+
core: ICore;
|
|
7804
|
+
get isMultiFloor(): boolean;
|
|
7805
|
+
get mapIdsInvolvedInJourney(): string[];
|
|
7806
|
+
constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions | undefined, core: ICore);
|
|
7807
|
+
setStep: (step: any) => void;
|
|
7808
|
+
setStepByPath: (path: Path) => void;
|
|
7809
|
+
static instance: JourneyController | null;
|
|
7810
|
+
static create(directions: MappedinDirections | MappedinDirections[], options: any, core: ICore): JourneyController;
|
|
7811
|
+
destroy(): void;
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.MVF.types' {
|
|
7816
|
+
import { ManifestCollection, NodeCollection, ObstructionCollection, SpaceCollection, Connections, Maps, EntranceCollection, MapStacks, StyleCollection } from '@mappedin/mvf';
|
|
7817
|
+
export type WithIDs<T> = Map<string, T>;
|
|
7818
|
+
/**
|
|
7819
|
+
* The entire data collection for an MVF, in a single JSON collection.
|
|
7820
|
+
*
|
|
7821
|
+
*/
|
|
7822
|
+
export type MVFData = {
|
|
7823
|
+
obstruction: WithIDs<ObstructionCollection>;
|
|
7824
|
+
space: WithIDs<SpaceCollection>;
|
|
7825
|
+
node: WithIDs<NodeCollection>;
|
|
7826
|
+
entrance: WithIDs<EntranceCollection>;
|
|
7827
|
+
connection: Connections;
|
|
7828
|
+
map: Maps;
|
|
7829
|
+
mapstack: MapStacks;
|
|
7830
|
+
manifest: ManifestCollection;
|
|
7831
|
+
style: StyleCollection;
|
|
7872
7832
|
};
|
|
7873
|
-
export {};
|
|
7874
7833
|
}
|
|
7875
7834
|
|
|
7876
7835
|
declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocationRankings' {
|
|
@@ -8008,128 +7967,45 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8008
7967
|
import { Vector3 } from 'three';
|
|
8009
7968
|
import { TColliderStrategy } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollider';
|
|
8010
7969
|
/**
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
* Make your own and add it directly to the map with {{#crossLink "MapView/createSmartMarker:method"}}{{/crossLink}}, or use the constructor and add it when you want.
|
|
8015
|
-
*
|
|
8016
|
-
* You will need to specify at least `options.position`, `options.contentHtml` and `options.map`.
|
|
8017
|
-
*
|
|
8018
|
-
*
|
|
8019
|
-
* @class Marker
|
|
8020
|
-
*
|
|
8021
|
-
* @constructor
|
|
8022
|
-
* @param options {Object} Passes on options (e.g. contentHtml, position, map, padding, defaultAnchorType, enabledAnchorTypes, collisionRank) to MapView.Tooltip's options argument.
|
|
8023
|
-
* @param [options.contentHtml] Use mappedin's default tooltip styling with custom inner html content
|
|
8024
|
-
* @param [options.id] If omitted, an id will be generated automatically
|
|
8025
|
-
* @param [options.position] should be something you got from {{#crossLink "MapView/getPositionPolygon:method"}}{{/crossLink}} or {{#crossLink "MapView/getPositionNode:method"}}{{/crossLink}}.
|
|
8026
|
-
* @param [options.anchor] Anchor point to node
|
|
8027
|
-
* @param [options.map] The map ID where the tooltip should be displayed
|
|
8028
|
-
* @param [options.collisionRank] The rank of the object used when comparing colliders to determine which should be shown.
|
|
8029
|
-
*/
|
|
7970
|
+
* @hidden
|
|
7971
|
+
* @internal
|
|
7972
|
+
*/
|
|
8030
7973
|
export type TSmartMarkerOptions = {
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
7974
|
+
contentHtml?: string;
|
|
7975
|
+
position: Vector3;
|
|
7976
|
+
mapId: string;
|
|
7977
|
+
id?: string;
|
|
7978
|
+
anchor?: MARKER_ANCHOR;
|
|
7979
|
+
collisionRank?: COLLISION_RANKING_TIERS;
|
|
8037
7980
|
};
|
|
8038
7981
|
type TTooltipStyle = {
|
|
8039
|
-
|
|
8040
|
-
|
|
7982
|
+
top?: string;
|
|
7983
|
+
left?: string;
|
|
8041
7984
|
};
|
|
8042
7985
|
export enum MARKER_ANCHOR {
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
}
|
|
8049
|
-
class InternalMarker extends HTMLCollider implements IHTMLCollider {
|
|
8050
|
-
_el: Element | null;
|
|
8051
|
-
style: TTooltipStyle;
|
|
8052
|
-
polygon: any;
|
|
8053
|
-
constructor(options: TSmartMarkerOptions);
|
|
8054
|
-
get strategies(): TColliderStrategy[];
|
|
8055
|
-
colliderDidMount(): void;
|
|
8056
|
-
setAction(action: any): void;
|
|
8057
|
-
colliderDidNotFindAHome(): void;
|
|
8058
|
-
colliderDidGoOffscreen(): void;
|
|
8059
|
-
colliderDidUpdateVisiblity(): void;
|
|
7986
|
+
CENTER = 0,
|
|
7987
|
+
TOP = 1,
|
|
7988
|
+
BOTTOM = 2,
|
|
7989
|
+
LEFT = 3,
|
|
7990
|
+
RIGHT = 4
|
|
8060
7991
|
}
|
|
8061
|
-
export default InternalMarker;
|
|
8062
|
-
}
|
|
8063
|
-
|
|
8064
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Markers' {
|
|
8065
|
-
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8066
|
-
import { TCreateMarkerOptions, TAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
8067
|
-
import InternalMarker from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Marker';
|
|
8068
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8069
|
-
import TWEEN from '@tweenjs/tween.js';
|
|
8070
7992
|
/**
|
|
8071
|
-
*
|
|
7993
|
+
* @hidden
|
|
7994
|
+
* @internal
|
|
8072
7995
|
*/
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
/**
|
|
8085
|
-
* The content that was provided when creating this marker.
|
|
8086
|
-
*/
|
|
8087
|
-
get contentEl(): any;
|
|
8088
|
-
}
|
|
8089
|
-
class MarkersController {
|
|
8090
|
-
#private;
|
|
8091
|
-
markersMap: Map<string, {
|
|
8092
|
-
marker: Marker;
|
|
8093
|
-
internalMarker: InternalMarker;
|
|
8094
|
-
}>;
|
|
8095
|
-
animations: Map<string, {
|
|
8096
|
-
tween: TWEEN.Tween;
|
|
8097
|
-
resolver: () => void;
|
|
8098
|
-
}>;
|
|
8099
|
-
constructor(core: ICore);
|
|
8100
|
-
/**
|
|
8101
|
-
* Create a new Marker, containing some HTML, at the specified position
|
|
8102
|
-
* @param nodeOrCoordinate the position for the Marker
|
|
8103
|
-
* @param contentHtml the content to show in the Marker
|
|
8104
|
-
* @param options options for the display of the Marker
|
|
8105
|
-
* @returns the Marker object that was created.
|
|
8106
|
-
*/
|
|
8107
|
-
add(nodeOrCoordinate: MappedinNode | MappedinCoordinate, contentHtml: string, options?: TCreateMarkerOptions): Marker;
|
|
8108
|
-
updateMap(internalMarker: InternalMarker, from: string, to: string): void;
|
|
8109
|
-
/**
|
|
8110
|
-
* Moves a Marker to a new position instantaneously.
|
|
8111
|
-
* @param markerOrMarkerId the Marker to move
|
|
8112
|
-
* @param target the new position for this Marker
|
|
8113
|
-
*/
|
|
8114
|
-
setPosition(markerOrMarkerId: Marker | Marker['id'], target: MappedinNode | MappedinCoordinate): void;
|
|
8115
|
-
/**
|
|
8116
|
-
* Moves a Marker to a new position over time.
|
|
8117
|
-
* @param markerOrMarkerId the Marker to move
|
|
8118
|
-
* @param target the new position for this Marker
|
|
8119
|
-
* @param options the options for how this movement should be animated
|
|
8120
|
-
*/
|
|
8121
|
-
animate(markerOrMarkerId: Marker | Marker['id'], target: MappedinCoordinate | MappedinNode, options?: TAnimationOptions): Promise<void>;
|
|
8122
|
-
/**
|
|
8123
|
-
* Removes a Marker.
|
|
8124
|
-
* @param markerOrMarkerId the Marker to be removed
|
|
8125
|
-
*/
|
|
8126
|
-
remove(markerOrMarkerId: Marker | Marker['id']): void;
|
|
8127
|
-
/**
|
|
8128
|
-
* Remove all Markers from all maps.
|
|
8129
|
-
*/
|
|
8130
|
-
removeAll(): void;
|
|
7996
|
+
class InternalMarker extends HTMLCollider implements IHTMLCollider {
|
|
7997
|
+
_el: Element | null;
|
|
7998
|
+
style: TTooltipStyle;
|
|
7999
|
+
polygon: any;
|
|
8000
|
+
constructor(options: TSmartMarkerOptions);
|
|
8001
|
+
get strategies(): TColliderStrategy[];
|
|
8002
|
+
colliderDidMount(): void;
|
|
8003
|
+
setAction(action: any): void;
|
|
8004
|
+
colliderDidNotFindAHome(): void;
|
|
8005
|
+
colliderDidGoOffscreen(): void;
|
|
8006
|
+
colliderDidUpdateVisiblity(): void;
|
|
8131
8007
|
}
|
|
8132
|
-
export default
|
|
8008
|
+
export default InternalMarker;
|
|
8133
8009
|
}
|
|
8134
8010
|
|
|
8135
8011
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.AssetManager' {
|
|
@@ -8142,14 +8018,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8142
8018
|
}
|
|
8143
8019
|
}
|
|
8144
8020
|
|
|
8145
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8021
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.TileManager' {
|
|
8146
8022
|
import { Box3 } from 'three';
|
|
8147
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8023
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
8148
8024
|
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
8149
8025
|
import Object3D from '@mappedin/react-native-sdk/core/packages/renderer/internal/object3D.destroy';
|
|
8150
|
-
import {
|
|
8151
|
-
import {
|
|
8152
|
-
import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/core/packages/renderer/layers/Outdoor-Context/Outdoor-Context.provider';
|
|
8026
|
+
import { Tile } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.Tile';
|
|
8027
|
+
import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Outdoor-Context.provider';
|
|
8153
8028
|
export enum TILE_RENDER_MODES {
|
|
8154
8029
|
NORMAL = 0,
|
|
8155
8030
|
AGGRESSIVE = 1
|
|
@@ -8173,7 +8048,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Outdoor
|
|
|
8173
8048
|
currentAbortController: AbortController;
|
|
8174
8049
|
attributionEl: HTMLDivElement;
|
|
8175
8050
|
outdoorContextProvider: IOutdoorContextProvider;
|
|
8176
|
-
constructor(
|
|
8051
|
+
constructor(core: ICore);
|
|
8177
8052
|
createAttributionEl(): void;
|
|
8178
8053
|
renderVisibleTiles: () => void;
|
|
8179
8054
|
_renderVisibleTiles(): void;
|
|
@@ -8212,12 +8087,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-m
|
|
|
8212
8087
|
}
|
|
8213
8088
|
}
|
|
8214
8089
|
|
|
8215
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8090
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Markers' {
|
|
8216
8091
|
import { TAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
8217
8092
|
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8218
8093
|
import { TCreateMarkerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
8219
|
-
import MarkersController, { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8220
|
-
export class
|
|
8094
|
+
import MarkersController, { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/MarkersController';
|
|
8095
|
+
export class Markers {
|
|
8221
8096
|
#private;
|
|
8222
8097
|
constructor(markersController: MarkersController);
|
|
8223
8098
|
get markers(): Marker[];
|
|
@@ -8254,14 +8129,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Markers
|
|
|
8254
8129
|
}
|
|
8255
8130
|
}
|
|
8256
8131
|
|
|
8257
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8132
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Paths' {
|
|
8258
8133
|
import { MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8259
8134
|
import { TPathOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
8260
|
-
import PathsController, { Path } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8135
|
+
import PathsController, { Path } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/PathsController';
|
|
8261
8136
|
/**
|
|
8262
8137
|
* Add and remove paths from maps.
|
|
8263
8138
|
*/
|
|
8264
|
-
export class
|
|
8139
|
+
export class Paths {
|
|
8265
8140
|
#private;
|
|
8266
8141
|
constructor(pathsController: PathsController);
|
|
8267
8142
|
/**
|
|
@@ -8278,7 +8153,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Paths'
|
|
|
8278
8153
|
/**
|
|
8279
8154
|
* Remove a path from all maps it exists on.
|
|
8280
8155
|
*
|
|
8281
|
-
* @param path A {@link Path} instance returned from {@link
|
|
8156
|
+
* @param path A {@link Path} instance returned from {@link Paths.add}.
|
|
8282
8157
|
*/
|
|
8283
8158
|
remove(path: Path): void;
|
|
8284
8159
|
/**
|
|
@@ -8288,11 +8163,147 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Paths'
|
|
|
8288
8163
|
}
|
|
8289
8164
|
}
|
|
8290
8165
|
|
|
8166
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/BlueDot' {
|
|
8167
|
+
import { BlueDotController, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
8168
|
+
export class BlueDot {
|
|
8169
|
+
#private;
|
|
8170
|
+
constructor(controller: BlueDotController);
|
|
8171
|
+
on: BlueDotController['on'];
|
|
8172
|
+
off: BlueDotController['off'];
|
|
8173
|
+
/**
|
|
8174
|
+
* Enables Blue Dot. BlueDot then emits {@link TBlueDotStateChange} and {@link TBlueDotPositionUpdate} events via {@link E_BLUEDOT_EVENT}
|
|
8175
|
+
*/
|
|
8176
|
+
enable(options?: TEnableBlueDotOptions): void;
|
|
8177
|
+
/**
|
|
8178
|
+
* Disables Blue Dot and stops emitting events.
|
|
8179
|
+
*/
|
|
8180
|
+
disable(): void;
|
|
8181
|
+
}
|
|
8182
|
+
}
|
|
8183
|
+
|
|
8184
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Camera' {
|
|
8185
|
+
import { E_CAMERA_DIRECTION } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
8186
|
+
import CameraController, { TCameraAnimationOptions, TCameraTargets, TCameraTransform, TFocusOnCameraOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
|
|
8187
|
+
export class Camera {
|
|
8188
|
+
#private;
|
|
8189
|
+
constructor(controller: CameraController);
|
|
8190
|
+
on: CameraController['on'];
|
|
8191
|
+
off: CameraController['off'];
|
|
8192
|
+
/**
|
|
8193
|
+
* The current camera animation, if any. Resolves when the animation finishes.
|
|
8194
|
+
*/
|
|
8195
|
+
get currentAnimation(): Promise<undefined> | undefined;
|
|
8196
|
+
/**
|
|
8197
|
+
* Current Camera zoom (in meters)
|
|
8198
|
+
*/
|
|
8199
|
+
get zoom(): number;
|
|
8200
|
+
/**
|
|
8201
|
+
* Current Camera rotation (in radians) from north
|
|
8202
|
+
*/
|
|
8203
|
+
get rotation(): number;
|
|
8204
|
+
/**
|
|
8205
|
+
* Current camera tilt angle (in radians), relative to a top-down view.
|
|
8206
|
+
*
|
|
8207
|
+
* ex: 0 means the camera is facing top-down, π/2 means the camera is
|
|
8208
|
+
* facing directly from the side.
|
|
8209
|
+
*/
|
|
8210
|
+
get tilt(): number;
|
|
8211
|
+
/**
|
|
8212
|
+
* Get the minimum distance (in meters) the camera is allowed to get to the ground.
|
|
8213
|
+
*/
|
|
8214
|
+
get minZoom(): number;
|
|
8215
|
+
/**
|
|
8216
|
+
* Set the minimum distance (in meters) the camera is allowed to get to the ground.
|
|
8217
|
+
*/
|
|
8218
|
+
set minZoom(meters: number);
|
|
8219
|
+
/**
|
|
8220
|
+
* Get the maximum distance (in meters) the camera is allowed to get from the ground.
|
|
8221
|
+
*/
|
|
8222
|
+
get maxZoom(): number;
|
|
8223
|
+
/**
|
|
8224
|
+
* Set the maximum distance (in meters) the camera is allowed to get from the ground.
|
|
8225
|
+
*/
|
|
8226
|
+
set maxZoom(meters: number);
|
|
8227
|
+
/**
|
|
8228
|
+
* Get the current maximum tilt angle (in radians) the camera is allowed to use.
|
|
8229
|
+
*/
|
|
8230
|
+
get maxTilt(): number;
|
|
8231
|
+
/**
|
|
8232
|
+
* Sets the maximum tilt angle (in radians) the camera is allowed to use.
|
|
8233
|
+
*
|
|
8234
|
+
* Tilt angle must be between 0 and π/2 radians. It will be clamped within
|
|
8235
|
+
* this range if it exceeds it on either end.
|
|
8236
|
+
*
|
|
8237
|
+
* As tilt angle approaches π/2 radians, this will impact overall touch controls
|
|
8238
|
+
* and should be used sparingly.
|
|
8239
|
+
*/
|
|
8240
|
+
set maxTilt(radians: number);
|
|
8241
|
+
/**
|
|
8242
|
+
* Get the current camera position, which is at the center of the map.
|
|
8243
|
+
* @returns the position as a coordinate
|
|
8244
|
+
*/
|
|
8245
|
+
get position(): import("../..").MappedinCoordinate;
|
|
8246
|
+
/**
|
|
8247
|
+
* User camera interactions
|
|
8248
|
+
*/
|
|
8249
|
+
interactions: {
|
|
8250
|
+
/**
|
|
8251
|
+
* Enable all user interactions. This does not affect programmatic
|
|
8252
|
+
* Camera controls, such as `set` and `focusOn`
|
|
8253
|
+
*/
|
|
8254
|
+
enable: () => void;
|
|
8255
|
+
/**
|
|
8256
|
+
* Disable all user interactions. This does not affect programmatic
|
|
8257
|
+
* Camera controls, such as `set` and `focusOn`
|
|
8258
|
+
*/
|
|
8259
|
+
disable: () => void;
|
|
8260
|
+
};
|
|
8261
|
+
setSafeAreaInsets(insets: {
|
|
8262
|
+
top: number;
|
|
8263
|
+
left: number;
|
|
8264
|
+
bottom: number;
|
|
8265
|
+
right: number;
|
|
8266
|
+
}): void;
|
|
8267
|
+
getSafeAreaInsets(): import("../..").TPadding;
|
|
8268
|
+
/**
|
|
8269
|
+
* Focus the Camera view on a collection of targets and animate to that state.
|
|
8270
|
+
* @returns a Promise that resolves when the animation finishes, or rejects when it is cancelled.
|
|
8271
|
+
*/
|
|
8272
|
+
focusOn(targets: TCameraTargets, options?: TFocusOnCameraOptions & TCameraAnimationOptions): Promise<any>;
|
|
8273
|
+
/**
|
|
8274
|
+
* Set the Camera's view to a new state.
|
|
8275
|
+
*/
|
|
8276
|
+
set(transform: TCameraTransform): void;
|
|
8277
|
+
/**
|
|
8278
|
+
* Animate the Camera's view to smoothly transition to a new state over time.
|
|
8279
|
+
*
|
|
8280
|
+
* @returns a Promise that resolves when the animation finishes, or rejects when it is cancelled.
|
|
8281
|
+
*/
|
|
8282
|
+
animate(transform: TCameraTransform, options?: TCameraAnimationOptions): Promise<undefined>;
|
|
8283
|
+
/**
|
|
8284
|
+
* Moves the Camera view in a relative direction by a given distance in meters.
|
|
8285
|
+
* @returns a Promise that resolves when the translation animation finishes, or rejects when it is cancelled.
|
|
8286
|
+
*/
|
|
8287
|
+
translate(direction: E_CAMERA_DIRECTION, distance: number, options?: TCameraAnimationOptions): Promise<unknown>;
|
|
8288
|
+
/**
|
|
8289
|
+
* Cancel the currently active Camera animation.
|
|
8290
|
+
*/
|
|
8291
|
+
cancelAnimation(): void;
|
|
8292
|
+
}
|
|
8293
|
+
}
|
|
8294
|
+
|
|
8291
8295
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.Scene' {
|
|
8292
8296
|
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8293
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8297
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
8294
8298
|
import MapObject from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapObject';
|
|
8295
8299
|
import { TSceneTransitionOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.SceneManager';
|
|
8300
|
+
export function getPanBoundsForObject(mapObject: MapObject, currentPanBounds: any): {
|
|
8301
|
+
min: any;
|
|
8302
|
+
max: any;
|
|
8303
|
+
margin: any;
|
|
8304
|
+
radius: any;
|
|
8305
|
+
center: any;
|
|
8306
|
+
};
|
|
8296
8307
|
class MapViewScene {
|
|
8297
8308
|
#private;
|
|
8298
8309
|
maps: MappedinMap[];
|
|
@@ -8317,8 +8328,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.Scene'
|
|
|
8317
8328
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollisionEngine' {
|
|
8318
8329
|
import './Mappedin.SmartCollisionEngine.scss';
|
|
8319
8330
|
import { ICollider, TRange, TColliderPosition } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartCollider';
|
|
8320
|
-
import { MappedinMap
|
|
8321
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8331
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
8332
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
8322
8333
|
import { Rectangle, QuadTree } from '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-tree';
|
|
8323
8334
|
export const COLLIDER_STRATEGY_LOW_PRIORITY = "LOW_PRIORITY";
|
|
8324
8335
|
class SmartCollisionEngine {
|
|
@@ -8337,10 +8348,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8337
8348
|
offscreenRanges: TRange[];
|
|
8338
8349
|
get sortedColliders(): ICollider[];
|
|
8339
8350
|
initialized: boolean;
|
|
8340
|
-
mapView: MapView;
|
|
8341
8351
|
core: ICore;
|
|
8342
8352
|
screen: Rectangle;
|
|
8343
|
-
constructor(
|
|
8353
|
+
constructor(core: ICore);
|
|
8344
8354
|
beginUpdate(): void;
|
|
8345
8355
|
init: (container: HTMLDivElement, projectFn: (position: TColliderPosition, mapId: MappedinMap['id']) => {
|
|
8346
8356
|
x: number;
|
|
@@ -8400,11 +8410,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/objec
|
|
|
8400
8410
|
export default Object3D;
|
|
8401
8411
|
}
|
|
8402
8412
|
|
|
8403
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8413
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.Tile' {
|
|
8404
8414
|
import { Texture, Mesh, MeshBasicMaterial } from 'three';
|
|
8405
|
-
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8415
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/private/Core.interface';
|
|
8406
8416
|
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
8407
|
-
import { TileManager } from '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8417
|
+
import { TileManager } from '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
8408
8418
|
export class Tile {
|
|
8409
8419
|
#private;
|
|
8410
8420
|
center: MappedinCoordinate;
|
|
@@ -8432,7 +8442,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Outdoor
|
|
|
8432
8442
|
}
|
|
8433
8443
|
}
|
|
8434
8444
|
|
|
8435
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/
|
|
8445
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdoor-context/Outdoor-Context.provider' {
|
|
8436
8446
|
/**
|
|
8437
8447
|
* @experimental
|
|
8438
8448
|
* The universal outdoor context interface
|