@mappedin/react-native-sdk 5.25.0 → 5.27.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
|
@@ -15,22 +15,22 @@ declare module '@mappedin/react-native-sdk' {
|
|
|
15
15
|
export { MiMiniMap } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
16
16
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
17
17
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
18
|
-
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/
|
|
19
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMakerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/
|
|
20
|
-
export { STATE } from '@mappedin/react-native-sdk/
|
|
21
|
-
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE, } from '@mappedin/react-native-sdk/
|
|
18
|
+
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
19
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMakerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
20
|
+
export { STATE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
21
|
+
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
22
22
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
23
|
-
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/
|
|
24
|
-
export type { TJourneyOptions, TGeolocationObject, TPathOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TFlatLabelAppearance, TFloatingLabelAppearance, TFocusOnCameraOptions, TCameraTargets, TCameraAnimationOptions, TCameraTransform, TBlueDotPositionUpdate, TBlueDotStateChange, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, } from '@mappedin/react-native-sdk/
|
|
23
|
+
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
24
|
+
export type { TJourneyOptions, TGeolocationObject, TPathOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TFlatLabelAppearance, TFloatingLabelAppearance, TFocusOnCameraOptions, TCameraTargets, TCameraAnimationOptions, TCameraTransform, TBlueDotPositionUpdate, TBlueDotStateChange, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
25
25
|
export type { TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptionsBase };
|
|
26
26
|
export type TEnableBlueDotOptions = Omit<TEnableBlueDotOptionsBase, 'positionUpdater'>;
|
|
27
27
|
export type TLabelAllLocationCommonOptions = Omit<TLabelAllLocationCommonOptionsBase, 'sortFunction' | 'translationMap'>;
|
|
28
28
|
export type { TMapViewRNOptions, TCameraChange } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
29
29
|
export type { TMiMapViewVenueOptions, TMiMapViewVenueMakerOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
30
|
-
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/
|
|
31
|
-
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/
|
|
30
|
+
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
31
|
+
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
32
32
|
export { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
33
|
-
export { BEARING_TYPE, ACTION_TYPE, MappedinLocation, Mappedin, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinDestinationSet, E_CAMERA_DIRECTION, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/
|
|
33
|
+
export { BEARING_TYPE, ACTION_TYPE, MappedinLocation, Mappedin, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinDestinationSet, E_CAMERA_DIRECTION, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView' {
|
|
@@ -38,7 +38,7 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
38
38
|
import { TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
39
39
|
import { STATE } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src';
|
|
40
40
|
import { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
41
|
-
import type { TBlueDotPositionUpdate, TBlueDotStateChange, TMapClickEvent, MappedinPolygon, MappedinMap, Mappedin } from '@mappedin/react-native-sdk/
|
|
41
|
+
import type { TBlueDotPositionUpdate, TBlueDotStateChange, TMapClickEvent, MappedinPolygon, MappedinMap, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
42
42
|
import { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
43
43
|
import { TCameraChange, TMapViewRNOptions } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
44
44
|
export type TMiMapViewProps = {
|
|
@@ -127,13 +127,13 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
127
127
|
/**
|
|
128
128
|
* @category Component
|
|
129
129
|
*/
|
|
130
|
-
export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "options" | "
|
|
130
|
+
export const MiMapView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<TMiMapViewProps, "options" | "style" | "onClick" | "onFirstMapLoaded" | "venueData" | "onPolygonClicked" | "onBlueDotStateChanged" | "onBlueDotPositionUpdated" | "onCameraChanged" | "onDataLoaded" | "onNothingClicked" | "onMapChanged" | "onStateChanged" | "onVenueLoadError"> & React.RefAttributes<MapViewStore>>>;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap' {
|
|
134
134
|
import React from 'react';
|
|
135
135
|
import { TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
136
|
-
import type { MappedinLocation, Mappedin, TFocusOnCameraOptions, TCameraAnimationOptions } from '@mappedin/react-native-sdk/
|
|
136
|
+
import type { MappedinLocation, Mappedin, TFocusOnCameraOptions, TCameraAnimationOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
137
137
|
import { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
138
138
|
export type TMiMiniMapProps = {
|
|
139
139
|
/**
|
|
@@ -175,12 +175,12 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniM
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store' {
|
|
178
|
-
import { IFlatLabels, IFloatingLabels, TGetPolygonsAtCoordinateOptions, STATE, Mappedin, MappedinNode, MappedinMap, MappedinLocation, MappedinDirections, MappedinCategory, MappedinPolygon, TGetVenueOptions, TShowVenueOptions, MappedinCoordinate, MappedinDestinationSet, TCreateMarkerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions } from '@mappedin/react-native-sdk/
|
|
178
|
+
import { IFlatLabels, IFloatingLabels, TGetPolygonsAtCoordinateOptions, STATE, Mappedin, MappedinNode, MappedinMap, MappedinLocation, MappedinDirections, MappedinCategory, MappedinPolygon, TGetVenueOptions, TShowVenueOptions, MappedinCoordinate, MappedinDestinationSet, TCreateMarkerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
179
179
|
import { RNMappedinController } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MappedinController';
|
|
180
180
|
import { TReactNativeFlatLabelAllLocations, TReactNativeFlatLabelAllLocationsLegacy, TSerializableJourneyOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
181
|
-
import type { TGeolocationObject, TEnableBlueDotOptions, TPathOptions, TLabelAllLocationFloatingLabelOptions, TMappedinOfflineSearchOptions, TGetVenueMakerOptions } from '@mappedin/react-native-sdk/
|
|
181
|
+
import type { TGeolocationObject, TEnableBlueDotOptions, TPathOptions, TLabelAllLocationFloatingLabelOptions, TMappedinOfflineSearchOptions, TGetVenueMakerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
182
182
|
import { TCameraManager } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
183
|
-
import { TAnimationOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/
|
|
183
|
+
import { TAnimationOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
184
184
|
export class MapViewStore extends RNMappedinController {
|
|
185
185
|
#private;
|
|
186
186
|
state: STATE;
|
|
@@ -439,24 +439,24 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
declare module '@mappedin/react-native-sdk/
|
|
443
|
-
import { getVenue, getVenueBundle, Mappedin, MappedinDestinationSet } from '@mappedin/react-native-sdk/
|
|
444
|
-
import { randomId } from '@mappedin/react-native-sdk/
|
|
445
|
-
export * from '@mappedin/react-native-sdk/
|
|
442
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn' {
|
|
443
|
+
import { getVenue, getVenueBundle, Mappedin, MappedinDestinationSet } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
444
|
+
import { randomId } from '@mappedin/react-native-sdk/sdks/packages/common/random-id';
|
|
445
|
+
export * from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
446
446
|
export { getVenue,
|
|
447
447
|
/**
|
|
448
448
|
* @deprecated
|
|
449
449
|
*/
|
|
450
450
|
getVenueBundle, MappedinDestinationSet, Mappedin, randomId, };
|
|
451
|
-
export { labelThemes } from '@mappedin/react-native-sdk/
|
|
452
|
-
export type { IFlatLabels } from '@mappedin/react-native-sdk/
|
|
453
|
-
export type { IFloatingLabels } from '@mappedin/react-native-sdk/
|
|
454
|
-
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/
|
|
455
|
-
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/
|
|
456
|
-
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/
|
|
457
|
-
export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective,
|
|
458
|
-
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, } from '@mappedin/react-native-sdk/
|
|
459
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/
|
|
451
|
+
export { labelThemes } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
452
|
+
export type { IFlatLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FlatLabels';
|
|
453
|
+
export type { IFloatingLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FloatingLabels';
|
|
454
|
+
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, TShowVenueOptions, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
455
|
+
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
456
|
+
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
457
|
+
export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
458
|
+
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
459
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController';
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
declare module '@mappedin/react-native-sdk/wrappers/common' {
|
|
@@ -468,10 +468,10 @@ declare module '@mappedin/react-native-sdk/wrappers/common' {
|
|
|
468
468
|
|
|
469
469
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types' {
|
|
470
470
|
import { MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src';
|
|
471
|
-
import { MappedinCoordinate, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/
|
|
472
|
-
import type { MappedinCategory, MappedinLocation, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult } from '@mappedin/react-native-sdk/
|
|
473
|
-
import { CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, E_CAMERA_DIRECTION, TCameraTransform, TCameraTargets, TFocusOnCameraOptions, TCameraAnimationOptions } from '@mappedin/react-native-sdk/
|
|
474
|
-
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/
|
|
471
|
+
import { MappedinCoordinate, MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
472
|
+
import type { MappedinCategory, MappedinLocation, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
473
|
+
import { CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, E_CAMERA_DIRECTION, TCameraTransform, TCameraTargets, TFocusOnCameraOptions, TCameraAnimationOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
474
|
+
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
475
475
|
export type TPolygonColorOptions = {
|
|
476
476
|
color: string;
|
|
477
477
|
opacity?: number;
|
|
@@ -557,22 +557,22 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src' {
|
|
|
557
557
|
export { MiMiniMap } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
558
558
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
559
559
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
560
|
-
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/
|
|
561
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMakerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/
|
|
562
|
-
export { STATE } from '@mappedin/react-native-sdk/
|
|
563
|
-
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE, } from '@mappedin/react-native-sdk/
|
|
560
|
+
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
561
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMakerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
562
|
+
export { STATE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
563
|
+
export { COLLISION_RANKING_TIERS, MARKER_ANCHOR, E_BLUEDOT_STATE, MappedinCoordinate, labelThemes, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE_REASON, MAP_RENDER_MODE, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
564
564
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
565
|
-
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/
|
|
566
|
-
export type { TJourneyOptions, TGeolocationObject, TPathOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TFlatLabelAppearance, TFloatingLabelAppearance, TFocusOnCameraOptions, TCameraTargets, TCameraAnimationOptions, TCameraTransform, TBlueDotPositionUpdate, TBlueDotStateChange, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, } from '@mappedin/react-native-sdk/
|
|
565
|
+
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
566
|
+
export type { TJourneyOptions, TGeolocationObject, TPathOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TFlatLabelAppearance, TFloatingLabelAppearance, TFocusOnCameraOptions, TCameraTargets, TCameraAnimationOptions, TCameraTransform, TBlueDotPositionUpdate, TBlueDotStateChange, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
567
567
|
export type { TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptionsBase };
|
|
568
568
|
export type TEnableBlueDotOptions = Omit<TEnableBlueDotOptionsBase, 'positionUpdater'>;
|
|
569
569
|
export type TLabelAllLocationCommonOptions = Omit<TLabelAllLocationCommonOptionsBase, 'sortFunction' | 'translationMap'>;
|
|
570
570
|
export type { TMapViewRNOptions, TCameraChange } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
571
571
|
export type { TMiMapViewVenueOptions, TMiMapViewVenueMakerOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
572
|
-
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/
|
|
573
|
-
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/
|
|
572
|
+
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
573
|
+
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
574
574
|
export { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
575
|
-
export { BEARING_TYPE, ACTION_TYPE, MappedinLocation, Mappedin, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinDestinationSet, E_CAMERA_DIRECTION, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/
|
|
575
|
+
export { BEARING_TYPE, ACTION_TYPE, MappedinLocation, Mappedin, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinDestinationSet, E_CAMERA_DIRECTION, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MappedinController' {
|
|
@@ -619,15 +619,15 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/Mappedi
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
declare module '@mappedin/react-native-sdk/
|
|
623
|
-
import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
624
|
-
import type { TFloatingLabelAppearance } from '@mappedin/react-native-sdk/
|
|
625
|
-
import type { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/react-native-sdk/
|
|
622
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types' {
|
|
623
|
+
import type { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
624
|
+
import type { TFloatingLabelAppearance } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.FloatingLabel';
|
|
625
|
+
import type { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
626
626
|
import type { Euler, Object3D, Vector3 } from 'three';
|
|
627
|
-
import type { Path } from '@mappedin/react-native-sdk/
|
|
628
|
-
import { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/
|
|
629
|
-
import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/
|
|
630
|
-
import { TOutdoorViewControllerOptions } from '@mappedin/react-native-sdk/
|
|
627
|
+
import type { Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController';
|
|
628
|
+
import { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartTooltip';
|
|
629
|
+
import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE, E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
630
|
+
import { TOutdoorViewControllerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/OutdoorViewController';
|
|
631
631
|
export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
|
|
632
632
|
/** @internal */
|
|
633
633
|
export type Without<T, U> = {
|
|
@@ -650,7 +650,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
650
650
|
floorLevel?: number;
|
|
651
651
|
};
|
|
652
652
|
/**
|
|
653
|
-
* override
|
|
653
|
+
* Optional property to override the bearing of the bluedot.
|
|
654
|
+
* Specifies the clockwise rotation angle in degrees from North.
|
|
655
|
+
* For example:
|
|
656
|
+
* - A value of 0 (or undefined) indicates North.
|
|
657
|
+
* - A value of 90 indicates East.
|
|
658
|
+
* - A value of 180 indicates South.
|
|
659
|
+
* - A value of 225 indicates SouthWest.
|
|
660
|
+
* This property helps in setting a specific orientation for the bluedot.
|
|
654
661
|
*/
|
|
655
662
|
bearing?: number;
|
|
656
663
|
};
|
|
@@ -658,7 +665,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
658
665
|
export type TPathOptions = {
|
|
659
666
|
/**
|
|
660
667
|
* Path Colour
|
|
661
|
-
* @defaultValue #
|
|
668
|
+
* @defaultValue #4b90e2
|
|
662
669
|
*/
|
|
663
670
|
color?: string;
|
|
664
671
|
/**
|
|
@@ -706,6 +713,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
706
713
|
* @defaultValue true
|
|
707
714
|
*/
|
|
708
715
|
displayArrowsOnPath?: boolean;
|
|
716
|
+
/**
|
|
717
|
+
* Animate arrows on path
|
|
718
|
+
* @defaultValue true
|
|
719
|
+
*/
|
|
720
|
+
animateArrowsOnPath?: boolean;
|
|
709
721
|
/**
|
|
710
722
|
* Flatten the path to a 2D line
|
|
711
723
|
* @defaultValue false
|
|
@@ -899,6 +911,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
899
911
|
* Optional layer to attach the {@link Marker} to.
|
|
900
912
|
*/
|
|
901
913
|
layer?: string;
|
|
914
|
+
/**
|
|
915
|
+
* @internal
|
|
916
|
+
*/
|
|
917
|
+
id?: string;
|
|
902
918
|
};
|
|
903
919
|
/**
|
|
904
920
|
* Configurations for an animation
|
|
@@ -1021,6 +1037,28 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1021
1037
|
* @default false
|
|
1022
1038
|
*/
|
|
1023
1039
|
aoEnabled?: TAOConfiguration['aoEnabled'];
|
|
1040
|
+
/**
|
|
1041
|
+
* @experimental
|
|
1042
|
+
*
|
|
1043
|
+
* Enable debug mode to check the visual representation of performance stats.
|
|
1044
|
+
* @default false
|
|
1045
|
+
*/
|
|
1046
|
+
debug?: boolean;
|
|
1047
|
+
/**
|
|
1048
|
+
* @experimental
|
|
1049
|
+
*
|
|
1050
|
+
* Adjust some quality settings automatically based on the current FPS.
|
|
1051
|
+
* The algorithm will try to keep the FPS at 25 or higher by following the steps below:
|
|
1052
|
+
*
|
|
1053
|
+
* - If the FPS remains below 26 for the last 5 seconds, the ambient occlusion and antialiasing quality will be decreased.
|
|
1054
|
+
* - If the FPS remains below 26 for the next 5 seconds, the ambient occlusion and antialiasing quality will be decreased again.
|
|
1055
|
+
* - If the FPS remains below 26 for another 5 seconds, the ambient occlusion and antialiasing effects will be disabled,
|
|
1056
|
+
* and path animation will be disabled, textures' anisotropy will be decreased.
|
|
1057
|
+
* The same will happen if the FPS remains below 10 for the last 5 seconds.
|
|
1058
|
+
*
|
|
1059
|
+
* @default true
|
|
1060
|
+
*/
|
|
1061
|
+
dynamicPerformance?: boolean;
|
|
1024
1062
|
/**
|
|
1025
1063
|
* @experimental
|
|
1026
1064
|
*
|
|
@@ -1218,6 +1256,100 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1218
1256
|
onWebGLContextRestored?: () => void;
|
|
1219
1257
|
onWebGLRendererError?: () => void;
|
|
1220
1258
|
};
|
|
1259
|
+
export type TShowVenueOptions = {
|
|
1260
|
+
/**
|
|
1261
|
+
* @experimental
|
|
1262
|
+
*
|
|
1263
|
+
* Enable ambient occlusion. Only works in single buffer mode and when device supports WebGL2.
|
|
1264
|
+
* @default false
|
|
1265
|
+
*/
|
|
1266
|
+
aoEnabled?: TAOConfiguration['aoEnabled'];
|
|
1267
|
+
/**
|
|
1268
|
+
* @experimental
|
|
1269
|
+
*
|
|
1270
|
+
* Change the quality of ambient occlusion in the scene. Greater quality means less noise, but worse performance.
|
|
1271
|
+
* @default 'medium'
|
|
1272
|
+
*/
|
|
1273
|
+
aoQuality?: TAOConfiguration['aoQuality'];
|
|
1274
|
+
/**
|
|
1275
|
+
* @experimental
|
|
1276
|
+
*
|
|
1277
|
+
* Change the resolution of ambient occlusion. Lower resolution will see significant performance improvement at the cost
|
|
1278
|
+
* of visual artifacting.
|
|
1279
|
+
* @default 'full'
|
|
1280
|
+
*/
|
|
1281
|
+
aoResolution?: TAOConfiguration['aoResolution'];
|
|
1282
|
+
/**
|
|
1283
|
+
* @internal
|
|
1284
|
+
*
|
|
1285
|
+
* Ambient occlusion configuration passed from the mobile SDKs.
|
|
1286
|
+
*/
|
|
1287
|
+
ambientOcclusionConfig?: TAOConfiguration;
|
|
1288
|
+
/**
|
|
1289
|
+
* Sets the initial background color of the map, including while loading.
|
|
1290
|
+
*
|
|
1291
|
+
*/
|
|
1292
|
+
backgroundColor?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* The opacity of the initial background color.
|
|
1295
|
+
*/
|
|
1296
|
+
backgroundAlpha?: number;
|
|
1297
|
+
/**
|
|
1298
|
+
* Whether or not to display default styled Floating Labels initially
|
|
1299
|
+
*/
|
|
1300
|
+
labelAllLocationsOnInit?: boolean;
|
|
1301
|
+
/**
|
|
1302
|
+
* The id of the first map to show on map load
|
|
1303
|
+
*/
|
|
1304
|
+
firstMapId?: string;
|
|
1305
|
+
loadOptions?: {
|
|
1306
|
+
/**
|
|
1307
|
+
* Set the map render strategy in order to optimize FPS
|
|
1308
|
+
*
|
|
1309
|
+
* @beta
|
|
1310
|
+
*/
|
|
1311
|
+
mapRenderStrategy?: MAP_RENDER_MODE;
|
|
1312
|
+
};
|
|
1313
|
+
/**
|
|
1314
|
+
* @experimental
|
|
1315
|
+
* Enable outdoor view. Requires multi-buffer rendering to be enabled
|
|
1316
|
+
*/
|
|
1317
|
+
outdoorView?: TOutdoorViewControllerOptions & {
|
|
1318
|
+
enabled?: boolean;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* @experimental
|
|
1322
|
+
* Enable multi-buffer rendering
|
|
1323
|
+
*
|
|
1324
|
+
* Multi-buffer rendering should improve performance but may cause issues on older GPUs/browsers
|
|
1325
|
+
* @default false
|
|
1326
|
+
*/
|
|
1327
|
+
multiBufferRendering?: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* @experimental
|
|
1330
|
+
* Journey path will be visible through other objects. Note: this is on by default, but requires the
|
|
1331
|
+
* `multiBufferRendering` option (which is off by default) to be turned on.
|
|
1332
|
+
* @default true
|
|
1333
|
+
*/
|
|
1334
|
+
xRayPath?: boolean;
|
|
1335
|
+
/**
|
|
1336
|
+
* @internal
|
|
1337
|
+
* Anti alias configuration passed from the mobile SDKs.
|
|
1338
|
+
*/
|
|
1339
|
+
antialiasConfig?: TAntialiasConfiguration;
|
|
1340
|
+
/**
|
|
1341
|
+
* Controls whether antialiasing is on. Defaults to `true`, as long as devicePixelRatio is 1. This is very expensive on high resolution screens.
|
|
1342
|
+
* @default true
|
|
1343
|
+
*/
|
|
1344
|
+
antialias?: TAntialiasConfiguration['antialias'];
|
|
1345
|
+
/**
|
|
1346
|
+
* @experimental
|
|
1347
|
+
*
|
|
1348
|
+
* Controls the antialiasing quality. Greater quality means less artifacts(less aliasing), but worse performance.
|
|
1349
|
+
* @default 'medium'
|
|
1350
|
+
*/
|
|
1351
|
+
antialiasQuality?: TAntialiasConfiguration['antialiasQuality'];
|
|
1352
|
+
};
|
|
1221
1353
|
export type TMapViewOptionsLegacy = {
|
|
1222
1354
|
/**
|
|
1223
1355
|
* Background color of the map as a string e.g. `"#2e2e2e"`.
|
|
@@ -1393,6 +1525,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1393
1525
|
* If not provided, this will be empty or the layer of the {@link MappedinPolygon} that the label is attached to.
|
|
1394
1526
|
*/
|
|
1395
1527
|
layer?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* @internal
|
|
1530
|
+
*/
|
|
1531
|
+
id?: string;
|
|
1396
1532
|
};
|
|
1397
1533
|
export type TLabelAllLocationCommonOptions = {
|
|
1398
1534
|
/**
|
|
@@ -1501,21 +1637,85 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1501
1637
|
antialiasQuality?: 'low' | 'medium' | 'high' | 'ultra';
|
|
1502
1638
|
};
|
|
1503
1639
|
export type TAOConfiguration = {
|
|
1640
|
+
/**
|
|
1641
|
+
* Enable ambient occlusion. Only works in single buffer mode and when device supports WebGL2.
|
|
1642
|
+
* @default false
|
|
1643
|
+
*/
|
|
1504
1644
|
aoEnabled?: boolean;
|
|
1505
|
-
|
|
1645
|
+
/**
|
|
1646
|
+
* Change the quality of ambient occlusion in the scene. Greater quality means less noise, but worse performance.
|
|
1647
|
+
*
|
|
1648
|
+
* The quality modes are as follows:
|
|
1649
|
+
|
|
1650
|
+
*Temporal stability refers to how consistent the AO is from frame to frame - it's important for a smooth experience.*
|
|
1651
|
+
| Quality Mode | AO Samples | Denoise Samples | Denoise Radius | Best For
|
|
1652
|
+
|:---:|:---:|:---:|:---:|:---:|
|
|
1653
|
+
| Performance (Less temporal stability, a bit noisy) | 8 | 4 | 12 | Mobile, Low-end iGPUs and laptops |
|
|
1654
|
+
| Low (Temporally stable, but low-frequency noise) | 16 | 4 | 12 | High-End Mobile, iGPUs, laptops |
|
|
1655
|
+
| Medium (Temporally stable and barely any noise) | 16 | 8 | 12 | High-End Mobile, laptops, desktops |
|
|
1656
|
+
| High (Significantly sharper AO, barely any noise) | 64 | 8 | 6 | Desktops, dedicated GPUs |
|
|
1657
|
+
| Ultra (Sharp AO, No visible noise whatsoever) | 64 | 16 | 6 | Desktops, dedicated GPUs|
|
|
1658
|
+
|
|
1659
|
+
Generally, half-res mode at "Ultra" quality is slightly slower than full-res mode at "Performance" quality, but produces significantly better results.
|
|
1660
|
+
|
|
1661
|
+
If you wish to make entirely custom quality setup, you can manually change `aoSamples`, `denoiseSamples` and `denoiseRadius`.
|
|
1662
|
+
*
|
|
1663
|
+
* @default 'medium'
|
|
1664
|
+
*/
|
|
1665
|
+
aoQuality?: 'performance' | 'low' | 'medium' | 'high' | 'ultra';
|
|
1506
1666
|
aoSamples?: number;
|
|
1667
|
+
/**
|
|
1668
|
+
* Controls the radius/size of the ambient occlusion in world units. Should be set to how far you want the occlusion to extend from a given object.
|
|
1669
|
+
* Set it too low, and AO becomes an edge detector. Too high, and the AO becomes "soft" and might not highlight the details you want.
|
|
1670
|
+
*/
|
|
1507
1671
|
aoRadius?: number;
|
|
1508
1672
|
denoiseSamples?: number;
|
|
1509
1673
|
denoiseRadius?: number;
|
|
1674
|
+
/**
|
|
1675
|
+
* A purely artistic control for the intensity of the AO has the effect of darkening areas with more ambient occlusion.
|
|
1676
|
+
* Useful to make the effect more pronounced. An intensity of 2 generally produces soft ambient occlusion that isn't too noticeable,
|
|
1677
|
+
* whereas one of 5 produces heavily prominent ambient occlusion.
|
|
1678
|
+
*/
|
|
1510
1679
|
intensity?: number;
|
|
1511
1680
|
denoiseIterations?: number;
|
|
1512
1681
|
renderMode?: number;
|
|
1682
|
+
/**
|
|
1683
|
+
* The color of the ambient occlusion. By default, it is black, but it can be changed to any color to offer a crude approximation of global illumination.
|
|
1684
|
+
* Recommended in scenes where bounced light has a uniform "color", for instance a scene that is predominantly lit by a blue sky.
|
|
1685
|
+
* The color is expected to be in the sRGB color space, and is automatically converted to linear space for you. Keep the color pretty dark for sensible results.
|
|
1686
|
+
*
|
|
1687
|
+
* Color formats:\
|
|
1688
|
+
* RGB String: `rgb(255, 0, 0)` or `rgb(100%, 0%, 0%)`\
|
|
1689
|
+
* HSL String: `hsl(0, 100%, 50%)`\
|
|
1690
|
+
* X11 color name - all 140 color names are supported. Note the lack of CamelCase in the name: `skyblue`
|
|
1691
|
+
*/
|
|
1513
1692
|
color?: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* Should be automatically set to the correct value. If you are getting washed out colors, try setting `gammaCorrection` to false, and if you are getting dark colors, try setting it to true.
|
|
1695
|
+
*/
|
|
1514
1696
|
gammaCorrection?: boolean;
|
|
1515
1697
|
logarithmicDepthBuffer?: boolean;
|
|
1698
|
+
/**
|
|
1699
|
+
* When screenSpaceRadius is set to true, the `aoRadius` parameter represents the size of the ambient occlusion effect in pixels (recommended to be set between 16 and 64).
|
|
1700
|
+
* The `distanceFalloff` parameter becomes a ratio, representing the percent of the screen space radius at which the AO should fade away - it should be set to 0.2 in most cases,
|
|
1701
|
+
* but it accepts any value between 0 and 1 (technically even higher than 1, though that is not recommended).
|
|
1702
|
+
*/
|
|
1516
1703
|
screenSpaceRadius?: boolean;
|
|
1704
|
+
/**
|
|
1705
|
+
* Use half-resolution" mode for performance-critical applications. This will cause the AO to be calculated at half the resolution of the screen, and then upscaled to the full resolution.
|
|
1706
|
+
* This is a great way to get a performance boost (generally 2x-4x) at the cost of some quality (the AO will lack fine details and temporal stability will be slightly reduced).
|
|
1707
|
+
* @default 'full'
|
|
1708
|
+
*/
|
|
1517
1709
|
aoResolution?: 'half' | 'full';
|
|
1710
|
+
/**
|
|
1711
|
+
* The half `aoResolution` mode uses depth-aware upscaling by default.
|
|
1712
|
+
* The AO effect looks bad without depth-aware upscaling, so it is not recommended to disable it.
|
|
1713
|
+
* However, if performance is truly that critical, you can do so by setting `depthAwareUpsampling` to false.
|
|
1714
|
+
*/
|
|
1518
1715
|
depthAwareUpsampling?: boolean;
|
|
1716
|
+
/**
|
|
1717
|
+
* It is recommended to not change this value, otherwise rendering issues may occur.
|
|
1718
|
+
*/
|
|
1519
1719
|
autoRenderBeauty?: boolean;
|
|
1520
1720
|
};
|
|
1521
1721
|
export type TMapClickEvent = {
|
|
@@ -1619,15 +1819,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1619
1819
|
*/
|
|
1620
1820
|
[E_CAMERA_EVENT.TILT_CHANGED]: number;
|
|
1621
1821
|
};
|
|
1622
|
-
export type { default as BlueDotController } from '@mappedin/react-native-sdk/
|
|
1623
|
-
export type { default as Journey } from '@mappedin/react-native-sdk/
|
|
1822
|
+
export type { default as BlueDotController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/BlueDotController';
|
|
1823
|
+
export type { default as Journey } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Journey';
|
|
1624
1824
|
}
|
|
1625
1825
|
|
|
1626
|
-
declare module '@mappedin/react-native-sdk/
|
|
1627
|
-
import type { TGetVenueOptions, TVenueMetadata } from '@mappedin/react-native-sdk/
|
|
1628
|
-
import { Mappedin } from '@mappedin/react-native-sdk/
|
|
1629
|
-
import { defaultThings } from '@mappedin/react-native-sdk/
|
|
1630
|
-
import { GET_VENUE_EVENT } from '@mappedin/react-native-sdk/
|
|
1826
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue' {
|
|
1827
|
+
import type { TGetVenueOptions, TGetVenueOptionsInternal, TVenueMetadata } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types';
|
|
1828
|
+
import { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin';
|
|
1829
|
+
import { defaultThings } from '@mappedin/react-native-sdk/sdks/packages/get-venue/default-things';
|
|
1830
|
+
import { GET_VENUE_EVENT } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
1631
1831
|
/**
|
|
1632
1832
|
* This is how we can avoid bundling in node-fetch (via isomorphic fetch),
|
|
1633
1833
|
* which keeps popping up in security advisories
|
|
@@ -1649,79 +1849,29 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
|
1649
1849
|
*/
|
|
1650
1850
|
export function setFetchFn(fetchFn: any): void;
|
|
1651
1851
|
/** Classes */
|
|
1652
|
-
export { MappedinCollectionType, MappedinNavigatable, MappedinNode, MappedinLocation, MappedinPolygon, MappedinCategory, MappedinDirections, MappedinDestinationSet, MappedinVortex, MappedinVenue, MappedinRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinCoordinate, MappedinMapGroup, Mappedin, } from '@mappedin/react-native-sdk/
|
|
1852
|
+
export { MappedinCollectionType, MappedinNavigatable, MappedinNode, MappedinLocation, MappedinPolygon, MappedinCategory, MappedinDirections, MappedinDestinationSet, MappedinVortex, MappedinVenue, MappedinRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinCoordinate, MappedinMapGroup, Mappedin, } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
1653
1853
|
/**
|
|
1654
1854
|
* @internal
|
|
1655
1855
|
* @hidden
|
|
1656
1856
|
*
|
|
1657
1857
|
* Export this only so our internal pre-built products can use it. We don't want to document it for external developers.
|
|
1658
1858
|
*/
|
|
1659
|
-
export { default as CustomerAnalytics } from '@mappedin/react-native-sdk/
|
|
1660
|
-
export type { TMappedinDirective } from '@mappedin/react-native-sdk/
|
|
1661
|
-
export type { IDirectionsResult } from '@mappedin/react-native-sdk/
|
|
1662
|
-
export type { TOperationHoursMap } from '@mappedin/react-native-sdk/
|
|
1663
|
-
export type { TMappedinCoordinateOptions } from '@mappedin/react-native-sdk/
|
|
1664
|
-
export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/react-native-sdk/
|
|
1665
|
-
export { OfflineSearch } from '@mappedin/react-native-sdk/
|
|
1666
|
-
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/react-native-sdk/
|
|
1859
|
+
export { default as CustomerAnalytics } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.CustomerAnalytics';
|
|
1860
|
+
export type { TMappedinDirective } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDirections';
|
|
1861
|
+
export type { IDirectionsResult } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
1862
|
+
export type { TOperationHoursMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocation';
|
|
1863
|
+
export type { TMappedinCoordinateOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCoordinate';
|
|
1864
|
+
export type { TDirectionToOptions, TTHINGS, TAccessors } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
1865
|
+
export { OfflineSearch } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.OfflineSearch';
|
|
1866
|
+
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.OfflineSearch';
|
|
1667
1867
|
export { defaultThings };
|
|
1668
1868
|
/** API data types */
|
|
1669
|
-
export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI, } from '@mappedin/react-native-sdk/
|
|
1670
|
-
export type { TGetVenueOptions } from '@mappedin/react-native-sdk/
|
|
1671
|
-
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/
|
|
1869
|
+
export type { TLocationType, TNode, TImage, TLogo, TGalleryImage, TPhone, TSocial, TColor, TVortex, TPicture, TOpeningHours, TSiblingGroup, TState, TCategory, TEvent, TGeoReference, TMap, TMapGroup, TBuilding, TLocation, TPolygon, TPolygonRanking, TVenue, TMappedinAPI, } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
1870
|
+
export type { TGetVenueOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types';
|
|
1871
|
+
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types';
|
|
1672
1872
|
import { ParsedMVF } from '@mappedin/mvf';
|
|
1673
|
-
export type TShowVenueOptions = {
|
|
1674
|
-
/**
|
|
1675
|
-
* Sets the initial background color of the map, including while loading.
|
|
1676
|
-
*
|
|
1677
|
-
*/
|
|
1678
|
-
backgroundColor?: string;
|
|
1679
|
-
/**
|
|
1680
|
-
* The opacity of the initial background color.
|
|
1681
|
-
*/
|
|
1682
|
-
backgroundAlpha?: number;
|
|
1683
|
-
/**
|
|
1684
|
-
* Whether or not to display default styled Floating Labels initially
|
|
1685
|
-
*/
|
|
1686
|
-
labelAllLocationsOnInit?: boolean;
|
|
1687
|
-
/**
|
|
1688
|
-
* The id of the first map to show on map load
|
|
1689
|
-
*/
|
|
1690
|
-
firstMapId?: string;
|
|
1691
|
-
loadOptions?: {
|
|
1692
|
-
/**
|
|
1693
|
-
* Set the map render strategy in order to optimize FPS
|
|
1694
|
-
*
|
|
1695
|
-
* @beta
|
|
1696
|
-
*/
|
|
1697
|
-
mapRenderStrategy?: MAP_RENDER_MODE;
|
|
1698
|
-
};
|
|
1699
|
-
/**
|
|
1700
|
-
* @experimental
|
|
1701
|
-
* Enable outdoor context. Requires multi-buffer rendering to be enabled
|
|
1702
|
-
*/
|
|
1703
|
-
outdoorContext?: {
|
|
1704
|
-
enabled?: boolean;
|
|
1705
|
-
url?: string;
|
|
1706
|
-
authURL?: string;
|
|
1707
|
-
};
|
|
1708
|
-
/**
|
|
1709
|
-
* @experimental
|
|
1710
|
-
* Enable multi-buffer rendering
|
|
1711
|
-
*
|
|
1712
|
-
* Multi-buffer rendering should improve performance but may cause issues on older GPUs/browsers
|
|
1713
|
-
* @default false
|
|
1714
|
-
*/
|
|
1715
|
-
multiBufferRendering?: boolean;
|
|
1716
|
-
/**
|
|
1717
|
-
* @experimental
|
|
1718
|
-
* Journey path will be visible through other objects. Note: this is on by default, but requires the
|
|
1719
|
-
* `multiBufferRendering` option (which is off by default) to be turned on.
|
|
1720
|
-
* @default true
|
|
1721
|
-
*/
|
|
1722
|
-
xRayPath?: boolean;
|
|
1723
|
-
};
|
|
1724
1873
|
export { MAP_RENDER_MODE, GET_VENUE_EVENT };
|
|
1874
|
+
export function parseOptions(options: TGetVenueOptions): TGetVenueOptionsInternal & TGetVenueOptions;
|
|
1725
1875
|
/**
|
|
1726
1876
|
* @internal
|
|
1727
1877
|
*/
|
|
@@ -1862,7 +2012,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
|
1862
2012
|
export function hydrateVenueMVF(mvfData: ParsedMVF): Promise<Mappedin>;
|
|
1863
2013
|
}
|
|
1864
2014
|
|
|
1865
|
-
declare module '@mappedin/react-native-sdk/
|
|
2015
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/common/random-id' {
|
|
1866
2016
|
/**
|
|
1867
2017
|
* Returns a UUIDv4-like ID without relying on a CSPRNG as we don't need it for these purposes.
|
|
1868
2018
|
* @hidden
|
|
@@ -1870,7 +2020,7 @@ declare module '@mappedin/react-native-sdk/core/common/random-id' {
|
|
|
1870
2020
|
export const randomId: () => string;
|
|
1871
2021
|
}
|
|
1872
2022
|
|
|
1873
|
-
declare module '@mappedin/react-native-sdk/
|
|
2023
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums' {
|
|
1874
2024
|
export enum GEOLOCATION_STATUS {
|
|
1875
2025
|
SUCCESS = 0
|
|
1876
2026
|
}
|
|
@@ -2054,7 +2204,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums'
|
|
|
2054
2204
|
*/
|
|
2055
2205
|
CHANGED = "CHANGED"
|
|
2056
2206
|
}
|
|
2057
|
-
export { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/
|
|
2207
|
+
export { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
2058
2208
|
export enum E_CAMERA_DIRECTION {
|
|
2059
2209
|
UP = "up",
|
|
2060
2210
|
DOWN = "down",
|
|
@@ -2117,10 +2267,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums'
|
|
|
2117
2267
|
}
|
|
2118
2268
|
}
|
|
2119
2269
|
|
|
2120
|
-
declare module '@mappedin/react-native-sdk/
|
|
2121
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
2122
|
-
import FlatLabelsController from '@mappedin/react-native-sdk/
|
|
2123
|
-
import { TFlatLabelAllLocationsOptions, TAddFlatLabelOptions, TFlatLabelAppearance } from '@mappedin/react-native-sdk/
|
|
2270
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FlatLabels' {
|
|
2271
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
2272
|
+
import FlatLabelsController from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FlatLabelsController';
|
|
2273
|
+
import { TFlatLabelAllLocationsOptions, TAddFlatLabelOptions, TFlatLabelAppearance } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
2124
2274
|
/**
|
|
2125
2275
|
* API to add and remove flat labels on the map.
|
|
2126
2276
|
*/
|
|
@@ -2226,10 +2376,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Fla
|
|
|
2226
2376
|
}
|
|
2227
2377
|
}
|
|
2228
2378
|
|
|
2229
|
-
declare module '@mappedin/react-native-sdk/
|
|
2230
|
-
import { MappedinCoordinate, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
2231
|
-
import { TAddFloatingLabelOptions, TFloatingLabelAllLocationsOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/
|
|
2232
|
-
import FloatingLabelsController, { type FloatingLabel } from '@mappedin/react-native-sdk/
|
|
2379
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FloatingLabels' {
|
|
2380
|
+
import { MappedinCoordinate, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
2381
|
+
import { TAddFloatingLabelOptions, TFloatingLabelAllLocationsOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
2382
|
+
import FloatingLabelsController, { type FloatingLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FloatingLabelsController';
|
|
2233
2383
|
/**
|
|
2234
2384
|
* Helper for handling a generic when the type could be either an array or promise.
|
|
2235
2385
|
*
|
|
@@ -2386,20 +2536,20 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Flo
|
|
|
2386
2536
|
export {};
|
|
2387
2537
|
}
|
|
2388
2538
|
|
|
2389
|
-
declare module '@mappedin/react-native-sdk/
|
|
2390
|
-
import NavigationGraph from '@mappedin/react-native-sdk/
|
|
2391
|
-
import Navigator from '@mappedin/react-native-sdk/
|
|
2392
|
-
export { ACTION_TYPE, BEARING_TYPE } from '@mappedin/react-native-sdk/
|
|
2539
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator' {
|
|
2540
|
+
import NavigationGraph from '@mappedin/react-native-sdk/sdks/packages/navigator/NavigationGraph';
|
|
2541
|
+
import Navigator from '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator';
|
|
2542
|
+
export { ACTION_TYPE, BEARING_TYPE } from '@mappedin/react-native-sdk/sdks/packages/navigator/Directive';
|
|
2393
2543
|
export { Navigator, NavigationGraph };
|
|
2394
|
-
export type { IDirectionsResult, TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/
|
|
2395
|
-
export { E_MESSAGES } from '@mappedin/react-native-sdk/
|
|
2396
|
-
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/
|
|
2544
|
+
export type { IDirectionsResult, TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator';
|
|
2545
|
+
export { E_MESSAGES } from '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator';
|
|
2546
|
+
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/sdks/packages/common/Mappedin.Logger';
|
|
2397
2547
|
}
|
|
2398
2548
|
|
|
2399
|
-
declare module '@mappedin/react-native-sdk/
|
|
2400
|
-
import { MappedinNode, MappedinPolygon, MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
2401
|
-
import type { TAnimationOptions, ICore } from '@mappedin/react-native-sdk/
|
|
2402
|
-
import { PubSub, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE } from '@mappedin/react-native-sdk/
|
|
2549
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController' {
|
|
2550
|
+
import { MappedinNode, MappedinPolygon, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
2551
|
+
import type { TAnimationOptions, ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
2552
|
+
import { PubSub, CAMERA_EVENT_PAYLOAD, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
2403
2553
|
export type TSafeAreaInsets = {
|
|
2404
2554
|
top: number;
|
|
2405
2555
|
left: number;
|
|
@@ -2593,6 +2743,8 @@ declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
|
2593
2743
|
REMOVE_TOOLTIP = "REMOVE_TOOLTIP",
|
|
2594
2744
|
CHANGE_LANGUAGE = "CHANGE_LANGUAGE",
|
|
2595
2745
|
GET_CURRENT_LANGUAGE = "GET_CURRENT_LANGUAGE",
|
|
2746
|
+
SET_ANTI_ALIAS_CONFIGURATION = "SET_ANTI_ALIAS_CONFIGURATION",
|
|
2747
|
+
SET_AMBIENT_OCCLUSION_CONFIGURATION = "SET_AMBIENT_OCCLUSION_CONFIGURATION",
|
|
2596
2748
|
/**
|
|
2597
2749
|
* Camera
|
|
2598
2750
|
*/
|
|
@@ -2710,10 +2862,10 @@ declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
|
2710
2862
|
}
|
|
2711
2863
|
|
|
2712
2864
|
declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
2713
|
-
import { IDirectionsResult, MappedinMap, MappedinNode, TBlueDotPositionUpdate, TBlueDotStateChange, TGetVenueOptions, TCameraTransform, TAddFlatLabelOptions, TAddFloatingLabelOptions, TPathOptions, TShowVenueOptions, STATE, TGeolocationObject, TEnableBlueDotOptions, MappedinLocation, TFlatLabelAllLocationsOptions, TFloatingLabelAllLocationsOptions, TMappedinOfflineSearchOptions, TFocusOnCameraOptions, TCameraAnimationOptions, TGetPolygonsAtCoordinateOptions, E_CAMERA_DIRECTION, TFlatLabelAppearance, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/
|
|
2865
|
+
import { IDirectionsResult, MappedinMap, MappedinNode, TBlueDotPositionUpdate, TBlueDotStateChange, TGetVenueOptions, TCameraTransform, TAddFlatLabelOptions, TAddFloatingLabelOptions, TPathOptions, TShowVenueOptions, STATE, TGeolocationObject, TEnableBlueDotOptions, MappedinLocation, TFlatLabelAllLocationsOptions, TFloatingLabelAllLocationsOptions, TMappedinOfflineSearchOptions, TFocusOnCameraOptions, TCameraAnimationOptions, TGetPolygonsAtCoordinateOptions, E_CAMERA_DIRECTION, TFlatLabelAppearance, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
2714
2866
|
import { TFocusOnTargetsSerializable, TMiMapViewOptions, TSerializedCoordinate, TSerializedMap, TSerializableJourneyOptions, TSerializedLocation, TSerializedNode, TSerializedPolygon, TFloatingLabelClickEventPayloadSerialized, TColliderClickEventPayloadSerialized } from '@mappedin/react-native-sdk/wrappers/common/types';
|
|
2715
2867
|
import { BRIDGE_EVENT, EVENT, MINIMAP_EVENT, NATIVE_EVENT } from '@mappedin/react-native-sdk/wrappers/common';
|
|
2716
|
-
import { TAnimationOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TGetVenueMakerOptions } from '@mappedin/react-native-sdk/
|
|
2868
|
+
import { TAnimationOptions, TAntialiasConfiguration, TCreateTooltipCommonOptions, TCreateTooltipOptions, TGetVenueMakerOptions, TAOConfiguration } from '@mappedin/react-native-sdk/sdks/cms/src';
|
|
2717
2869
|
export type BRIDGE_EVENT_PAYLOADS = {
|
|
2718
2870
|
[BRIDGE_EVENT.REJECT]: any;
|
|
2719
2871
|
[BRIDGE_EVENT.RESOLVE]: any;
|
|
@@ -2984,7 +3136,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2984
3136
|
pathOptions: TPathOptions;
|
|
2985
3137
|
};
|
|
2986
3138
|
[EVENT.ADD_PATH]: {
|
|
2987
|
-
|
|
3139
|
+
nodesOrCoordinates: TSerializedNode[] | TSerializedCoordinate[];
|
|
2988
3140
|
options: TPathOptions;
|
|
2989
3141
|
};
|
|
2990
3142
|
[EVENT.REMOVE_PATH]: {
|
|
@@ -3069,12 +3221,18 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
3069
3221
|
cache: boolean;
|
|
3070
3222
|
};
|
|
3071
3223
|
[EVENT.GET_CURRENT_LANGUAGE]: null;
|
|
3224
|
+
[EVENT.SET_ANTI_ALIAS_CONFIGURATION]: {
|
|
3225
|
+
aaConfig: TAntialiasConfiguration;
|
|
3226
|
+
};
|
|
3227
|
+
[EVENT.SET_AMBIENT_OCCLUSION_CONFIGURATION]: {
|
|
3228
|
+
aoConfig: TAOConfiguration;
|
|
3229
|
+
};
|
|
3072
3230
|
};
|
|
3073
3231
|
}
|
|
3074
3232
|
|
|
3075
3233
|
declare module '@mappedin/react-native-sdk/wrappers/common/types' {
|
|
3076
|
-
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/
|
|
3077
|
-
import type { MappedinNode, MappedinPolygon, TJourneyOptions, TShowVenueOptions, TLabelAllLocationFlatLabelOptions } from '@mappedin/react-native-sdk/
|
|
3234
|
+
import { TFocusOptionsLegacy } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
3235
|
+
import type { MappedinNode, MappedinPolygon, TJourneyOptions, TShowVenueOptions, TLabelAllLocationFlatLabelOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/index.rn';
|
|
3078
3236
|
export type TFocusOnTargetsSerializable = {
|
|
3079
3237
|
nodes?: MappedinNode['id'][];
|
|
3080
3238
|
polygons?: MappedinPolygon['id'][];
|
|
@@ -3196,14 +3354,14 @@ declare module '@mappedin/react-native-sdk/wrappers/common/pub-sub' {
|
|
|
3196
3354
|
}
|
|
3197
3355
|
}
|
|
3198
3356
|
|
|
3199
|
-
declare module '@mappedin/react-native-sdk/
|
|
3357
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface' {
|
|
3200
3358
|
import { Color, Vector2, Vector3, Mesh } from 'three';
|
|
3201
|
-
import type { TPadding, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TileManager, BillboardManager, StackedMapsController, SmartCollisionEngine, OutdoorViewController, LayerController } from '@mappedin/react-native-sdk/
|
|
3202
|
-
import { BlueDotController, CameraController, STATE, MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode, changeListenerFn, RENDER, INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT, TaskScheduler, SceneManager, PubSub, FlatLabel, MapObject, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, ExportController, EventSystem } from '@mappedin/react-native-sdk/
|
|
3359
|
+
import type { TPadding, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TileManager, BillboardManager, StackedMapsController, SmartCollisionEngine, OutdoorViewController, LayerController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
3360
|
+
import { BlueDotController, CameraController, STATE, MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode, changeListenerFn, RENDER, INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT, TaskScheduler, SceneManager, PubSub, FlatLabel, MapObject, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, ExportController, EventSystem, Element } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
3203
3361
|
import Tween, { Easing } from '@tweenjs/tween.js';
|
|
3204
|
-
import WatermarkController from '@mappedin/react-native-sdk/
|
|
3205
|
-
import PolygonHoverColorsController from '@mappedin/react-native-sdk/
|
|
3206
|
-
import { E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/
|
|
3362
|
+
import WatermarkController from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/WatermarkController';
|
|
3363
|
+
import PolygonHoverColorsController from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonHoverColorsController';
|
|
3364
|
+
import { E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
3207
3365
|
export type TFocusOptionsLegacy = {
|
|
3208
3366
|
/**
|
|
3209
3367
|
* An array of Nodes to focus in on
|
|
@@ -3302,6 +3460,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/Core.i
|
|
|
3302
3460
|
cachedPadding: TPadding;
|
|
3303
3461
|
getCameraFrameForPoints: any;
|
|
3304
3462
|
polygonMeshesById: Record<string, Mesh>;
|
|
3463
|
+
renderedElementsById: Record<string, Element>;
|
|
3305
3464
|
textLabelsByPolygonId: Record<string, FlatLabel>;
|
|
3306
3465
|
renderer: any;
|
|
3307
3466
|
scene: any;
|
|
@@ -3536,7 +3695,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3536
3695
|
options: import("../react-native-sdk/src").TGetVenueOptions | import("../react-native-sdk/src").TGetVenueMakerOptions;
|
|
3537
3696
|
locationId: string;
|
|
3538
3697
|
polygonHighlightColor?: string;
|
|
3539
|
-
focusOptions?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../
|
|
3698
|
+
focusOptions?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../sdks/cms/src").TAnimationOptions;
|
|
3540
3699
|
};
|
|
3541
3700
|
};
|
|
3542
3701
|
SET_DEBUG_FLAGS: {
|
|
@@ -3697,7 +3856,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3697
3856
|
config: Omit<import("../react-native-sdk/src").TCameraTransform, "position"> & {
|
|
3698
3857
|
position?: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
3699
3858
|
};
|
|
3700
|
-
options?: import("../../
|
|
3859
|
+
options?: import("../../sdks/cms/src").TAnimationOptions;
|
|
3701
3860
|
};
|
|
3702
3861
|
};
|
|
3703
3862
|
CAMERA_TRANSLATE: {
|
|
@@ -3705,7 +3864,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3705
3864
|
data: {
|
|
3706
3865
|
direction: import("../react-native-sdk/src").E_CAMERA_DIRECTION;
|
|
3707
3866
|
distance: number;
|
|
3708
|
-
options?: import("../../
|
|
3867
|
+
options?: import("../../sdks/cms/src").TAnimationOptions;
|
|
3709
3868
|
};
|
|
3710
3869
|
};
|
|
3711
3870
|
CAMERA_SET_SAFE_AREA_INSETS: {
|
|
@@ -3729,7 +3888,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3729
3888
|
msgID?: string;
|
|
3730
3889
|
data: {
|
|
3731
3890
|
targets: import("./types").TFocusOnTargetsSerializable;
|
|
3732
|
-
options?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../
|
|
3891
|
+
options?: import("../react-native-sdk/src").TFocusOnCameraOptions & import("../../sdks/cms/src").TAnimationOptions;
|
|
3733
3892
|
};
|
|
3734
3893
|
};
|
|
3735
3894
|
SET_POLYGON_COLOR: {
|
|
@@ -3934,7 +4093,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3934
4093
|
data: {
|
|
3935
4094
|
markerId: string;
|
|
3936
4095
|
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
3937
|
-
animationOptions: import("../../
|
|
4096
|
+
animationOptions: import("../../sdks/cms/src").TAnimationOptions;
|
|
3938
4097
|
};
|
|
3939
4098
|
};
|
|
3940
4099
|
OVERRIDE_LOCATION: {
|
|
@@ -3953,7 +4112,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3953
4112
|
ADD_PATH: {
|
|
3954
4113
|
msgID?: string;
|
|
3955
4114
|
data: {
|
|
3956
|
-
|
|
4115
|
+
nodesOrCoordinates: import("./types").TSerializedCoordinate[] | import("./types").TSerializedNode[];
|
|
3957
4116
|
options: import("../react-native-sdk/src").TPathOptions;
|
|
3958
4117
|
};
|
|
3959
4118
|
};
|
|
@@ -4051,7 +4210,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4051
4210
|
msgID?: string;
|
|
4052
4211
|
data: {
|
|
4053
4212
|
coordinate: import("./types").TSerializedCoordinate;
|
|
4054
|
-
options?: import("../../
|
|
4213
|
+
options?: import("../../sdks/cms/src").TGetPolygonsAtCoordinateOptions;
|
|
4055
4214
|
};
|
|
4056
4215
|
};
|
|
4057
4216
|
GET_POLYGONS_AT_SCREEN_COORDINATE: {
|
|
@@ -4059,7 +4218,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4059
4218
|
data: {
|
|
4060
4219
|
x: number;
|
|
4061
4220
|
y: number;
|
|
4062
|
-
options?: import("../../
|
|
4221
|
+
options?: import("../../sdks/cms/src").TGetPolygonsAtCoordinateOptions;
|
|
4063
4222
|
};
|
|
4064
4223
|
};
|
|
4065
4224
|
CREATE_TOOLTIP: {
|
|
@@ -4067,7 +4226,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4067
4226
|
data: {
|
|
4068
4227
|
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
4069
4228
|
contentHtml: string;
|
|
4070
|
-
options?: import("../../
|
|
4229
|
+
options?: import("../../sdks/cms/src").TCreateTooltipOptions;
|
|
4071
4230
|
};
|
|
4072
4231
|
};
|
|
4073
4232
|
CREATE_CUSTOM_TOOLTIP: {
|
|
@@ -4076,7 +4235,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4076
4235
|
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
4077
4236
|
contentHtml: string;
|
|
4078
4237
|
selector: string;
|
|
4079
|
-
options?: import("../../
|
|
4238
|
+
options?: import("../../sdks/cms/src").TCreateTooltipCommonOptions;
|
|
4080
4239
|
};
|
|
4081
4240
|
};
|
|
4082
4241
|
REMOVE_TOOLTIP: {
|
|
@@ -4096,6 +4255,18 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4096
4255
|
msgID?: string;
|
|
4097
4256
|
data: null;
|
|
4098
4257
|
};
|
|
4258
|
+
SET_ANTI_ALIAS_CONFIGURATION: {
|
|
4259
|
+
msgID?: string;
|
|
4260
|
+
data: {
|
|
4261
|
+
aaConfig: import("../../sdks/cms/src").TAntialiasConfiguration;
|
|
4262
|
+
};
|
|
4263
|
+
};
|
|
4264
|
+
SET_AMBIENT_OCCLUSION_CONFIGURATION: {
|
|
4265
|
+
msgID?: string;
|
|
4266
|
+
data: {
|
|
4267
|
+
aoConfig: import("../../sdks/cms/src").TAOConfiguration;
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
4099
4270
|
}>;
|
|
4100
4271
|
/**
|
|
4101
4272
|
* Message received from the other side of the bridge
|
|
@@ -4147,12 +4318,12 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
4147
4318
|
}
|
|
4148
4319
|
}
|
|
4149
4320
|
|
|
4150
|
-
declare module '@mappedin/react-native-sdk/
|
|
4321
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.FloatingLabel' {
|
|
4151
4322
|
import './Mappedin.FloatingLabel.scss';
|
|
4152
|
-
import { BaseCollider } from '@mappedin/react-native-sdk/
|
|
4153
|
-
import { TDrawFn } from '@mappedin/react-native-sdk/
|
|
4154
|
-
import type { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
4155
|
-
import type { ICore, ICollider, TColliderStrategy, TColliderPosition } from '@mappedin/react-native-sdk/
|
|
4323
|
+
import { BaseCollider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4324
|
+
import { TDrawFn } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/shave-text';
|
|
4325
|
+
import type { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
4326
|
+
import type { ICore, ICollider, TColliderStrategy, TColliderPosition } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4156
4327
|
type TStyle = {
|
|
4157
4328
|
top?: number;
|
|
4158
4329
|
left?: number;
|
|
@@ -4348,15 +4519,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
4348
4519
|
export default InternalFloatingLabel;
|
|
4349
4520
|
}
|
|
4350
4521
|
|
|
4351
|
-
declare module '@mappedin/react-native-sdk/
|
|
4352
|
-
import { IStateMachine } from '@mappedin/react-native-sdk/
|
|
4353
|
-
import { E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE, E_BLUEDOT_STATE_REASON } from '@mappedin/react-native-sdk/
|
|
4354
|
-
import PositionSmoothing from '@mappedin/react-native-sdk/
|
|
4355
|
-
import { PubSub, IPubSub } from '@mappedin/react-native-sdk/
|
|
4356
|
-
import { MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/
|
|
4357
|
-
import { TGeolocationObject } from '@mappedin/react-native-sdk/
|
|
4358
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
4359
|
-
import { BlueDotManager } from '@mappedin/react-native-sdk/
|
|
4522
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core' {
|
|
4523
|
+
import { IStateMachine } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine';
|
|
4524
|
+
import { E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE, E_BLUEDOT_STATE_REASON } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
4525
|
+
import PositionSmoothing from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/position-smoothing';
|
|
4526
|
+
import { PubSub, IPubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
|
|
4527
|
+
import { MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
4528
|
+
import { TGeolocationObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
4529
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4530
|
+
import { BlueDotManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4360
4531
|
export const DEFAULT_BLUE_DOT_COLOR = "#2266ff";
|
|
4361
4532
|
export interface IPositionUpdater extends IPubSub {
|
|
4362
4533
|
/**
|
|
@@ -4513,10 +4684,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
4513
4684
|
export default BlueDot;
|
|
4514
4685
|
}
|
|
4515
4686
|
|
|
4516
|
-
declare module '@mappedin/react-native-sdk/
|
|
4517
|
-
import { MappedinNode, MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
4518
|
-
import type { ICore, TPathOptions } from '@mappedin/react-native-sdk/
|
|
4519
|
-
import { ANIMATION_TWEENS } from '@mappedin/react-native-sdk/
|
|
4687
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController' {
|
|
4688
|
+
import { MappedinNode, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
4689
|
+
import type { ICore, TPathOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4690
|
+
import { ANIMATION_TWEENS } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4520
4691
|
/**
|
|
4521
4692
|
* @hidden
|
|
4522
4693
|
* @internal
|
|
@@ -4645,10 +4816,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
4645
4816
|
export default PathsController;
|
|
4646
4817
|
}
|
|
4647
4818
|
|
|
4648
|
-
declare module '@mappedin/react-native-sdk/
|
|
4819
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartTooltip' {
|
|
4649
4820
|
import './Mappedin.SmartTooltip.scss';
|
|
4650
|
-
import { HTMLCollider, COLLISION_RANKING_TIERS } from '@mappedin/react-native-sdk/
|
|
4651
|
-
import type { IHTMLCollider, TColliderPosition, TColliderStrategy } from '@mappedin/react-native-sdk/
|
|
4821
|
+
import { HTMLCollider, COLLISION_RANKING_TIERS } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4822
|
+
import type { IHTMLCollider, TColliderPosition, TColliderStrategy } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4652
4823
|
/**
|
|
4653
4824
|
*
|
|
4654
4825
|
* A Tooltip is an html element that attempts to orient itself around an anchor in 3D space. It will always maintain the same size on the screen, but will attempt to change its orientation based on other colliders in the scene.
|
|
@@ -4748,10 +4919,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
4748
4919
|
export default SmartTooltip;
|
|
4749
4920
|
}
|
|
4750
4921
|
|
|
4751
|
-
declare module '@mappedin/react-native-sdk/
|
|
4922
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/OutdoorViewController' {
|
|
4752
4923
|
import './OutdoorViewController.scss';
|
|
4753
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
4754
|
-
import { XOR } from '@mappedin/react-native-sdk/
|
|
4924
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4925
|
+
import { XOR } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
4755
4926
|
export type TAttributionPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4756
4927
|
export type TOutdoorViewControllerOptionsWithHeaders = {
|
|
4757
4928
|
url?: string;
|
|
@@ -4795,9 +4966,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
4795
4966
|
export default OutdoorViewController;
|
|
4796
4967
|
}
|
|
4797
4968
|
|
|
4798
|
-
declare module '@mappedin/react-native-sdk/
|
|
4799
|
-
import type { IBlueDotCore, ICore, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/
|
|
4800
|
-
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT, PubSub } from '@mappedin/react-native-sdk/
|
|
4969
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/BlueDotController' {
|
|
4970
|
+
import type { IBlueDotCore, ICore, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4971
|
+
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT, PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4801
4972
|
/**
|
|
4802
4973
|
* @hidden
|
|
4803
4974
|
* @internal
|
|
@@ -4818,12 +4989,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
4818
4989
|
export default BlueDotController;
|
|
4819
4990
|
}
|
|
4820
4991
|
|
|
4821
|
-
declare module '@mappedin/react-native-sdk/
|
|
4822
|
-
import { TJourneyOptions } from '@mappedin/react-native-sdk/
|
|
4823
|
-
import { MappedinDirections } from '@mappedin/react-native-sdk/
|
|
4824
|
-
import { JourneyController } from '@mappedin/react-native-sdk/
|
|
4825
|
-
import { Path } from '@mappedin/react-native-sdk/
|
|
4826
|
-
import
|
|
4992
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Journey' {
|
|
4993
|
+
import { TJourneyOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
4994
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
4995
|
+
import { JourneyController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/JourneyController';
|
|
4996
|
+
import { Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController';
|
|
4997
|
+
import type Core from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core';
|
|
4827
4998
|
/**
|
|
4828
4999
|
* API to control drawing a set of directions. See also {@link Paths}.
|
|
4829
5000
|
*/
|
|
@@ -4832,7 +5003,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Jou
|
|
|
4832
5003
|
/**
|
|
4833
5004
|
* @private
|
|
4834
5005
|
*/
|
|
4835
|
-
constructor(core:
|
|
5006
|
+
constructor(core: Core);
|
|
4836
5007
|
/**
|
|
4837
5008
|
* Draw a Journey based on directions. Example usage:
|
|
4838
5009
|
*
|
|
@@ -4916,7 +5087,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Jou
|
|
|
4916
5087
|
export default Journey;
|
|
4917
5088
|
}
|
|
4918
5089
|
|
|
4919
|
-
declare module '@mappedin/react-native-sdk/
|
|
5090
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types' {
|
|
4920
5091
|
export type TGetVenueOptions = {
|
|
4921
5092
|
accessToken?: string;
|
|
4922
5093
|
clientId?: string;
|
|
@@ -4966,15 +5137,15 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.type
|
|
|
4966
5137
|
}
|
|
4967
5138
|
}
|
|
4968
5139
|
|
|
4969
|
-
declare module '@mappedin/react-native-sdk/
|
|
4970
|
-
import { Navigator } from '@mappedin/react-native-sdk/
|
|
4971
|
-
import type { TGetVenueOptions, TGetVenueOptionsInternal } from '@mappedin/react-native-sdk/
|
|
4972
|
-
import type { MappedinNode, MappedinPolygon, MappedinLocation, MappedinCategory, MappedinVortex, MappedinVenue, MappedinTheme, MappedinRankings, MappedinLocationRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinMapGroup, GET_VENUE_PAYLOAD } from '@mappedin/react-native-sdk/
|
|
4973
|
-
import { TAccessors, GET_VENUE_EVENT } from '@mappedin/react-native-sdk/
|
|
4974
|
-
import { IAnalytics } from '@mappedin/react-native-sdk/
|
|
5140
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin' {
|
|
5141
|
+
import { Navigator } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
5142
|
+
import type { TGetVenueOptions, TGetVenueOptionsInternal } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types';
|
|
5143
|
+
import type { MappedinNode, MappedinPolygon, MappedinLocation, MappedinCategory, MappedinVortex, MappedinVenue, MappedinTheme, MappedinRankings, MappedinLocationRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinMapGroup, GET_VENUE_PAYLOAD } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5144
|
+
import { TAccessors, GET_VENUE_EVENT } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5145
|
+
import { IAnalytics } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.CustomerAnalytics';
|
|
4975
5146
|
import { ParsedMVF } from '@mappedin/mvf';
|
|
4976
|
-
import { ParsedMVFv1 } from '@mappedin/react-native-sdk/
|
|
4977
|
-
import { PubSub } from '@mappedin/react-native-sdk/
|
|
5147
|
+
import { ParsedMVFv1 } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.MVF.types';
|
|
5148
|
+
import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/get-venue/pub-sub.typed';
|
|
4978
5149
|
export const defaultOptions: TGetVenueOptionsInternal & TGetVenueOptions;
|
|
4979
5150
|
export class Mappedin extends PubSub<GET_VENUE_PAYLOAD, GET_VENUE_EVENT> {
|
|
4980
5151
|
#private;
|
|
@@ -5224,7 +5395,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin' {
|
|
|
5224
5395
|
}
|
|
5225
5396
|
}
|
|
5226
5397
|
|
|
5227
|
-
declare module '@mappedin/react-native-sdk/
|
|
5398
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/default-things' {
|
|
5228
5399
|
export const defaultThings: {
|
|
5229
5400
|
venue: string[];
|
|
5230
5401
|
nodes: string[];
|
|
@@ -5239,27 +5410,27 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/default-thing
|
|
|
5239
5410
|
};
|
|
5240
5411
|
}
|
|
5241
5412
|
|
|
5242
|
-
declare module '@mappedin/react-native-sdk/
|
|
5243
|
-
import { MappedinNavigatable } from '@mappedin/react-native-sdk/
|
|
5244
|
-
import { MappedinNode } from '@mappedin/react-native-sdk/
|
|
5245
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
5246
|
-
import { MappedinLocation } from '@mappedin/react-native-sdk/
|
|
5247
|
-
import { MappedinCategory } from '@mappedin/react-native-sdk/
|
|
5248
|
-
import { MappedinDirections } from '@mappedin/react-native-sdk/
|
|
5249
|
-
import { MappedinDestinationSet } from '@mappedin/react-native-sdk/
|
|
5250
|
-
import { MappedinVortex } from '@mappedin/react-native-sdk/
|
|
5251
|
-
import { MappedinVenue } from '@mappedin/react-native-sdk/
|
|
5252
|
-
import { MappedinTheme } from '@mappedin/react-native-sdk/
|
|
5253
|
-
import { MappedinRankings } from '@mappedin/react-native-sdk/
|
|
5254
|
-
import { MappedinLocationRankings } from '@mappedin/react-native-sdk/
|
|
5255
|
-
import { MappedinEvent } from '@mappedin/react-native-sdk/
|
|
5256
|
-
import { MappedinLocationState } from '@mappedin/react-native-sdk/
|
|
5257
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
5258
|
-
import { MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
5259
|
-
import { MappedinMapGroup } from '@mappedin/react-native-sdk/
|
|
5413
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/internal' {
|
|
5414
|
+
import { MappedinNavigatable } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinNavigatable';
|
|
5415
|
+
import { MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinNode';
|
|
5416
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinPolygon';
|
|
5417
|
+
import { MappedinLocation } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocation';
|
|
5418
|
+
import { MappedinCategory } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCategory';
|
|
5419
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDirections';
|
|
5420
|
+
import { MappedinDestinationSet } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDestinationSet';
|
|
5421
|
+
import { MappedinVortex } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinVortex';
|
|
5422
|
+
import { MappedinVenue } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinVenue';
|
|
5423
|
+
import { MappedinTheme } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinTheme';
|
|
5424
|
+
import { MappedinRankings } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinRankings';
|
|
5425
|
+
import { MappedinLocationRankings } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocationRankings';
|
|
5426
|
+
import { MappedinEvent } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinEvent';
|
|
5427
|
+
import { MappedinLocationState } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocationState';
|
|
5428
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMap';
|
|
5429
|
+
import { MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCoordinate';
|
|
5430
|
+
import { MappedinMapGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMapGroup';
|
|
5260
5431
|
export { MappedinNavigatable, MappedinNode, MappedinPolygon, MappedinLocation, MappedinCategory, MappedinDirections, MappedinDestinationSet, MappedinVortex, MappedinVenue, MappedinTheme, MappedinRankings, MappedinLocationRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinCoordinate, MappedinMapGroup, };
|
|
5261
|
-
export * from '@mappedin/react-native-sdk/
|
|
5262
|
-
export { default as MappedinCache } from '@mappedin/react-native-sdk/
|
|
5432
|
+
export * from '@mappedin/react-native-sdk/sdks/packages/get-venue/utils';
|
|
5433
|
+
export { default as MappedinCache } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.cache';
|
|
5263
5434
|
export enum MappedinCollectionType {
|
|
5264
5435
|
CATEGORY = "categories",
|
|
5265
5436
|
EVENT = "events",
|
|
@@ -5295,7 +5466,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/internal' {
|
|
|
5295
5466
|
rankings: typeof MappedinRankings;
|
|
5296
5467
|
};
|
|
5297
5468
|
export type TTHINGS = keyof typeof THINGS;
|
|
5298
|
-
export type { TDirectionToOptions } from '@mappedin/react-native-sdk/
|
|
5469
|
+
export type { TDirectionToOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinNavigatable';
|
|
5299
5470
|
export enum GET_VENUE_EVENT {
|
|
5300
5471
|
LANGUAGE_CHANGED = 0
|
|
5301
5472
|
}
|
|
@@ -5305,11 +5476,11 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/internal' {
|
|
|
5305
5476
|
code: string;
|
|
5306
5477
|
};
|
|
5307
5478
|
};
|
|
5308
|
-
export { Mappedin } from '@mappedin/react-native-sdk/
|
|
5479
|
+
export { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin';
|
|
5309
5480
|
}
|
|
5310
5481
|
|
|
5311
|
-
declare module '@mappedin/react-native-sdk/
|
|
5312
|
-
import { MappedinNavigatable, MappedinLocation, MappedinCategory } from '@mappedin/react-native-sdk/
|
|
5482
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.CustomerAnalytics' {
|
|
5483
|
+
import { MappedinNavigatable, MappedinLocation, MappedinCategory } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5313
5484
|
type AnalyticsUserPosition = {
|
|
5314
5485
|
bluedotTimestamp: number;
|
|
5315
5486
|
latitude: number;
|
|
@@ -5452,10 +5623,10 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Cust
|
|
|
5452
5623
|
export default Analytics;
|
|
5453
5624
|
}
|
|
5454
5625
|
|
|
5455
|
-
declare module '@mappedin/react-native-sdk/
|
|
5456
|
-
import { IDirectionsResult } from '@mappedin/react-native-sdk/
|
|
5457
|
-
import { ACTION_TYPE, BEARING_TYPE } from '@mappedin/react-native-sdk/
|
|
5458
|
-
import type { MappedinNode, MappedinVortex, MappedinMap, Mappedin } from '@mappedin/react-native-sdk/
|
|
5626
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDirections' {
|
|
5627
|
+
import { IDirectionsResult } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
5628
|
+
import { ACTION_TYPE, BEARING_TYPE } from '@mappedin/react-native-sdk/sdks/packages/navigator/Directive';
|
|
5629
|
+
import type { MappedinNode, MappedinVortex, MappedinMap, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5459
5630
|
export interface IActionDeparture {
|
|
5460
5631
|
type: ACTION_TYPE.DEPARTURE;
|
|
5461
5632
|
}
|
|
@@ -5496,20 +5667,26 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirec
|
|
|
5496
5667
|
export class MappedinDirections {
|
|
5497
5668
|
#private;
|
|
5498
5669
|
/**
|
|
5499
|
-
* Total Distance
|
|
5670
|
+
* Total Distance in meters of the path.
|
|
5500
5671
|
*/
|
|
5501
5672
|
distance: number;
|
|
5673
|
+
/**
|
|
5674
|
+
* The path as an array of {@link MappedinNode}
|
|
5675
|
+
*/
|
|
5502
5676
|
path: MappedinNode[];
|
|
5677
|
+
/**
|
|
5678
|
+
* An array of {@link MappedinDirective} that contains the instructions to get to the destination, which can be used for text based directions.
|
|
5679
|
+
*/
|
|
5503
5680
|
instructions: TMappedinDirective[];
|
|
5504
5681
|
constructor(mappedin: Mappedin, directions: IDirectionsResult);
|
|
5505
5682
|
toJSON(): IDirectionsResult;
|
|
5506
5683
|
}
|
|
5507
5684
|
}
|
|
5508
5685
|
|
|
5509
|
-
declare module '@mappedin/react-native-sdk/
|
|
5510
|
-
import type { TLocation, TColor, TGalleryImage, TLogo, TOpeningHours, TPhone, TPicture, TSiblingGroup, TSocial } from '@mappedin/react-native-sdk/
|
|
5511
|
-
import type { MappedinNode, MappedinPolygon, MappedinCategory, MappedinLocationState, Mappedin } from '@mappedin/react-native-sdk/
|
|
5512
|
-
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, TDirectionToOptions } from '@mappedin/react-native-sdk/
|
|
5686
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocation' {
|
|
5687
|
+
import type { TLocation, TColor, TGalleryImage, TLogo, TOpeningHours, TPhone, TPicture, TSiblingGroup, TSocial } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
5688
|
+
import type { MappedinNode, MappedinPolygon, MappedinCategory, MappedinLocationState, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5689
|
+
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, TDirectionToOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5513
5690
|
export function getCurrentLocationState(location: MappedinLocation, states: MappedinLocationState[], date?: Date): MappedinLocationState | undefined;
|
|
5514
5691
|
export type TOperationHoursMap = {
|
|
5515
5692
|
[key in string]: TOpeningHours[];
|
|
@@ -5614,9 +5791,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
5614
5791
|
}
|
|
5615
5792
|
}
|
|
5616
5793
|
|
|
5617
|
-
declare module '@mappedin/react-native-sdk/
|
|
5618
|
-
import { MappedinNode, Mappedin } from '@mappedin/react-native-sdk/
|
|
5619
|
-
import type { MappedinMap } from '@mappedin/react-native-sdk/
|
|
5794
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCoordinate' {
|
|
5795
|
+
import { MappedinNode, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5796
|
+
import type { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5620
5797
|
export type TMappedinCoordinateOptions = {
|
|
5621
5798
|
map: MappedinMap;
|
|
5622
5799
|
mappedin: Mappedin;
|
|
@@ -5689,10 +5866,11 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinCoord
|
|
|
5689
5866
|
}
|
|
5690
5867
|
}
|
|
5691
5868
|
|
|
5692
|
-
declare module '@mappedin/react-native-sdk/
|
|
5869
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.OfflineSearch' {
|
|
5693
5870
|
import type { SearchOptions } from 'minisearch';
|
|
5694
|
-
import { MappedinLocation, MappedinCategory, Mappedin } from '@mappedin/react-native-sdk/
|
|
5871
|
+
import { MappedinLocation, MappedinCategory, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
5695
5872
|
export const removeAccents: (it: string) => string;
|
|
5873
|
+
export function tokenizeAndCaptureDelimiters(text: string): string[];
|
|
5696
5874
|
export type { SearchOptions };
|
|
5697
5875
|
/**
|
|
5698
5876
|
* A {@link OfflineSearch} is an offline search module
|
|
@@ -5910,7 +6088,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Offl
|
|
|
5910
6088
|
}
|
|
5911
6089
|
}
|
|
5912
6090
|
|
|
5913
|
-
declare module '@mappedin/react-native-sdk/
|
|
6091
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types' {
|
|
5914
6092
|
/**
|
|
5915
6093
|
* This file contains the API types for MappedinSDK - before they get turned into Classes
|
|
5916
6094
|
*/
|
|
@@ -6122,10 +6300,11 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.API.
|
|
|
6122
6300
|
};
|
|
6123
6301
|
}
|
|
6124
6302
|
|
|
6125
|
-
declare module '@mappedin/react-native-sdk/
|
|
6126
|
-
import { TAddFlatLabelOptions, TFlatLabelAllLocationsOptions, TFlatLabelAppearance, ICore } from '@mappedin/react-native-sdk/
|
|
6127
|
-
import { FlatLabel } from '@mappedin/react-native-sdk/
|
|
6128
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
6303
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FlatLabelsController' {
|
|
6304
|
+
import { TAddFlatLabelOptions, TFlatLabelAllLocationsOptions, TFlatLabelAppearance, ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6305
|
+
import { FlatLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6306
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6307
|
+
export const LABEL_ALL_LOCATIONS_WARNING = "Adding or removing individual labels after calling labelAllLocations() may cause unexpected behaviour. We recommend adding all labels individually if more specific control is desired. https://developer.mappedin.com/web-sdk-api/v5/latest/classes/flatlabels#add";
|
|
6129
6308
|
export type FlatLabelRenderObject = TAddFlatLabelOptions & {
|
|
6130
6309
|
polygon: MappedinPolygon;
|
|
6131
6310
|
text: string;
|
|
@@ -6144,7 +6323,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6144
6323
|
labeledPolygons: {};
|
|
6145
6324
|
labelAllLocations(options?: TFlatLabelAllLocationsOptions): FlatLabel[];
|
|
6146
6325
|
labelPolygon(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id'], text: string, options?: TAddFlatLabelOptions): any;
|
|
6147
|
-
removeLabel(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id']
|
|
6326
|
+
removeLabel(polygonOrPolygonId: MappedinPolygon | MappedinPolygon['id'], { warnOnLabelAllLocations }?: {
|
|
6327
|
+
warnOnLabelAllLocations?: boolean;
|
|
6328
|
+
}): void;
|
|
6148
6329
|
setAppearance(polygon: MappedinPolygon, appearance: TFlatLabelAppearance): void;
|
|
6149
6330
|
setHoverColorForAll(color: string): void;
|
|
6150
6331
|
removeAllLabels(): void;
|
|
@@ -6152,10 +6333,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6152
6333
|
export default FlatLabelsController;
|
|
6153
6334
|
}
|
|
6154
6335
|
|
|
6155
|
-
declare module '@mappedin/react-native-sdk/
|
|
6156
|
-
import { InternalFloatingLabel } from '@mappedin/react-native-sdk/
|
|
6157
|
-
import type { ICore, TFloatingLabelAllLocationsOptions, TAddFloatingLabelOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/
|
|
6158
|
-
import { MappedinPolygon, MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/
|
|
6336
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FloatingLabelsController' {
|
|
6337
|
+
import { InternalFloatingLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6338
|
+
import type { ICore, TFloatingLabelAllLocationsOptions, TAddFloatingLabelOptions, TFloatingLabelAppearance } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6339
|
+
import { MappedinPolygon, MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6159
6340
|
/**
|
|
6160
6341
|
* A floating label that is attached to a node or coordinate on the map.
|
|
6161
6342
|
*/
|
|
@@ -6221,11 +6402,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6221
6402
|
export default FloatingLabelsController;
|
|
6222
6403
|
}
|
|
6223
6404
|
|
|
6224
|
-
declare module '@mappedin/react-native-sdk/
|
|
6225
|
-
import Edge from '@mappedin/react-native-sdk/
|
|
6226
|
-
import IMap from '@mappedin/react-native-sdk/
|
|
6227
|
-
import INode from '@mappedin/react-native-sdk/
|
|
6228
|
-
import IVortex from '@mappedin/react-native-sdk/
|
|
6405
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/NavigationGraph' {
|
|
6406
|
+
import Edge from '@mappedin/react-native-sdk/sdks/packages/navigator/Edge';
|
|
6407
|
+
import IMap from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IMap';
|
|
6408
|
+
import INode from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode';
|
|
6409
|
+
import IVortex from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IVortex';
|
|
6229
6410
|
export function getMapScale(map: IMap): number;
|
|
6230
6411
|
export function getAngle(origin: INode, destination: INode): number;
|
|
6231
6412
|
class NavigationGraph {
|
|
@@ -6268,15 +6449,15 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/NavigationGra
|
|
|
6268
6449
|
export default NavigationGraph;
|
|
6269
6450
|
}
|
|
6270
6451
|
|
|
6271
|
-
declare module '@mappedin/react-native-sdk/
|
|
6272
|
-
import Directive from '@mappedin/react-native-sdk/
|
|
6273
|
-
import Edge from '@mappedin/react-native-sdk/
|
|
6274
|
-
import { TCoordinate } from '@mappedin/react-native-sdk/
|
|
6275
|
-
import ILocation from '@mappedin/react-native-sdk/
|
|
6276
|
-
import IMap from '@mappedin/react-native-sdk/
|
|
6277
|
-
import INode from '@mappedin/react-native-sdk/
|
|
6278
|
-
import IPolygon from '@mappedin/react-native-sdk/
|
|
6279
|
-
import IVortex from '@mappedin/react-native-sdk/
|
|
6452
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator' {
|
|
6453
|
+
import Directive from '@mappedin/react-native-sdk/sdks/packages/navigator/Directive';
|
|
6454
|
+
import Edge from '@mappedin/react-native-sdk/sdks/packages/navigator/Edge';
|
|
6455
|
+
import { TCoordinate } from '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator.utils';
|
|
6456
|
+
import ILocation from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/ILocation';
|
|
6457
|
+
import IMap from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IMap';
|
|
6458
|
+
import INode from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode';
|
|
6459
|
+
import IPolygon from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IPolygon';
|
|
6460
|
+
import IVortex from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IVortex';
|
|
6280
6461
|
export enum E_MESSAGES {
|
|
6281
6462
|
NO_VALID_PATH = "No Valid Path Available"
|
|
6282
6463
|
}
|
|
@@ -6346,10 +6527,10 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Navigator' {
|
|
|
6346
6527
|
export default Navigator;
|
|
6347
6528
|
}
|
|
6348
6529
|
|
|
6349
|
-
declare module '@mappedin/react-native-sdk/
|
|
6350
|
-
import ILocation from '@mappedin/react-native-sdk/
|
|
6351
|
-
import IMap from '@mappedin/react-native-sdk/
|
|
6352
|
-
import INode from '@mappedin/react-native-sdk/
|
|
6530
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/Directive' {
|
|
6531
|
+
import ILocation from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/ILocation';
|
|
6532
|
+
import IMap from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IMap';
|
|
6533
|
+
import INode from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode';
|
|
6353
6534
|
export enum ACTION_TYPE {
|
|
6354
6535
|
DEPARTURE = "Departure",
|
|
6355
6536
|
TAKEVORTEX = "TakeVortex",
|
|
@@ -6410,7 +6591,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Directive' {
|
|
|
6410
6591
|
export default Directive;
|
|
6411
6592
|
}
|
|
6412
6593
|
|
|
6413
|
-
declare module '@mappedin/react-native-sdk/
|
|
6594
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/common/Mappedin.Logger' {
|
|
6414
6595
|
export const MI_DEBUG_KEY = "mi-debug";
|
|
6415
6596
|
export enum E_SDK_LOG_LEVEL {
|
|
6416
6597
|
LOG = 0,
|
|
@@ -6431,25 +6612,26 @@ declare module '@mappedin/react-native-sdk/core/common/Mappedin.Logger' {
|
|
|
6431
6612
|
export default Logger;
|
|
6432
6613
|
}
|
|
6433
6614
|
|
|
6434
|
-
declare module '@mappedin/react-native-sdk/
|
|
6615
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal' {
|
|
6435
6616
|
import { Texture } from 'three';
|
|
6436
|
-
import { STATE } from '@mappedin/react-native-sdk/
|
|
6437
|
-
import { TMapClickEvent } from '@mappedin/react-native-sdk/
|
|
6438
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
6439
|
-
|
|
6440
|
-
export
|
|
6441
|
-
export {
|
|
6442
|
-
export {
|
|
6443
|
-
export {
|
|
6444
|
-
export { default as
|
|
6445
|
-
export {
|
|
6446
|
-
export {
|
|
6447
|
-
export { default as
|
|
6448
|
-
export {
|
|
6449
|
-
export {
|
|
6450
|
-
export { default as
|
|
6451
|
-
export { default as
|
|
6452
|
-
export {
|
|
6617
|
+
import { STATE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
6618
|
+
import { TMapClickEvent } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
6619
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6620
|
+
import { Vector3 } from '@mappedin/mvf';
|
|
6621
|
+
export { MappedinMap, Mappedin, MappedinCoordinate, MappedinPolygon, MappedinNode, MappedinLocation, MappedinVenue, } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6622
|
+
export type { TEnableBlueDotOptions, TFloatingLabelAppearance, TGeolocationObject, TPathOptions, TConnectionProps, TConnectionTemplateFn, TMarkerTemplateProps, TMarkerTemplateFn, TJourneyOptions, TPadding, TCreateMarkerOptions, TAnimationOptions, TCreateTooltipInternalOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TCreateTextTooltipOptions, TCreateCustomInnerHTMLTooltipOptions, TCreateCustomTooltipOptions, TCreateThreeDMarkerOptions, TGetPolygonsAtCoordinateOptions, TMapViewOptions, TMapViewOptionsLegacy, TFlatLabelOptions, TFlatLabelAppearance, TFloatingLabelPolygonOptions, TAddFlatLabelOptions, TAddFloatingLabelOptions, TLabelAllLocationCommonOptions, TLabelAllLocationFloatingLabelOptions, TLabelAllLocationFlatLabelOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, changeListenerFn, TMapClickEvent, E_SDK_EVENT_PAYLOAD, E_BLUEDOT_EVENT_PAYLOAD, CAMERA_EVENT_PAYLOAD, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
6623
|
+
export { labelThemes } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
6624
|
+
export { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, E_BLUEDOT_STATE_REASON, E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, CAMERA_EASING_MODE, MAP_RENDER_MODE, ANIMATION_TWEENS, STACKED_MAPS_STATE, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
6625
|
+
export { default as JSONSceneLoader } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/json-scene-loader';
|
|
6626
|
+
export { default as RENDER } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.RenderTasks';
|
|
6627
|
+
export { FrameUpdate, FrameTask, TaskScheduler } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.TaskScheduler';
|
|
6628
|
+
export { default as SceneManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.SceneManager';
|
|
6629
|
+
export { default as DynamicFocusSceneManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.DynamicFocusSceneManager';
|
|
6630
|
+
export { PubSub } from '@mappedin/react-native-sdk/sdks/packages/get-venue/pub-sub.typed';
|
|
6631
|
+
export { default as MapObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject';
|
|
6632
|
+
export { default as CAMERA_LAYER } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.CameraLayers';
|
|
6633
|
+
export { default as AssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager';
|
|
6634
|
+
export { BundleAssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/bundle-asset-manager';
|
|
6453
6635
|
/**
|
|
6454
6636
|
* Internal Events and Payloads
|
|
6455
6637
|
*/
|
|
@@ -6486,7 +6668,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal' {
|
|
|
6486
6668
|
JOURNEY_CREATED = 29,
|
|
6487
6669
|
JOURNEY_DESTROYED = 30,
|
|
6488
6670
|
OUTDOOR_VIEW_LOADED = 31,
|
|
6489
|
-
LAYER_VISIBILITY_CHANGED = 32
|
|
6671
|
+
LAYER_VISIBILITY_CHANGED = 32,
|
|
6672
|
+
USER_INTERACTION_START = 33,
|
|
6673
|
+
USER_INTERACTION_END = 34
|
|
6490
6674
|
}
|
|
6491
6675
|
export type INTERNAL_EVENT_PAYLOAD = {
|
|
6492
6676
|
[INTERNAL_EVENT.SET_SCENE_START]: undefined;
|
|
@@ -6500,7 +6684,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal' {
|
|
|
6500
6684
|
[INTERNAL_EVENT.SET_SCENE]: {
|
|
6501
6685
|
context?: string;
|
|
6502
6686
|
};
|
|
6503
|
-
[INTERNAL_EVENT.CAMERA_MOVING]:
|
|
6687
|
+
[INTERNAL_EVENT.CAMERA_MOVING]: {
|
|
6688
|
+
position: Vector3;
|
|
6689
|
+
tilt: number;
|
|
6690
|
+
rotation: number;
|
|
6691
|
+
zoom: number;
|
|
6692
|
+
};
|
|
6504
6693
|
[INTERNAL_EVENT.SET_BLUE_DOT_SIZE_FROM_ZOOM]: number;
|
|
6505
6694
|
[INTERNAL_EVENT.PUBLISH_BLUE_DOT]: undefined;
|
|
6506
6695
|
[INTERNAL_EVENT.CLEAR_MOUSE]: undefined;
|
|
@@ -6523,113 +6712,118 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal' {
|
|
|
6523
6712
|
[INTERNAL_EVENT.FOCUSON_BEGIN]: undefined;
|
|
6524
6713
|
[INTERNAL_EVENT.USER_HANDS_ON]: undefined;
|
|
6525
6714
|
[INTERNAL_EVENT.USER_HANDS_OFF]: undefined;
|
|
6715
|
+
[INTERNAL_EVENT.USER_INTERACTION_START]: undefined;
|
|
6716
|
+
[INTERNAL_EVENT.USER_INTERACTION_END]: undefined;
|
|
6526
6717
|
[INTERNAL_EVENT.USER_PAN]: undefined;
|
|
6527
6718
|
[INTERNAL_EVENT.USER_TILT]: undefined;
|
|
6528
6719
|
[INTERNAL_EVENT.LAYER_VISIBILITY_CHANGED]: MappedinMap;
|
|
6529
6720
|
[INTERNAL_EVENT.JOURNEY_CREATED]: undefined;
|
|
6530
6721
|
[INTERNAL_EVENT.JOURNEY_DESTROYED]: undefined;
|
|
6531
6722
|
[INTERNAL_EVENT.SCENE_VISIBLITY_CHANGED]: undefined;
|
|
6723
|
+
[INTERNAL_EVENT.USER_INTERACTION_START]: undefined;
|
|
6724
|
+
[INTERNAL_EVENT.USER_INTERACTION_END]: undefined;
|
|
6532
6725
|
};
|
|
6533
6726
|
/**
|
|
6534
6727
|
* Factories
|
|
6535
6728
|
*/
|
|
6536
|
-
export { Atlas, FlatLabel } from '@mappedin/react-native-sdk/
|
|
6537
|
-
export { default as HoverLabel } from '@mappedin/react-native-sdk/
|
|
6538
|
-
export { default as BaseCollider } from '@mappedin/react-native-sdk/
|
|
6539
|
-
export { default as InternalFloatingLabel } from '@mappedin/react-native-sdk/
|
|
6540
|
-
export { default as HTMLCollider } from '@mappedin/react-native-sdk/
|
|
6541
|
-
export { Marker } from '@mappedin/react-native-sdk/
|
|
6542
|
-
export { default as SmartTooltip } from '@mappedin/react-native-sdk/
|
|
6543
|
-
export { default as InternalMarker } from '@mappedin/react-native-sdk/
|
|
6544
|
-
export { ThreeJSMarkerHandle } from '@mappedin/react-native-sdk/
|
|
6545
|
-
export { default as MapViewScene } from '@mappedin/react-native-sdk/
|
|
6546
|
-
export { default as MapViewStackScene } from '@mappedin/react-native-sdk/
|
|
6547
|
-
export { default as Element } from '@mappedin/react-native-sdk/
|
|
6548
|
-
export { default as FlippableImage } from '@mappedin/react-native-sdk/
|
|
6549
|
-
export { default as Building } from '@mappedin/react-native-sdk/
|
|
6550
|
-
export { default as DynamicFocusScene } from '@mappedin/react-native-sdk/
|
|
6729
|
+
export { Atlas, FlatLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.LabelAtlas.js';
|
|
6730
|
+
export { default as HoverLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.HoverLabel';
|
|
6731
|
+
export { default as BaseCollider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
6732
|
+
export { default as InternalFloatingLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.FloatingLabel';
|
|
6733
|
+
export { default as HTMLCollider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.HTMLCollider';
|
|
6734
|
+
export { Marker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController';
|
|
6735
|
+
export { default as SmartTooltip } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartTooltip';
|
|
6736
|
+
export { default as InternalMarker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Marker';
|
|
6737
|
+
export { ThreeJSMarkerHandle } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject';
|
|
6738
|
+
export { default as MapViewScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.Scene';
|
|
6739
|
+
export { default as MapViewStackScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.StackScene';
|
|
6740
|
+
export { default as Element } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Element';
|
|
6741
|
+
export { default as FlippableImage } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.FlippableImage';
|
|
6742
|
+
export { default as Building } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/building';
|
|
6743
|
+
export { default as DynamicFocusScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/dynamic-focus-scene';
|
|
6551
6744
|
/**
|
|
6552
6745
|
* Controllers/Managers
|
|
6553
6746
|
*/
|
|
6554
|
-
export { default as PathsController, Path } from '@mappedin/react-native-sdk/
|
|
6555
|
-
export { default as FloatingLabelsController } from '@mappedin/react-native-sdk/
|
|
6556
|
-
export { default as FlatLabelsController } from '@mappedin/react-native-sdk/
|
|
6557
|
-
export { default as PolygonColorsController } from '@mappedin/react-native-sdk/
|
|
6558
|
-
export { default as PolygonHoverColorsController } from '@mappedin/react-native-sdk/
|
|
6559
|
-
export { default as MarkersController } from '@mappedin/react-native-sdk/
|
|
6560
|
-
export { default as PolygonInteractionController } from '@mappedin/react-native-sdk/
|
|
6561
|
-
export { default as TooltipsController } from '@mappedin/react-native-sdk/
|
|
6562
|
-
export { default as PolygonStatesController } from '@mappedin/react-native-sdk/
|
|
6563
|
-
export { default as PolygonImagesController } from '@mappedin/react-native-sdk/
|
|
6564
|
-
export { default as ThreeDMarkersController } from '@mappedin/react-native-sdk/
|
|
6565
|
-
export { default as BlueDotController } from '@mappedin/react-native-sdk/
|
|
6566
|
-
export { default as BlueDotManager } from '@mappedin/react-native-sdk/
|
|
6567
|
-
export { default as CameraController } from '@mappedin/react-native-sdk/
|
|
6568
|
-
export { default as EventSystem } from '@mappedin/react-native-sdk/
|
|
6569
|
-
export { default as ClosedPolygonManager } from '@mappedin/react-native-sdk/
|
|
6570
|
-
export { default as BinaryAssetManager } from '@mappedin/react-native-sdk/
|
|
6571
|
-
export { default as SmartCollisionEngine } from '@mappedin/react-native-sdk/
|
|
6572
|
-
export { default as BillboardManager } from '@mappedin/react-native-sdk/
|
|
6573
|
-
export { default as StackedMapsController } from '@mappedin/react-native-sdk/
|
|
6574
|
-
export { MultiBufferRenderer } from '@mappedin/react-native-sdk/
|
|
6575
|
-
export { JourneyController } from '@mappedin/react-native-sdk/
|
|
6576
|
-
export { default as OutdoorViewController } from '@mappedin/react-native-sdk/
|
|
6577
|
-
export { default as ExportController } from '@mappedin/react-native-sdk/
|
|
6578
|
-
export { default as WatermarkController } from '@mappedin/react-native-sdk/
|
|
6579
|
-
export { default as LayerController } from '@mappedin/react-native-sdk/
|
|
6747
|
+
export { default as PathsController, Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController';
|
|
6748
|
+
export { default as FloatingLabelsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FloatingLabelsController';
|
|
6749
|
+
export { default as FlatLabelsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FlatLabelsController';
|
|
6750
|
+
export { default as PolygonColorsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonColorsController';
|
|
6751
|
+
export { default as PolygonHoverColorsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonHoverColorsController';
|
|
6752
|
+
export { default as MarkersController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController';
|
|
6753
|
+
export { default as PolygonInteractionController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonInteractionController';
|
|
6754
|
+
export { default as TooltipsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/TooltipsController';
|
|
6755
|
+
export { default as PolygonStatesController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonStatesController';
|
|
6756
|
+
export { default as PolygonImagesController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonImagesController';
|
|
6757
|
+
export { default as ThreeDMarkersController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/ThreeDMarkersController';
|
|
6758
|
+
export { default as BlueDotController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/BlueDotController';
|
|
6759
|
+
export { default as BlueDotManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/blue-dot-manager';
|
|
6760
|
+
export { default as CameraController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController';
|
|
6761
|
+
export { default as EventSystem } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/EventSystem';
|
|
6762
|
+
export { default as ClosedPolygonManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.ClosedPolygonManager';
|
|
6763
|
+
export { default as BinaryAssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BinaryAssetManager';
|
|
6764
|
+
export { default as SmartCollisionEngine } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollisionEngine';
|
|
6765
|
+
export { default as BillboardManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/BillboardManager';
|
|
6766
|
+
export { default as StackedMapsController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/StackedMapsController';
|
|
6767
|
+
export { MultiBufferRenderer } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Renderer';
|
|
6768
|
+
export { JourneyController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/JourneyController';
|
|
6769
|
+
export { default as OutdoorViewController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/OutdoorViewController';
|
|
6770
|
+
export { default as ExportController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/ExportController';
|
|
6771
|
+
export { default as WatermarkController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/WatermarkController';
|
|
6772
|
+
export { default as LayerController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/LayerController';
|
|
6580
6773
|
/**
|
|
6581
6774
|
* Types
|
|
6582
6775
|
*/
|
|
6583
|
-
export type { TSceneTransitionOptions } from '@mappedin/react-native-sdk/
|
|
6584
|
-
export type { IPositionUpdater, IBlueDotCore } from '@mappedin/react-native-sdk/
|
|
6585
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/
|
|
6586
|
-
export type { TColliderPosition } from '@mappedin/react-native-sdk/
|
|
6587
|
-
export type { ICollider, TColliderStrategy } from '@mappedin/react-native-sdk/
|
|
6588
|
-
export { EColliderAction } from '@mappedin/react-native-sdk/
|
|
6589
|
-
export type { IHTMLCollider } from '@mappedin/react-native-sdk/
|
|
6590
|
-
export { COLLIDER_STRATEGY_LOW_PRIORITY } from '@mappedin/react-native-sdk/
|
|
6591
|
-
export { default as BlueDotCore } from '@mappedin/react-native-sdk/
|
|
6592
|
-
export { default as BlueDotUI } from '@mappedin/react-native-sdk/
|
|
6593
|
-
export { default as CameraControls } from '@mappedin/react-native-sdk/
|
|
6594
|
-
export { default as Renderer } from '@mappedin/react-native-sdk/
|
|
6595
|
-
export { determineStartingMap, getObject, getObjectId } from '@mappedin/react-native-sdk/
|
|
6596
|
-
export { default as MapManager } from '@mappedin/react-native-sdk/
|
|
6597
|
-
export { default as DebugUI } from '@mappedin/react-native-sdk/
|
|
6598
|
-
export { DebugUIScalarSlider, DebugUIColorPicker } from '@mappedin/react-native-sdk/
|
|
6599
|
-
export type { Collider, ColliderQuadTree } from '@mappedin/react-native-sdk/
|
|
6600
|
-
export { MapView } from '@mappedin/react-native-sdk/
|
|
6601
|
-
export {
|
|
6602
|
-
export {
|
|
6603
|
-
export {
|
|
6604
|
-
export
|
|
6605
|
-
|
|
6606
|
-
}
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
import {
|
|
6611
|
-
import {
|
|
6612
|
-
import
|
|
6613
|
-
|
|
6614
|
-
export
|
|
6615
|
-
export type {
|
|
6616
|
-
export type {
|
|
6617
|
-
export {
|
|
6618
|
-
export
|
|
6776
|
+
export type { TSceneTransitionOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.SceneManager';
|
|
6777
|
+
export type { IPositionUpdater, IBlueDotCore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
6778
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController';
|
|
6779
|
+
export type { TColliderPosition } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
6780
|
+
export type { ICollider, TColliderStrategy } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
6781
|
+
export { EColliderAction } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
6782
|
+
export type { IHTMLCollider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.HTMLCollider';
|
|
6783
|
+
export { COLLIDER_STRATEGY_LOW_PRIORITY } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollisionEngine';
|
|
6784
|
+
export { default as BlueDotCore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
6785
|
+
export { default as BlueDotUI } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.ui';
|
|
6786
|
+
export { default as CameraControls } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.CameraControls.js';
|
|
6787
|
+
export { default as Renderer } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Renderer.js';
|
|
6788
|
+
export { determineStartingMap, getObject, getObjectId } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/utils';
|
|
6789
|
+
export { default as MapManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapManager';
|
|
6790
|
+
export { default as DebugUI } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.DebugUI';
|
|
6791
|
+
export { DebugUIScalarSlider, DebugUIColorPicker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.DebugUIControl';
|
|
6792
|
+
export type { Collider, ColliderQuadTree } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollisionEngine';
|
|
6793
|
+
export { MapView } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/MapView';
|
|
6794
|
+
export { default as Logger } from '@mappedin/react-native-sdk/sdks/packages/common/Mappedin.Logger';
|
|
6795
|
+
export { TileManager, TILE_COLOR } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
6796
|
+
export type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
6797
|
+
export * from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core';
|
|
6798
|
+
const setAssetManager: any;
|
|
6799
|
+
export { setAssetManager };
|
|
6800
|
+
}
|
|
6801
|
+
|
|
6802
|
+
declare module '@mappedin/react-native-sdk/sdks/cms/src' {
|
|
6803
|
+
import { MapView } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/MapView';
|
|
6804
|
+
import { getVenue, getVenueMVF, getVenueBundle, getVenueMaker, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions, hydrateVenue, GET_VENUE_EVENT } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6805
|
+
import { PositionUpdater } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
6806
|
+
import type { TMapViewOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
6807
|
+
export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/react-native-sdk/sdks/packages/common/Mappedin.Logger';
|
|
6808
|
+
export type { Marker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController';
|
|
6809
|
+
export type { Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController';
|
|
6810
|
+
export type { FloatingLabel } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/FloatingLabelsController';
|
|
6811
|
+
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
6812
|
+
export type { IDirectionsResult, TSimplifyDirectionsOptions, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES, } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
6619
6813
|
/**
|
|
6620
6814
|
* APIs for TypeDoc
|
|
6621
6815
|
*/
|
|
6622
|
-
export type { IFlatLabels, FlatLabels } from '@mappedin/react-native-sdk/
|
|
6623
|
-
export type { IFloatingLabels, FloatingLabels } from '@mappedin/react-native-sdk/
|
|
6624
|
-
export type { Camera } from '@mappedin/react-native-sdk/
|
|
6625
|
-
export type { BlueDot } from '@mappedin/react-native-sdk/
|
|
6626
|
-
export type { Markers } from '@mappedin/react-native-sdk/
|
|
6627
|
-
export type { Paths } from '@mappedin/react-native-sdk/
|
|
6628
|
-
export type { StackedMaps } from '@mappedin/react-native-sdk/
|
|
6629
|
-
export type { OutdoorView } from '@mappedin/react-native-sdk/
|
|
6630
|
-
export type { DynamicFocus } from '@mappedin/react-native-sdk/
|
|
6631
|
-
export type { Layers } from '@mappedin/react-native-sdk/
|
|
6632
|
-
export type { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/
|
|
6816
|
+
export type { IFlatLabels, FlatLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FlatLabels';
|
|
6817
|
+
export type { IFloatingLabels, FloatingLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FloatingLabels';
|
|
6818
|
+
export type { Camera } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Camera';
|
|
6819
|
+
export type { BlueDot } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/BlueDot';
|
|
6820
|
+
export type { Markers } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Markers';
|
|
6821
|
+
export type { Paths } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Paths';
|
|
6822
|
+
export type { StackedMaps } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/StackedMaps';
|
|
6823
|
+
export type { OutdoorView } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/OutdoorView';
|
|
6824
|
+
export type { DynamicFocus } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/DynamicFocus';
|
|
6825
|
+
export type { Layers } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Layers';
|
|
6826
|
+
export type { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartTooltip';
|
|
6633
6827
|
export type TMappedinInitializeOutput = {
|
|
6634
6828
|
mapView: MapView;
|
|
6635
6829
|
venue: Mappedin;
|
|
@@ -6653,31 +6847,28 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
6653
6847
|
* @returns
|
|
6654
6848
|
*/
|
|
6655
6849
|
function showVenue<T extends Mappedin>(el: HTMLElement, venue: T, options?: TMapViewOptions): Promise<MapView>;
|
|
6656
|
-
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, STACKED_MAPS_STATE, MARKER_ANCHOR, GEOLOCATION_STATUS, E_MAP_CHANGED_REASON, } from '@mappedin/react-native-sdk/
|
|
6657
|
-
export { getVenue, getVenueMVF, getVenueBundle, getVenueMaker, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, hydrateVenue, PositionUpdater, MappedinDestinationSet, };
|
|
6658
|
-
import DefaultAssetManager from '@mappedin/react-native-sdk/
|
|
6659
|
-
import { TTileManagerOptions } from '@mappedin/react-native-sdk/
|
|
6660
|
-
import { TShowWatermarkOptions } from '@mappedin/react-native-sdk/
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
const setAssetManager: any;
|
|
6665
|
-
export { setAssetManager, DefaultAssetManager as AssetManager };
|
|
6666
|
-
export type { TMappedinDirective, IAction, IActionArrival, IActionDeparture, IActionExitVortex, IActionTakeVortex, IActionTurn, } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
6850
|
+
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, STACKED_MAPS_STATE, MARKER_ANCHOR, GEOLOCATION_STATUS, E_MAP_CHANGED_REASON, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
6851
|
+
export { getVenue, getVenueMVF, getVenueBundle, getVenueMaker, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, hydrateVenue, PositionUpdater, MappedinDestinationSet, GET_VENUE_EVENT, };
|
|
6852
|
+
import DefaultAssetManager from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager';
|
|
6853
|
+
import { TTileManagerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
6854
|
+
import { TShowWatermarkOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/WatermarkController';
|
|
6855
|
+
export { setAssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6856
|
+
export { DefaultAssetManager as AssetManager };
|
|
6857
|
+
export type { TMappedinDirective, IAction, IActionArrival, IActionDeparture, IActionExitVortex, IActionTakeVortex, IActionTurn, } from '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDirections';
|
|
6667
6858
|
export type { TMappedinInitializeOptions };
|
|
6668
|
-
export * from '@mappedin/react-native-sdk/
|
|
6669
|
-
export type { MapView } from '@mappedin/react-native-sdk/
|
|
6670
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraInteractionsSetOptions, TCameraAnimationOptions, default as CameraController, } from '@mappedin/react-native-sdk/
|
|
6671
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMVFOptions, TGetVenueMakerOptions,
|
|
6672
|
-
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, MappedinLocationState, } from '@mappedin/react-native-sdk/
|
|
6859
|
+
export * from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
6860
|
+
export type { MapView } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/MapView';
|
|
6861
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraInteractionsSetOptions, TCameraAnimationOptions, default as CameraController, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController';
|
|
6862
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TGetVenueMVFOptions, TGetVenueMakerOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, TDirectionToOptions, TPicture, TImage, TColor, TGalleryImage, TOpeningHours, TPhone, TSiblingGroup, TSocial, TState, TGeoReference, TPolygonRanking, TOperationHoursMap, TAccessors, } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6863
|
+
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinRankings, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, MappedinLocationState, } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6673
6864
|
/**
|
|
6674
6865
|
* Export this only so our internal pre-built products can use it. We don't want to document it for external developers.
|
|
6675
6866
|
*/
|
|
6676
|
-
export { CustomerAnalytics } from '@mappedin/react-native-sdk/
|
|
6867
|
+
export { CustomerAnalytics } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
6677
6868
|
/**
|
|
6678
6869
|
* Exported but marked as @internal.
|
|
6679
6870
|
*/
|
|
6680
|
-
export { BundleAssetManager } from '@mappedin/react-native-sdk/
|
|
6871
|
+
export { BundleAssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/bundle-asset-manager';
|
|
6681
6872
|
/**
|
|
6682
6873
|
* @deprecated Use {@link OutdoorView} instead.
|
|
6683
6874
|
* Enable Tile Manager to render outdoor tiles around the venue. Must be called before {@link showVenue}.
|
|
@@ -6702,13 +6893,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
6702
6893
|
* Show a Mappedin logo in the 3D scene. Must be called before {@link showVenue}.
|
|
6703
6894
|
*/
|
|
6704
6895
|
export function __showWatermark(options?: TShowWatermarkOptions): void;
|
|
6705
|
-
export type { TTileManagerOptions
|
|
6706
|
-
export {
|
|
6707
|
-
export
|
|
6896
|
+
export type { TTileManagerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
6897
|
+
export { TILE_RENDER_MODES } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
6898
|
+
export { AzureOutdoorContextProvider, OpenStreetMapOutdoorContext, } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Outdoor-Context.provider';
|
|
6899
|
+
export type { IOutdoorContextProvider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Outdoor-Context.provider';
|
|
6708
6900
|
}
|
|
6709
6901
|
|
|
6710
|
-
declare module '@mappedin/react-native-sdk/
|
|
6711
|
-
import { ICore } from '@mappedin/react-native-sdk/
|
|
6902
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/WatermarkController' {
|
|
6903
|
+
import { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
6712
6904
|
import { Sprite } from 'three';
|
|
6713
6905
|
type TPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' | 'top' | 'bottom' | 'left' | 'right';
|
|
6714
6906
|
export type TShowWatermarkOptions = {
|
|
@@ -6730,9 +6922,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6730
6922
|
export default WatermarkController;
|
|
6731
6923
|
}
|
|
6732
6924
|
|
|
6733
|
-
declare module '@mappedin/react-native-sdk/
|
|
6734
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
6735
|
-
import { ICore } from '@mappedin/react-native-sdk/
|
|
6925
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonHoverColorsController' {
|
|
6926
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6927
|
+
import { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
6736
6928
|
class PolygonHoverColorsController {
|
|
6737
6929
|
#private;
|
|
6738
6930
|
constructor(core: ICore);
|
|
@@ -6743,7 +6935,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6743
6935
|
export default PolygonHoverColorsController;
|
|
6744
6936
|
}
|
|
6745
6937
|
|
|
6746
|
-
declare module '@mappedin/react-native-sdk/
|
|
6938
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/shave-text' {
|
|
6747
6939
|
export type TDrawFn = (ctx: CanvasRenderingContext2D, x: number, y: number) => void;
|
|
6748
6940
|
type TShave = (str: string, size: number, maxWidth: number, maxLines?: number, lineHeight?: number, options?: {
|
|
6749
6941
|
strokeText: boolean;
|
|
@@ -6761,9 +6953,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/shave
|
|
|
6761
6953
|
export {};
|
|
6762
6954
|
}
|
|
6763
6955
|
|
|
6764
|
-
declare module '@mappedin/react-native-sdk/
|
|
6765
|
-
import { IPubSub } from '@mappedin/react-native-sdk/
|
|
6766
|
-
import { E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE } from '@mappedin/react-native-sdk/
|
|
6956
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine' {
|
|
6957
|
+
import { IPubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
|
|
6958
|
+
import { E_BLUEDOT_STATE, E_BLUEDOT_MARKER_STATE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
6767
6959
|
/**
|
|
6768
6960
|
What we just learned about the user's position.
|
|
6769
6961
|
*/
|
|
@@ -6789,7 +6981,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
6789
6981
|
export default StateMachine;
|
|
6790
6982
|
}
|
|
6791
6983
|
|
|
6792
|
-
declare module '@mappedin/react-native-sdk/
|
|
6984
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub' {
|
|
6793
6985
|
type TChangeEventData = {
|
|
6794
6986
|
oldValue: any;
|
|
6795
6987
|
newValue: any;
|
|
@@ -6815,12 +7007,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-s
|
|
|
6815
7007
|
export {};
|
|
6816
7008
|
}
|
|
6817
7009
|
|
|
6818
|
-
declare module '@mappedin/react-native-sdk/
|
|
6819
|
-
import type Directive from '@mappedin/react-native-sdk/
|
|
6820
|
-
import type INode from '@mappedin/react-native-sdk/
|
|
6821
|
-
import { Path } from '@mappedin/react-native-sdk/
|
|
6822
|
-
import type {
|
|
6823
|
-
import { MappedinDirections } from '@mappedin/react-native-sdk/
|
|
7010
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/JourneyController' {
|
|
7011
|
+
import type Directive from '@mappedin/react-native-sdk/sdks/packages/navigator/Directive';
|
|
7012
|
+
import type INode from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode';
|
|
7013
|
+
import { Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
7014
|
+
import type { TJourneyOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
7015
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
7016
|
+
import Core from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core';
|
|
6824
7017
|
export type TMappedinDirections = {
|
|
6825
7018
|
distance: number;
|
|
6826
7019
|
path: INode[];
|
|
@@ -6843,38 +7036,236 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
6843
7036
|
get mapsInJourney(): import("../../internal").MappedinMap[];
|
|
6844
7037
|
get buildingsInJourney(): {};
|
|
6845
7038
|
get mapIdsInvolvedInJourney(): string[];
|
|
6846
|
-
constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions, core:
|
|
7039
|
+
constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions, core: Core);
|
|
6847
7040
|
setStep: (step: any) => void;
|
|
6848
7041
|
setStepByPath: (path: Path) => void;
|
|
6849
7042
|
static instance: JourneyController | null;
|
|
6850
|
-
static create(directions: MappedinDirections | MappedinDirections[], options: any, core:
|
|
7043
|
+
static create(directions: MappedinDirections | MappedinDirections[], options: any, core: Core): JourneyController;
|
|
6851
7044
|
destroy(): void;
|
|
6852
7045
|
}
|
|
6853
7046
|
}
|
|
6854
7047
|
|
|
6855
|
-
declare module '@mappedin/react-native-sdk/
|
|
6856
|
-
import
|
|
6857
|
-
import {
|
|
6858
|
-
import
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
};
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
7048
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core' {
|
|
7049
|
+
import '../internal/externals/globalThisPolyfill';
|
|
7050
|
+
import { Color, Mesh, PerspectiveCamera, Scene, Vector2 } from 'three';
|
|
7051
|
+
import '../internal/object3D.destroy';
|
|
7052
|
+
import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
7053
|
+
import { Renderer, TaskScheduler, MapManager, FlatLabel, SmartCollisionEngine, PubSub, INTERNAL_EVENT, INTERNAL_EVENT_PAYLOAD, MapView, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, Element, BillboardManager, StackedMapsController, OutdoorViewController, WatermarkController, PolygonHoverColorsController, ExportController, LayerController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
7054
|
+
import { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
7055
|
+
import { E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
7056
|
+
import type { PerformanceController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PerformanceController';
|
|
7057
|
+
export const raycaster: any;
|
|
7058
|
+
let Mappedin: any;
|
|
7059
|
+
/**
|
|
7060
|
+
* Some preset orderings for updates.
|
|
7061
|
+
*/
|
|
7062
|
+
export const UPDATE_ORDERING: {
|
|
7063
|
+
BEFORE_CAMERA: number;
|
|
7064
|
+
CAMERA: number;
|
|
7065
|
+
AFTER_CAMERA: number;
|
|
7066
|
+
RENDER: number;
|
|
7067
|
+
AFTER_RENDER: number;
|
|
7068
|
+
AFTER_ALL_UPDATES: number;
|
|
6868
7069
|
};
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
7070
|
+
type TCoreColors = {
|
|
7071
|
+
defaultHover2D: string;
|
|
7072
|
+
select: string;
|
|
7073
|
+
text: string;
|
|
7074
|
+
path: string;
|
|
7075
|
+
pathPulse: string;
|
|
7076
|
+
textSelect: string;
|
|
6872
7077
|
};
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
7078
|
+
class Core extends PubSub<INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT> {
|
|
7079
|
+
#private;
|
|
7080
|
+
/**
|
|
7081
|
+
* Controllers
|
|
7082
|
+
*/
|
|
7083
|
+
eventSystem: EventSystem;
|
|
7084
|
+
floatingLabels: FloatingLabelsController;
|
|
7085
|
+
flatLabels: FlatLabelsController;
|
|
7086
|
+
paths: PathsController;
|
|
7087
|
+
polygonColors: PolygonColorsController;
|
|
7088
|
+
polygonHoverColors: PolygonHoverColorsController;
|
|
7089
|
+
polygonInteraction: PolygonInteractionController;
|
|
7090
|
+
polygonStates: PolygonStatesController;
|
|
7091
|
+
polygonImages: PolygonImagesController;
|
|
7092
|
+
markers: MarkersController;
|
|
7093
|
+
tooltips: TooltipsController;
|
|
7094
|
+
threeDMarkers: ThreeDMarkersController;
|
|
7095
|
+
blueDot: BlueDotController;
|
|
7096
|
+
camera: CameraController;
|
|
7097
|
+
outdoorViewController?: OutdoorViewController;
|
|
7098
|
+
exportController: ExportController;
|
|
7099
|
+
watermark: WatermarkController;
|
|
7100
|
+
layerController: LayerController;
|
|
7101
|
+
options: TMapViewOptions & {
|
|
7102
|
+
onDataLoaded?: (data: IMappedin) => void;
|
|
7103
|
+
onFirstMapLoaded?: (data: IMappedin) => void;
|
|
7104
|
+
};
|
|
7105
|
+
currentPath?: MappedinNode[];
|
|
7106
|
+
state: STATE;
|
|
7107
|
+
imageFlippingCache: {};
|
|
7108
|
+
imageFlippingEnabled: boolean;
|
|
7109
|
+
MapView: MapView;
|
|
7110
|
+
type: string;
|
|
7111
|
+
container: HTMLDivElement;
|
|
7112
|
+
venue: IMappedin;
|
|
7113
|
+
colors: TCoreColors;
|
|
7114
|
+
loadOptions: TMapViewOptions['loadOptions'];
|
|
7115
|
+
smartCollisionEngine: SmartCollisionEngine;
|
|
7116
|
+
taskScheduler: TaskScheduler;
|
|
7117
|
+
renderer: Renderer;
|
|
7118
|
+
highlightedPolygons: Record<string, string>;
|
|
7119
|
+
outlinedPolygons: Map<string, MappedinPolygon>;
|
|
7120
|
+
scene: Scene;
|
|
7121
|
+
focusZoomFactor: number;
|
|
7122
|
+
cameraObject: PerspectiveCamera;
|
|
7123
|
+
polygonMeshesById: Record<string, Mesh>;
|
|
7124
|
+
renderedElementsById: Record<string, Element>;
|
|
7125
|
+
textLabelsByPolygonId: Record<string, FlatLabel>;
|
|
7126
|
+
labelOrientationDelay: number;
|
|
7127
|
+
isWebGL2: boolean;
|
|
7128
|
+
interactivePolygons: Record<string, boolean>;
|
|
7129
|
+
polygonHoverColorsById: Record<string, Color>;
|
|
7130
|
+
mapManager: MapManager | undefined;
|
|
7131
|
+
sceneManager: SceneManager | undefined;
|
|
7132
|
+
mapObjects: Map<MappedinMap['id'], MapObject>;
|
|
7133
|
+
referenceMap: MappedinMap;
|
|
7134
|
+
currentInteractionEvent: INTERNAL_EVENT | undefined;
|
|
7135
|
+
resolution: Vector2;
|
|
7136
|
+
cameraParameters: Vector2;
|
|
7137
|
+
controls: typeof Mappedin.CameraControls;
|
|
7138
|
+
cameraPlane: Mesh;
|
|
7139
|
+
canvasWidth: number;
|
|
7140
|
+
canvasHeight: number;
|
|
7141
|
+
cachedPadding: TPadding;
|
|
7142
|
+
currentScale: number;
|
|
7143
|
+
rendererDomElement: HTMLCanvasElement;
|
|
7144
|
+
resolutionScale: number;
|
|
7145
|
+
performanceController?: PerformanceController;
|
|
7146
|
+
outdoorGeometryLayers: string[];
|
|
7147
|
+
billboardManager: BillboardManager;
|
|
7148
|
+
stackedMaps: StackedMapsController;
|
|
7149
|
+
tileManager: TileManager;
|
|
7150
|
+
setMapReason?: E_MAP_CHANGED_REASON;
|
|
7151
|
+
get aspect(): number;
|
|
7152
|
+
/**
|
|
7153
|
+
* Get all maps that are "visible" in the scene.
|
|
7154
|
+
*/
|
|
7155
|
+
get visibleMapsInCurrentScene(): MappedinMap[];
|
|
7156
|
+
get visibleMapObjectsInCurrentScene(): MapObject[];
|
|
7157
|
+
/**
|
|
7158
|
+
* Returns all currently visible layers
|
|
7159
|
+
*/
|
|
7160
|
+
get visibleLayersInCurrentScene(): {};
|
|
7161
|
+
constructor(container: HTMLDivElement, venue: IMappedin, options: TMapViewOptions & {
|
|
7162
|
+
onDataLoaded?: (data: IMappedin) => void;
|
|
7163
|
+
onFirstMapLoaded?: (data: IMappedin) => void;
|
|
7164
|
+
}, MapView: MapView);
|
|
7165
|
+
get currentMap(): string | null;
|
|
7166
|
+
setState(state: STATE): Promise<void>;
|
|
7167
|
+
getPolygon: (polygon: any) => any;
|
|
7168
|
+
showEntireMap: (options: any) => any;
|
|
7169
|
+
resetPanBounds: () => void;
|
|
7170
|
+
focusOn: (options: any) => any;
|
|
7171
|
+
focusOnPolygon: (polygon: any, changeZoom: any, duration: any, curve: any) => any;
|
|
7172
|
+
focusOnPath: (path: any, polygons: any, changeZoom: any, duration: any, curve: any) => any;
|
|
7173
|
+
getCameraFrameForPoints: (pointCloud: any, horizontalFovFactor: any, verticalFovFactor: any, padding: any, ignoreZoom?: boolean, minZoom?: any, maxZoom?: any) => {
|
|
7174
|
+
position: any;
|
|
7175
|
+
zoom: any;
|
|
7176
|
+
};
|
|
7177
|
+
setPadding: (padding?: TPadding) => void;
|
|
7178
|
+
getZoomLevelForPolygon: (polygon: any) => any;
|
|
7179
|
+
getZoomLevelForCurrentMap: () => any;
|
|
7180
|
+
getZoomLevelForObject: (object: any) => any;
|
|
7181
|
+
resetCamera: (forceOrigin?: boolean) => void;
|
|
7182
|
+
/**
|
|
7183
|
+
* Gets a position (to anchor a {{#crossLink "Marker"}}{{/crossLink}} usually) from a latitude and longitude.
|
|
7184
|
+
*
|
|
7185
|
+
* @method getPositionLatLon
|
|
7186
|
+
* @param latitude {Number} Latitude of position
|
|
7187
|
+
* @param longitude {Number} Longitude of position
|
|
7188
|
+
* @returns A position you can use with a Marker either initially or to update later when the user (for example) moves
|
|
7189
|
+
*/
|
|
7190
|
+
getPositionLatLon: (lat: number, lon: number, map?: string | MappedinMap | null) => Vector3;
|
|
7191
|
+
lockNorth: (element: any, offset?: number) => void;
|
|
7192
|
+
unlockNorth: (element: any) => void;
|
|
7193
|
+
convertTo3DMapPosition: (nodeOrCoordinate: MappedinNode | MappedinCoordinate) => any;
|
|
7194
|
+
/**
|
|
7195
|
+
* Converts a 2D x,y screen position into a 3D MappedinCoordinate using projection
|
|
7196
|
+
*/
|
|
7197
|
+
convertScreenCoordinateToMapCoordinate: (x: number, y: number, map: MappedinMap) => MappedinCoordinate;
|
|
7198
|
+
convert3DMapPositionToCoordinate: (coord: any, mapClass?: MappedinMap | null | undefined) => MappedinCoordinate;
|
|
7199
|
+
getPositionPolygon: (polygon: any) => any;
|
|
7200
|
+
getPositionNode: (node: any) => any;
|
|
7201
|
+
hideAllLabels: () => void;
|
|
7202
|
+
setBackgroundColor: (color: any, alpha: any) => void;
|
|
7203
|
+
setSize: (width: any, height: any) => void;
|
|
7204
|
+
getMapScale: () => number;
|
|
7205
|
+
getNorth: () => number;
|
|
7206
|
+
/**
|
|
7207
|
+
* The scene only renders when something has changed. This should be something a 3rd party developer doesn't need to worry about,
|
|
7208
|
+
* but if you are doing something weird, or have your own special tween for something, you will want to call this function.
|
|
7209
|
+
* You can call it as often as you want, it just sets a flag that we need to render again, and renders a few frames if we weren't already doing that.
|
|
7210
|
+
* @method tryRendering
|
|
7211
|
+
* @param [renderMode=RENDER.ALL] {RENDER} Which parts of the scene to re-render
|
|
7212
|
+
*/
|
|
7213
|
+
tryRendering: (renderMode?: any) => void;
|
|
7214
|
+
/**
|
|
7215
|
+
* Display the performance characteristics and debug controls for this
|
|
7216
|
+
* MapView.
|
|
7217
|
+
*
|
|
7218
|
+
* @method showDebugUI
|
|
7219
|
+
*/
|
|
7220
|
+
showDebugUI: () => void;
|
|
7221
|
+
/**
|
|
7222
|
+
* Hide the performance characteristics and debug controls for this
|
|
7223
|
+
* MapView.
|
|
7224
|
+
*
|
|
7225
|
+
* @method hideDebugUI
|
|
7226
|
+
*/
|
|
7227
|
+
hideDebugUI: () => void;
|
|
7228
|
+
determineNewLabelSize: () => void;
|
|
7229
|
+
mapSetInProgress: Promise<any>;
|
|
7230
|
+
mapSetResolved: any;
|
|
7231
|
+
setMap: (map: string | MappedinMap) => Promise<any>;
|
|
7232
|
+
setMapWithReason: (map: string | MappedinMap, reason: E_MAP_CHANGED_REASON) => Promise<any>;
|
|
7233
|
+
getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions) => any;
|
|
7234
|
+
getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions) => any;
|
|
7235
|
+
getNearestNodeByScreenCoordinate(x: number, y: number, mapOrMapId?: MappedinMap | MappedinMap['id']): MappedinNode;
|
|
7236
|
+
/**
|
|
7237
|
+
* Destroys instance and frees resources
|
|
7238
|
+
*
|
|
7239
|
+
* @method destroy
|
|
7240
|
+
*/
|
|
7241
|
+
destroy: () => void;
|
|
7242
|
+
}
|
|
7243
|
+
export default Core;
|
|
7244
|
+
}
|
|
7245
|
+
|
|
7246
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.MVF.types' {
|
|
7247
|
+
import { MapId, ObstructionCollection, EntranceCollection, SpaceCollection, Style } from '@mappedin/mvf';
|
|
7248
|
+
import { FeatureCollection, MultiPolygon, Point, Polygon } from 'geojson';
|
|
7249
|
+
import { TImage, TMap, TNode, TOpeningHours, TPhone, TSiblingGroup, TSocial } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7250
|
+
export type WithIDs<T> = Map<string, T>;
|
|
7251
|
+
type ManifestFile = {
|
|
7252
|
+
type: 'file';
|
|
7253
|
+
name: string;
|
|
7254
|
+
};
|
|
7255
|
+
type ManifestFolder = {
|
|
7256
|
+
type: 'folder';
|
|
7257
|
+
name: string;
|
|
7258
|
+
children: ManifestFile[];
|
|
7259
|
+
};
|
|
7260
|
+
export type MVFStyle = Style & {
|
|
7261
|
+
type: string;
|
|
7262
|
+
width?: number;
|
|
7263
|
+
};
|
|
7264
|
+
export type MVFObstructionFeature = ObstructionCollection['features'][number];
|
|
7265
|
+
export type MVFEntranceFeature = EntranceCollection['features'][number];
|
|
7266
|
+
export type MVFSpaceFeature = SpaceCollection['features'][number];
|
|
7267
|
+
export type MVFv1PolygonLikeProperties = {
|
|
7268
|
+
id: string;
|
|
6878
7269
|
altitude?: number;
|
|
6879
7270
|
color?: string;
|
|
6880
7271
|
externalId?: string | null;
|
|
@@ -7076,7 +7467,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.MVF.
|
|
|
7076
7467
|
export {};
|
|
7077
7468
|
}
|
|
7078
7469
|
|
|
7079
|
-
declare module '@mappedin/react-native-sdk/
|
|
7470
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/pub-sub.typed' {
|
|
7080
7471
|
export class PubSub<EVENT_PAYLOAD, EVENT extends keyof EVENT_PAYLOAD> {
|
|
7081
7472
|
/**
|
|
7082
7473
|
* @private
|
|
@@ -7097,10 +7488,10 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/pub-sub.typed
|
|
|
7097
7488
|
}
|
|
7098
7489
|
}
|
|
7099
7490
|
|
|
7100
|
-
declare module '@mappedin/react-native-sdk/
|
|
7101
|
-
import type { MappedinNode, MappedinPolygon, MappedinLocation } from '@mappedin/react-native-sdk/
|
|
7102
|
-
import { MappedinDirections, MappedinDestinationSet, Mappedin } from '@mappedin/react-native-sdk/
|
|
7103
|
-
import { TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/
|
|
7491
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinNavigatable' {
|
|
7492
|
+
import type { MappedinNode, MappedinPolygon, MappedinLocation } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7493
|
+
import { MappedinDirections, MappedinDestinationSet, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7494
|
+
import { TSimplifyDirectionsOptions } from '@mappedin/react-native-sdk/sdks/packages/navigator';
|
|
7104
7495
|
export type TDirectionToOptions = {
|
|
7105
7496
|
/**
|
|
7106
7497
|
* If true directions will only take accessible routes
|
|
@@ -7132,16 +7523,16 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavig
|
|
|
7132
7523
|
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
7133
7524
|
/**
|
|
7134
7525
|
*
|
|
7135
|
-
* Calculate distance between 2 nodes, polygons or locations
|
|
7526
|
+
* Calculate walking distance in meters between 2 nodes, polygons or locations
|
|
7136
7527
|
*/
|
|
7137
7528
|
distanceTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): number;
|
|
7138
7529
|
}
|
|
7139
7530
|
}
|
|
7140
7531
|
|
|
7141
|
-
declare module '@mappedin/react-native-sdk/
|
|
7142
|
-
import type { MappedinPolygon, MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/
|
|
7143
|
-
import type { TOpeningHours } from '@mappedin/react-native-sdk/
|
|
7144
|
-
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/react-native-sdk/
|
|
7532
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinNode' {
|
|
7533
|
+
import type { MappedinPolygon, MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7534
|
+
import type { TOpeningHours } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7535
|
+
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7145
7536
|
/**
|
|
7146
7537
|
* A {@link MappedinNode} represents a position, anchored to a specific {@link MappedinMap}.
|
|
7147
7538
|
*
|
|
@@ -7215,16 +7606,16 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNode'
|
|
|
7215
7606
|
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
7216
7607
|
/**
|
|
7217
7608
|
*
|
|
7218
|
-
* Calculate distance between 2 nodes, polygons or locations
|
|
7609
|
+
* Calculate walking distance in meters between 2 nodes, polygons or locations
|
|
7219
7610
|
*/
|
|
7220
7611
|
distanceTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): number;
|
|
7221
7612
|
toJSON(): any;
|
|
7222
7613
|
}
|
|
7223
7614
|
}
|
|
7224
7615
|
|
|
7225
|
-
declare module '@mappedin/react-native-sdk/
|
|
7226
|
-
import type { MappedinNode, MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/
|
|
7227
|
-
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/react-native-sdk/
|
|
7616
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinPolygon' {
|
|
7617
|
+
import type { MappedinNode, MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7618
|
+
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7228
7619
|
/**
|
|
7229
7620
|
* The {@link MappedinPolygon} class represents the 3D shape of a {@link MappedinLocation} on a {{@link MappedinMap}. Polygons have access to Locations they belong to, and any entrances to the Polygon.
|
|
7230
7621
|
*
|
|
@@ -7360,22 +7751,22 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinPolyg
|
|
|
7360
7751
|
directionsTo(destination: MappedinDestinationSet, options?: TDirectionToOptions): MappedinDirections[];
|
|
7361
7752
|
/**
|
|
7362
7753
|
*
|
|
7363
|
-
* Calculate distance between 2 nodes, polygons or locations
|
|
7754
|
+
* Calculate walking distance in meters between 2 nodes, polygons or locations
|
|
7364
7755
|
*/
|
|
7365
7756
|
distanceTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): number;
|
|
7366
7757
|
toJSON(): any;
|
|
7367
7758
|
}
|
|
7368
7759
|
}
|
|
7369
7760
|
|
|
7370
|
-
declare module '@mappedin/react-native-sdk/
|
|
7761
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCategory' {
|
|
7371
7762
|
/**
|
|
7372
7763
|
* Collection of all Categories within the Venue.
|
|
7373
7764
|
*
|
|
7374
7765
|
* @property categories
|
|
7375
7766
|
* @type [MappedinCategory]
|
|
7376
7767
|
*/
|
|
7377
|
-
import type { MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/
|
|
7378
|
-
import type { TPicture } from '@mappedin/react-native-sdk/
|
|
7768
|
+
import type { MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7769
|
+
import type { TPicture } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7379
7770
|
/**
|
|
7380
7771
|
* A {@link MappedinCategory} is a collection of similar Locations.
|
|
7381
7772
|
*
|
|
@@ -7426,16 +7817,16 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinCateg
|
|
|
7426
7817
|
}
|
|
7427
7818
|
}
|
|
7428
7819
|
|
|
7429
|
-
declare module '@mappedin/react-native-sdk/
|
|
7430
|
-
import type { MappedinNode, MappedinPolygon, MappedinLocation } from '@mappedin/react-native-sdk/
|
|
7820
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinDestinationSet' {
|
|
7821
|
+
import type { MappedinNode, MappedinPolygon, MappedinLocation } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7431
7822
|
export class MappedinDestinationSet {
|
|
7432
7823
|
destinations: (MappedinLocation | MappedinNode | MappedinPolygon)[];
|
|
7433
7824
|
constructor(destinations: (MappedinLocation | MappedinNode | MappedinPolygon)[]);
|
|
7434
7825
|
}
|
|
7435
7826
|
}
|
|
7436
7827
|
|
|
7437
|
-
declare module '@mappedin/react-native-sdk/
|
|
7438
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
7828
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinVortex' {
|
|
7829
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7439
7830
|
/**
|
|
7440
7831
|
* A {@link MappedinVortex} is a special entity that represents a link between two or more {@link MappedinMap}s at a given {@link MappedinVenue}. It is typically something like an elevator or stairs. These are also known as Connections in some parts of the system.
|
|
7441
7832
|
*
|
|
@@ -7464,9 +7855,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinVorte
|
|
|
7464
7855
|
}
|
|
7465
7856
|
}
|
|
7466
7857
|
|
|
7467
|
-
declare module '@mappedin/react-native-sdk/
|
|
7468
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
7469
|
-
import type { TLogo, TOpeningHours } from '@mappedin/react-native-sdk/
|
|
7858
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinVenue' {
|
|
7859
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7860
|
+
import type { TLogo, TOpeningHours } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7470
7861
|
/**
|
|
7471
7862
|
* A {@link MappedinVenue} is a specific place (like a mall) with one or more Maps (typically representing different floors) and Locations (stores, washrooms, elevators, etc).
|
|
7472
7863
|
*
|
|
@@ -7525,8 +7916,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinVenue
|
|
|
7525
7916
|
}
|
|
7526
7917
|
}
|
|
7527
7918
|
|
|
7528
|
-
declare module '@mappedin/react-native-sdk/
|
|
7529
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
7919
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinTheme' {
|
|
7920
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7530
7921
|
export class MappedinTheme {
|
|
7531
7922
|
#private;
|
|
7532
7923
|
/**
|
|
@@ -7542,9 +7933,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinTheme
|
|
|
7542
7933
|
}
|
|
7543
7934
|
}
|
|
7544
7935
|
|
|
7545
|
-
declare module '@mappedin/react-native-sdk/
|
|
7546
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
7547
|
-
import type { TPolygonRanking } from '@mappedin/react-native-sdk/
|
|
7936
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinRankings' {
|
|
7937
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7938
|
+
import type { TPolygonRanking } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7548
7939
|
/**
|
|
7549
7940
|
* A {@link MappedinRankings} object is something that contains all the rankings for all the {@link MappedinPolygon}s in the venue. It has a `polygons` array in which each item is linked to zero or more {@link MappedinPolygon}s.
|
|
7550
7941
|
*
|
|
@@ -7576,9 +7967,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinRanki
|
|
|
7576
7967
|
}
|
|
7577
7968
|
}
|
|
7578
7969
|
|
|
7579
|
-
declare module '@mappedin/react-native-sdk/
|
|
7580
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
7581
|
-
import type { TLocation } from '@mappedin/react-native-sdk/
|
|
7970
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocationRankings' {
|
|
7971
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7972
|
+
import type { TLocation } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7582
7973
|
/** One of these contains all the venue's rankings. * */
|
|
7583
7974
|
export class MappedinLocationRankings {
|
|
7584
7975
|
#private;
|
|
@@ -7590,9 +7981,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
7590
7981
|
}
|
|
7591
7982
|
}
|
|
7592
7983
|
|
|
7593
|
-
declare module '@mappedin/react-native-sdk/
|
|
7594
|
-
import type { TImage } from '@mappedin/react-native-sdk/
|
|
7595
|
-
import type { MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/
|
|
7984
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinEvent' {
|
|
7985
|
+
import type { TImage } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
7986
|
+
import type { MappedinLocation, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7596
7987
|
/**
|
|
7597
7988
|
* An event such as a promotion attached to a location in a venue for a period of time. Events can be created in the Mappedin CMS.
|
|
7598
7989
|
*
|
|
@@ -7649,8 +8040,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinEvent
|
|
|
7649
8040
|
}
|
|
7650
8041
|
}
|
|
7651
8042
|
|
|
7652
|
-
declare module '@mappedin/react-native-sdk/
|
|
7653
|
-
import type { Mappedin } from '@mappedin/react-native-sdk/
|
|
8043
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocationState' {
|
|
8044
|
+
import type { Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7654
8045
|
/**
|
|
7655
8046
|
* A location state, that can belong to any number of {@link MappedinLocation}s.
|
|
7656
8047
|
* @class MappedinLocationState
|
|
@@ -7676,10 +8067,10 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
7676
8067
|
}
|
|
7677
8068
|
}
|
|
7678
8069
|
|
|
7679
|
-
declare module '@mappedin/react-native-sdk/
|
|
7680
|
-
import type { MappedinMapGroup, Mappedin } from '@mappedin/react-native-sdk/
|
|
7681
|
-
import type { TGeoReference } from '@mappedin/react-native-sdk/
|
|
7682
|
-
import { MappedinPolygon, MappedinLocation, MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
8070
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMap' {
|
|
8071
|
+
import type { MappedinMapGroup, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
8072
|
+
import type { TGeoReference } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.API.types';
|
|
8073
|
+
import { MappedinPolygon, MappedinLocation, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7683
8074
|
/**
|
|
7684
8075
|
* A {@link MappedinMap} belonging to a specific {@link MappedinVenue}. Typically represents a certain floor. Give this to a {@link MapView} to display to the user.
|
|
7685
8076
|
*
|
|
@@ -7759,12 +8150,13 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinMap'
|
|
|
7759
8150
|
getNorth(): any;
|
|
7760
8151
|
static hydrate(maps: any, mappedin: Mappedin): MappedinMap[];
|
|
7761
8152
|
static fetch(mappedin: Mappedin): Promise<MappedinMap[]>;
|
|
8153
|
+
get center(): any;
|
|
7762
8154
|
toJSON(): any;
|
|
7763
8155
|
}
|
|
7764
8156
|
}
|
|
7765
8157
|
|
|
7766
|
-
declare module '@mappedin/react-native-sdk/
|
|
7767
|
-
import type { MappedinMap, Mappedin } from '@mappedin/react-native-sdk/
|
|
8158
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMapGroup' {
|
|
8159
|
+
import type { MappedinMap, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7768
8160
|
/**
|
|
7769
8161
|
* A {@link MappedinMapGroup} is a collection of maps, usually representing the different floors of a single building. All Maps will be in a MapGroup, but if your Venue is only a single building (like a mall) you can likely ignore MapGroups entirely.
|
|
7770
8162
|
*
|
|
@@ -7787,10 +8179,10 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinMapGr
|
|
|
7787
8179
|
}
|
|
7788
8180
|
}
|
|
7789
8181
|
|
|
7790
|
-
declare module '@mappedin/react-native-sdk/
|
|
7791
|
-
import type { TGetVenueOptions, TGetVenueOptionsInternal } from '@mappedin/react-native-sdk/
|
|
7792
|
-
import type { MappedinMap } from '@mappedin/react-native-sdk/
|
|
7793
|
-
import { Mappedin, MappedinNavigatable, MappedinNode, MappedinPolygon, MappedinLocation, MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
8182
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/utils' {
|
|
8183
|
+
import type { TGetVenueOptions, TGetVenueOptionsInternal } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.types';
|
|
8184
|
+
import type { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
8185
|
+
import { Mappedin, MappedinNavigatable, MappedinNode, MappedinPolygon, MappedinLocation, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7794
8186
|
export function isGatewayKey(key: string): boolean;
|
|
7795
8187
|
export function stringifyQuery(query: any, gateway?: boolean): string;
|
|
7796
8188
|
export function buildUrl(options: TGetVenueOptionsInternal & TGetVenueOptions, pathname: string, query: any, supplementary?: boolean): string;
|
|
@@ -7862,8 +8254,8 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/utils' {
|
|
|
7862
8254
|
export const getPrimaryLocationForPolygon: (polygon: MappedinPolygon | string | undefined, venue: Mappedin) => MappedinLocation | null;
|
|
7863
8255
|
}
|
|
7864
8256
|
|
|
7865
|
-
declare module '@mappedin/react-native-sdk/
|
|
7866
|
-
import { MappedinNode, MappedinPolygon, MappedinLocation, MappedinCategory, MappedinVortex, MappedinRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinCoordinate, MappedinMapGroup, Mappedin } from '@mappedin/react-native-sdk/
|
|
8257
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.cache' {
|
|
8258
|
+
import { MappedinNode, MappedinPolygon, MappedinLocation, MappedinCategory, MappedinVortex, MappedinRankings, MappedinEvent, MappedinLocationState, MappedinMap, MappedinCoordinate, MappedinMapGroup, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/get-venue/internal';
|
|
7867
8259
|
class MappedinCache {
|
|
7868
8260
|
#private;
|
|
7869
8261
|
constructor(mappedin: Mappedin);
|
|
@@ -7917,9 +8309,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.cach
|
|
|
7917
8309
|
export default MappedinCache;
|
|
7918
8310
|
}
|
|
7919
8311
|
|
|
7920
|
-
declare module '@mappedin/react-native-sdk/
|
|
7921
|
-
import INode from '@mappedin/react-native-sdk/
|
|
7922
|
-
import IVortex from '@mappedin/react-native-sdk/
|
|
8312
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/Edge' {
|
|
8313
|
+
import INode from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode';
|
|
8314
|
+
import IVortex from '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IVortex';
|
|
7923
8315
|
class Edge {
|
|
7924
8316
|
origin: INode;
|
|
7925
8317
|
destination: INode;
|
|
@@ -7940,7 +8332,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Edge' {
|
|
|
7940
8332
|
export default Edge;
|
|
7941
8333
|
}
|
|
7942
8334
|
|
|
7943
|
-
declare module '@mappedin/react-native-sdk/
|
|
8335
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IMap' {
|
|
7944
8336
|
interface IGeoReference {
|
|
7945
8337
|
target: {
|
|
7946
8338
|
x: number;
|
|
@@ -7964,7 +8356,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IM
|
|
|
7964
8356
|
export default IMap;
|
|
7965
8357
|
}
|
|
7966
8358
|
|
|
7967
|
-
declare module '@mappedin/react-native-sdk/
|
|
8359
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/INode' {
|
|
7968
8360
|
interface INode {
|
|
7969
8361
|
id: string;
|
|
7970
8362
|
x: number;
|
|
@@ -7976,7 +8368,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IN
|
|
|
7976
8368
|
export default INode;
|
|
7977
8369
|
}
|
|
7978
8370
|
|
|
7979
|
-
declare module '@mappedin/react-native-sdk/
|
|
8371
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IVortex' {
|
|
7980
8372
|
interface IVortex {
|
|
7981
8373
|
id: string;
|
|
7982
8374
|
name: string;
|
|
@@ -7988,7 +8380,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IV
|
|
|
7988
8380
|
export default IVortex;
|
|
7989
8381
|
}
|
|
7990
8382
|
|
|
7991
|
-
declare module '@mappedin/react-native-sdk/
|
|
8383
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/Navigator.utils' {
|
|
7992
8384
|
export type TCoordinate = {
|
|
7993
8385
|
x: number;
|
|
7994
8386
|
y: number;
|
|
@@ -8015,7 +8407,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Navigator.uti
|
|
|
8015
8407
|
export function hasLineOfSight(origin: TCoordinate, destination: TCoordinate, edges?: TCoordinate[][], bufferRadius?: number): boolean;
|
|
8016
8408
|
}
|
|
8017
8409
|
|
|
8018
|
-
declare module '@mappedin/react-native-sdk/
|
|
8410
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/ILocation' {
|
|
8019
8411
|
interface ILocation {
|
|
8020
8412
|
id: string;
|
|
8021
8413
|
name: string;
|
|
@@ -8024,7 +8416,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IL
|
|
|
8024
8416
|
export default ILocation;
|
|
8025
8417
|
}
|
|
8026
8418
|
|
|
8027
|
-
declare module '@mappedin/react-native-sdk/
|
|
8419
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IPolygon' {
|
|
8028
8420
|
interface IPolygon {
|
|
8029
8421
|
id: string;
|
|
8030
8422
|
map: string;
|
|
@@ -8040,11 +8432,11 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/interfaces/IP
|
|
|
8040
8432
|
export default IPolygon;
|
|
8041
8433
|
}
|
|
8042
8434
|
|
|
8043
|
-
declare module '@mappedin/react-native-sdk/
|
|
8044
|
-
import { Element } from '@mappedin/react-native-sdk/
|
|
8045
|
-
import DefaultAssetManager from '@mappedin/react-native-sdk/
|
|
8046
|
-
import { MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
8047
|
-
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/
|
|
8435
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/json-scene-loader' {
|
|
8436
|
+
import { Element } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
8437
|
+
import DefaultAssetManager from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager';
|
|
8438
|
+
import { MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
8439
|
+
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
8048
8440
|
class JSONSceneLoader {
|
|
8049
8441
|
defaultExtrudeSettings: {
|
|
8050
8442
|
amount: number;
|
|
@@ -8074,7 +8466,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/json-
|
|
|
8074
8466
|
export default _default;
|
|
8075
8467
|
}
|
|
8076
8468
|
|
|
8077
|
-
declare module '@mappedin/react-native-sdk/
|
|
8469
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.RenderTasks' {
|
|
8078
8470
|
/**
|
|
8079
8471
|
* Tasks that can be submitted to the renderer. The `STATIC_AND_ANIMATED` task
|
|
8080
8472
|
* is equivalent to a full re-render.
|
|
@@ -8089,7 +8481,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8089
8481
|
export default RENDER;
|
|
8090
8482
|
}
|
|
8091
8483
|
|
|
8092
|
-
declare module '@mappedin/react-native-sdk/
|
|
8484
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.TaskScheduler' {
|
|
8093
8485
|
/**
|
|
8094
8486
|
* A function that can be submitted to the Task Scheduler to run each frame for
|
|
8095
8487
|
* some provided number of frames. A single update can be repeatedly submitted;
|
|
@@ -8357,6 +8749,11 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
8357
8749
|
*/
|
|
8358
8750
|
hasTimeRemaining(): boolean;
|
|
8359
8751
|
}
|
|
8752
|
+
export type TaskSchedulerOptions = {
|
|
8753
|
+
timer?: RealTimeTimer;
|
|
8754
|
+
performance?: boolean;
|
|
8755
|
+
onUpdateEnd?: () => void;
|
|
8756
|
+
};
|
|
8360
8757
|
/**
|
|
8361
8758
|
* A class that handles scheduling tasks to be performed within the time
|
|
8362
8759
|
* constraints of frame updates, triggered using `requestAnimationFrame`.
|
|
@@ -8385,11 +8782,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
8385
8782
|
* If true, this task scheduler will annotate tasks and frame updates with
|
|
8386
8783
|
* performance information.
|
|
8387
8784
|
*/
|
|
8388
|
-
constructor(options?:
|
|
8389
|
-
timer?: RealTimeTimer;
|
|
8390
|
-
performance?: boolean;
|
|
8391
|
-
});
|
|
8785
|
+
constructor(options?: TaskSchedulerOptions);
|
|
8392
8786
|
_raf?: (callback: FrameRequestCallback) => number;
|
|
8787
|
+
options?: TaskSchedulerOptions;
|
|
8393
8788
|
_timer: RealTimeTimer;
|
|
8394
8789
|
_performance: boolean;
|
|
8395
8790
|
_scheduledUpdatesByOrdering: Multimap;
|
|
@@ -8616,10 +9011,10 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
8616
9011
|
export {};
|
|
8617
9012
|
}
|
|
8618
9013
|
|
|
8619
|
-
declare module '@mappedin/react-native-sdk/
|
|
8620
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
8621
|
-
import type { ICore, TCameraAnimationOptions, TFocusOnCameraOptions, TCameraTargets } from '@mappedin/react-native-sdk/
|
|
8622
|
-
import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/
|
|
9014
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.SceneManager' {
|
|
9015
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9016
|
+
import type { ICore, TCameraAnimationOptions, TFocusOnCameraOptions, TCameraTargets } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9017
|
+
import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
8623
9018
|
export type TSceneTransitionOptions = {
|
|
8624
9019
|
/**
|
|
8625
9020
|
* Map to set as active during the transition. This will decide where the camera will be positioned, as well as which
|
|
@@ -8659,10 +9054,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
8659
9054
|
export default SceneManager;
|
|
8660
9055
|
}
|
|
8661
9056
|
|
|
8662
|
-
declare module '@mappedin/react-native-sdk/
|
|
8663
|
-
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/
|
|
8664
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
8665
|
-
import { MapViewScene, DynamicFocusScene } from '@mappedin/react-native-sdk/
|
|
9057
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.DynamicFocusSceneManager' {
|
|
9058
|
+
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9059
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9060
|
+
import { MapViewScene, DynamicFocusScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
8666
9061
|
class DynamicFocusSceneManager {
|
|
8667
9062
|
dynamicFocusScene: DynamicFocusScene;
|
|
8668
9063
|
core: ICore;
|
|
@@ -8684,11 +9079,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
8684
9079
|
export default DynamicFocusSceneManager;
|
|
8685
9080
|
}
|
|
8686
9081
|
|
|
8687
|
-
declare module '@mappedin/react-native-sdk/
|
|
9082
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject' {
|
|
8688
9083
|
import { Group, Box3, Mesh, MeshLambertMaterial, Object3D, Vector3 } from 'three';
|
|
8689
|
-
import { FrameTaskGroup } from '@mappedin/react-native-sdk/
|
|
8690
|
-
import { Element, FlippableImage, MappedinMap, TaskScheduler, FlatLabel, SmartTooltip, ICore, InternalFloatingLabel, TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/
|
|
8691
|
-
import { PubSub } from '@mappedin/react-native-sdk/
|
|
9084
|
+
import { FrameTaskGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.TaskScheduler';
|
|
9085
|
+
import { Element, FlippableImage, MappedinMap, TaskScheduler, FlatLabel, SmartTooltip, ICore, InternalFloatingLabel, TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9086
|
+
import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
|
|
8692
9087
|
/**
|
|
8693
9088
|
* Some preset priorities for tasks.
|
|
8694
9089
|
*/
|
|
@@ -8971,9 +9366,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8971
9366
|
export default MapObject;
|
|
8972
9367
|
}
|
|
8973
9368
|
|
|
8974
|
-
declare module '@mappedin/react-native-sdk/
|
|
9369
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager' {
|
|
8975
9370
|
import { Texture } from 'three';
|
|
8976
|
-
import type { MappedinMap } from '@mappedin/react-native-sdk/
|
|
9371
|
+
import type { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
8977
9372
|
/**
|
|
8978
9373
|
* @internal
|
|
8979
9374
|
*/
|
|
@@ -8984,10 +9379,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8984
9379
|
}
|
|
8985
9380
|
}
|
|
8986
9381
|
|
|
8987
|
-
declare module '@mappedin/react-native-sdk/
|
|
9382
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/bundle-asset-manager' {
|
|
8988
9383
|
import type { Texture } from 'three';
|
|
8989
|
-
import { Mappedin, MappedinMap } from '@mappedin/react-native-sdk/
|
|
8990
|
-
import { AssetManager } from '@mappedin/react-native-sdk/
|
|
9384
|
+
import { Mappedin, MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9385
|
+
import { AssetManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
8991
9386
|
/**
|
|
8992
9387
|
* @internal
|
|
8993
9388
|
*/
|
|
@@ -8999,10 +9394,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/bundle-asset-m
|
|
|
8999
9394
|
}
|
|
9000
9395
|
}
|
|
9001
9396
|
|
|
9002
|
-
declare module '@mappedin/react-native-sdk/
|
|
9003
|
-
import SmartCollisionEngine from '@mappedin/react-native-sdk/
|
|
9004
|
-
import { Rectangle } from '@mappedin/react-native-sdk/
|
|
9005
|
-
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/
|
|
9397
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider' {
|
|
9398
|
+
import SmartCollisionEngine from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollisionEngine';
|
|
9399
|
+
import { Rectangle } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/quad-tree';
|
|
9400
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9006
9401
|
export type TRange = [number, number, number, number];
|
|
9007
9402
|
type TCustomCollider<T> = ICollider & T;
|
|
9008
9403
|
export type TColliderStrategyProps = {
|
|
@@ -9105,8 +9500,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9105
9500
|
export default BaseCollider;
|
|
9106
9501
|
}
|
|
9107
9502
|
|
|
9108
|
-
declare module '@mappedin/react-native-sdk/
|
|
9109
|
-
import BaseCollider, { ICollider } from '@mappedin/react-native-sdk/
|
|
9503
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.HTMLCollider' {
|
|
9504
|
+
import BaseCollider, { ICollider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
9110
9505
|
export type TRange = [number, number, number, number];
|
|
9111
9506
|
export type TDimensions = {
|
|
9112
9507
|
width: number;
|
|
@@ -9138,10 +9533,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9138
9533
|
export default HTMLCollider;
|
|
9139
9534
|
}
|
|
9140
9535
|
|
|
9141
|
-
declare module '@mappedin/react-native-sdk/
|
|
9142
|
-
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/
|
|
9143
|
-
import type { ICore, TCreateMarkerOptions, TAnimationOptions } from '@mappedin/react-native-sdk/
|
|
9144
|
-
import { InternalMarker } from '@mappedin/react-native-sdk/
|
|
9536
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController' {
|
|
9537
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9538
|
+
import type { ICore, TCreateMarkerOptions, TAnimationOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9539
|
+
import { InternalMarker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9145
9540
|
import TWEEN from '@tweenjs/tween.js';
|
|
9146
9541
|
/**
|
|
9147
9542
|
* A marker containing some HTML content.
|
|
@@ -9228,10 +9623,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9228
9623
|
export default MarkersController;
|
|
9229
9624
|
}
|
|
9230
9625
|
|
|
9231
|
-
declare module '@mappedin/react-native-sdk/
|
|
9626
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Marker' {
|
|
9232
9627
|
import './Mappedin.Marker.scss';
|
|
9233
|
-
import { COLLISION_RANKING_TIERS, HTMLCollider, MARKER_ANCHOR } from '@mappedin/react-native-sdk/
|
|
9234
|
-
import type { TColliderStrategy, IHTMLCollider, TColliderPosition } from '@mappedin/react-native-sdk/
|
|
9628
|
+
import { COLLISION_RANKING_TIERS, HTMLCollider, MARKER_ANCHOR } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9629
|
+
import type { TColliderStrategy, IHTMLCollider, TColliderPosition } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9235
9630
|
/**
|
|
9236
9631
|
* @hidden
|
|
9237
9632
|
* @internal
|
|
@@ -9270,10 +9665,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9270
9665
|
export default InternalMarker;
|
|
9271
9666
|
}
|
|
9272
9667
|
|
|
9273
|
-
declare module '@mappedin/react-native-sdk/
|
|
9274
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
9275
|
-
import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/
|
|
9276
|
-
import { MapObject } from '@mappedin/react-native-sdk/
|
|
9668
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.Scene' {
|
|
9669
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9670
|
+
import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9671
|
+
import { MapObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9277
9672
|
class MapViewScene {
|
|
9278
9673
|
#private;
|
|
9279
9674
|
maps: MappedinMap[];
|
|
@@ -9313,11 +9708,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9313
9708
|
export default MapViewScene;
|
|
9314
9709
|
}
|
|
9315
9710
|
|
|
9316
|
-
declare module '@mappedin/react-native-sdk/
|
|
9711
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.StackScene' {
|
|
9317
9712
|
import { Box3, BoxHelper, Mesh } from 'three';
|
|
9318
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
9319
|
-
import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/
|
|
9320
|
-
import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/
|
|
9713
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9714
|
+
import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9715
|
+
import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9321
9716
|
export const DEFAULT_VERTICAL_DISTANCE_BETWEEN_MAPS = 50;
|
|
9322
9717
|
class MapViewStackScene extends MapViewScene {
|
|
9323
9718
|
#private;
|
|
@@ -9354,11 +9749,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9354
9749
|
export default MapViewStackScene;
|
|
9355
9750
|
}
|
|
9356
9751
|
|
|
9357
|
-
declare module '@mappedin/react-native-sdk/
|
|
9752
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Element' {
|
|
9358
9753
|
import { MeshLambertMaterial, Mesh, ExtrudeGeometry, Group } from 'three';
|
|
9359
|
-
import { PubSub } from '@mappedin/react-native-sdk/
|
|
9360
|
-
import { AssetManager, MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
9361
|
-
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/
|
|
9754
|
+
import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
|
|
9755
|
+
import { AssetManager, MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9756
|
+
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
9362
9757
|
class Element extends PubSub {
|
|
9363
9758
|
polygon: MappedinPolygon;
|
|
9364
9759
|
mapClass: MappedinMap;
|
|
@@ -9430,11 +9825,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9430
9825
|
export default Element;
|
|
9431
9826
|
}
|
|
9432
9827
|
|
|
9433
|
-
declare module '@mappedin/react-native-sdk/
|
|
9828
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/building' {
|
|
9434
9829
|
import { Object3D } from 'three';
|
|
9435
|
-
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/
|
|
9436
|
-
import type { ICore, MapObject } from '@mappedin/react-native-sdk/
|
|
9437
|
-
import {
|
|
9830
|
+
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9831
|
+
import type { ICore, MapObject, Mappedin } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9832
|
+
import { determineMapPositionAndRotation } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/dynamic-focus-utils';
|
|
9833
|
+
import { LayerGroup } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject';
|
|
9438
9834
|
class Building {
|
|
9439
9835
|
layerGroup: LayerGroup;
|
|
9440
9836
|
mapGroup: MappedinMapGroup;
|
|
@@ -9443,9 +9839,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9443
9839
|
visibleMap?: MappedinMap;
|
|
9444
9840
|
readonly startingMap: MappedinMap;
|
|
9445
9841
|
baseMap: MappedinMap;
|
|
9842
|
+
venue: Mappedin;
|
|
9446
9843
|
object: Object3D;
|
|
9447
9844
|
mapObjects: MapObject[];
|
|
9448
|
-
constructor(core: ICore, mapGroup: MappedinMapGroup, layerGroup: LayerGroup, startingMap: MappedinMap, baseMap: MappedinMap);
|
|
9845
|
+
constructor(core: ICore, mapGroup: MappedinMapGroup, layerGroup: LayerGroup, startingMap: MappedinMap, baseMap: MappedinMap, venue: Mappedin);
|
|
9449
9846
|
loading: boolean;
|
|
9450
9847
|
activeMapOpacity: number;
|
|
9451
9848
|
buildingOpacity: number;
|
|
@@ -9464,6 +9861,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9464
9861
|
get defaultMapObject(): MapObject;
|
|
9465
9862
|
get baseMapObject(): MapObject;
|
|
9466
9863
|
state: string;
|
|
9864
|
+
determineMapPositionAndRotation: typeof determineMapPositionAndRotation;
|
|
9467
9865
|
/**
|
|
9468
9866
|
* The building is in view, so we should have the correct map loaded and ready to be displayed
|
|
9469
9867
|
*/
|
|
@@ -9477,12 +9875,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9477
9875
|
export default Building;
|
|
9478
9876
|
}
|
|
9479
9877
|
|
|
9480
|
-
declare module '@mappedin/react-native-sdk/
|
|
9878
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/dynamic-focus-scene' {
|
|
9481
9879
|
import { Object3D, Box3, Raycaster } from 'three';
|
|
9482
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
9483
|
-
import type { ICore, MapObject } from '@mappedin/react-native-sdk/
|
|
9484
|
-
import { Building } from '@mappedin/react-native-sdk/
|
|
9485
|
-
import { LayerGroup } from '@mappedin/react-native-sdk/
|
|
9880
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9881
|
+
import type { ICore, MapObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9882
|
+
import { Building } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9883
|
+
import { LayerGroup } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject';
|
|
9486
9884
|
class DynamicFocusScene {
|
|
9487
9885
|
buildings: Building[];
|
|
9488
9886
|
object: Object3D;
|
|
@@ -9523,9 +9921,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/scene-
|
|
|
9523
9921
|
export default DynamicFocusScene;
|
|
9524
9922
|
}
|
|
9525
9923
|
|
|
9526
|
-
declare module '@mappedin/react-native-sdk/
|
|
9527
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
9528
|
-
import { ICore } from '@mappedin/react-native-sdk/
|
|
9924
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonColorsController' {
|
|
9925
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9926
|
+
import { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
9529
9927
|
type SetPolygonColorParam = [MappedinPolygon | string, string, {
|
|
9530
9928
|
highlighted?: boolean;
|
|
9531
9929
|
visible?: boolean;
|
|
@@ -9548,8 +9946,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9548
9946
|
export default PolygonColorsController;
|
|
9549
9947
|
}
|
|
9550
9948
|
|
|
9551
|
-
declare module '@mappedin/react-native-sdk/
|
|
9552
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
9949
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonInteractionController' {
|
|
9950
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9553
9951
|
class PolygonInteractionController {
|
|
9554
9952
|
#private;
|
|
9555
9953
|
constructor(core: ICore);
|
|
@@ -9561,9 +9959,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9561
9959
|
export default PolygonInteractionController;
|
|
9562
9960
|
}
|
|
9563
9961
|
|
|
9564
|
-
declare module '@mappedin/react-native-sdk/
|
|
9565
|
-
import { ICore, TCreateTooltipCommonOptions, TCreateTooltipOptions, SmartTooltip } from '@mappedin/react-native-sdk/
|
|
9566
|
-
import { MappedinNode, MappedinCoordinate } from '@mappedin/react-native-sdk/
|
|
9962
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/TooltipsController' {
|
|
9963
|
+
import { ICore, TCreateTooltipCommonOptions, TCreateTooltipOptions, SmartTooltip } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9964
|
+
import { MappedinNode, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9567
9965
|
class TooltipsController {
|
|
9568
9966
|
#private;
|
|
9569
9967
|
constructor(core: ICore);
|
|
@@ -9588,8 +9986,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9588
9986
|
export default TooltipsController;
|
|
9589
9987
|
}
|
|
9590
9988
|
|
|
9591
|
-
declare module '@mappedin/react-native-sdk/
|
|
9592
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
9989
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonStatesController' {
|
|
9990
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9593
9991
|
class PolygonStatesController {
|
|
9594
9992
|
#private;
|
|
9595
9993
|
constructor(core: ICore);
|
|
@@ -9600,9 +9998,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9600
9998
|
export default PolygonStatesController;
|
|
9601
9999
|
}
|
|
9602
10000
|
|
|
9603
|
-
declare module '@mappedin/react-native-sdk/
|
|
9604
|
-
import { MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
9605
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
10001
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PolygonImagesController' {
|
|
10002
|
+
import { MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
10003
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9606
10004
|
class PolygonImagesController {
|
|
9607
10005
|
#private;
|
|
9608
10006
|
constructor(core: ICore);
|
|
@@ -9613,9 +10011,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9613
10011
|
export default PolygonImagesController;
|
|
9614
10012
|
}
|
|
9615
10013
|
|
|
9616
|
-
declare module '@mappedin/react-native-sdk/
|
|
9617
|
-
import { ThreeJSMarkerHandle } from '@mappedin/react-native-sdk/
|
|
9618
|
-
import type { ICore, TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/
|
|
10014
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/ThreeDMarkersController' {
|
|
10015
|
+
import { ThreeJSMarkerHandle } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10016
|
+
import type { ICore, TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9619
10017
|
class ThreeDMarkersController {
|
|
9620
10018
|
#private;
|
|
9621
10019
|
constructor(core: ICore);
|
|
@@ -9626,10 +10024,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9626
10024
|
export default ThreeDMarkersController;
|
|
9627
10025
|
}
|
|
9628
10026
|
|
|
9629
|
-
declare module '@mappedin/react-native-sdk/
|
|
10027
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/EventSystem' {
|
|
9630
10028
|
import { Object3D, Color } from 'three';
|
|
9631
|
-
import type { ICore, MappedinPolygon, Collider } from '@mappedin/react-native-sdk/
|
|
9632
|
-
import { BlueDotManager, Path } from '@mappedin/react-native-sdk/
|
|
10029
|
+
import type { ICore, MappedinPolygon, Collider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10030
|
+
import { BlueDotManager, Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9633
10031
|
class EventSystem {
|
|
9634
10032
|
core: ICore;
|
|
9635
10033
|
blueDotManager?: BlueDotManager;
|
|
@@ -9702,7 +10100,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9702
10100
|
export default EventSystem;
|
|
9703
10101
|
}
|
|
9704
10102
|
|
|
9705
|
-
declare module '@mappedin/react-native-sdk/
|
|
10103
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BinaryAssetManager' {
|
|
9706
10104
|
import { Texture } from 'three';
|
|
9707
10105
|
/**
|
|
9708
10106
|
* This asset manager is used when loading a venue from MVF.
|
|
@@ -9721,13 +10119,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9721
10119
|
}
|
|
9722
10120
|
}
|
|
9723
10121
|
|
|
9724
|
-
declare module '@mappedin/react-native-sdk/
|
|
10122
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollisionEngine' {
|
|
9725
10123
|
import './Mappedin.SmartCollisionEngine.scss';
|
|
9726
|
-
import { TRange, TColliderPosition } from '@mappedin/react-native-sdk/
|
|
9727
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
9728
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
9729
|
-
import { Rectangle, QuadTree } from '@mappedin/react-native-sdk/
|
|
9730
|
-
import { InternalFloatingLabel, InternalMarker, SmartTooltip } from '@mappedin/react-native-sdk/
|
|
10124
|
+
import { TRange, TColliderPosition } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartCollider';
|
|
10125
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
10126
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10127
|
+
import { Rectangle, QuadTree } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/quad-tree';
|
|
10128
|
+
import { InternalFloatingLabel, InternalMarker, SmartTooltip } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9731
10129
|
export type Collider = InternalMarker | SmartTooltip | InternalFloatingLabel;
|
|
9732
10130
|
export type ColliderQuadTree = QuadTree<{
|
|
9733
10131
|
collider: Collider;
|
|
@@ -9794,7 +10192,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
9794
10192
|
export default SmartCollisionEngine;
|
|
9795
10193
|
}
|
|
9796
10194
|
|
|
9797
|
-
declare module '@mappedin/react-native-sdk/
|
|
10195
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/BillboardManager' {
|
|
9798
10196
|
import { Object3D } from 'three';
|
|
9799
10197
|
class BillboardManager {
|
|
9800
10198
|
orbit: Object3D;
|
|
@@ -9808,10 +10206,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9808
10206
|
export default BillboardManager;
|
|
9809
10207
|
}
|
|
9810
10208
|
|
|
9811
|
-
declare module '@mappedin/react-native-sdk/
|
|
9812
|
-
import { MappedinDirections, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/
|
|
9813
|
-
import { STACKED_MAPS_STATE, MapViewScene, MapViewStackScene, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/
|
|
9814
|
-
import type { ICore, TCameraTransform } from '@mappedin/react-native-sdk/
|
|
10209
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/StackedMapsController' {
|
|
10210
|
+
import { MappedinDirections, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
10211
|
+
import { STACKED_MAPS_STATE, MapViewScene, MapViewStackScene, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10212
|
+
import type { ICore, TCameraTransform } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9815
10213
|
enum ACTION {
|
|
9816
10214
|
enable = "enable",
|
|
9817
10215
|
disable = "disable",
|
|
@@ -9926,8 +10324,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9926
10324
|
export default StackedMapsController;
|
|
9927
10325
|
}
|
|
9928
10326
|
|
|
9929
|
-
declare module '@mappedin/react-native-sdk/
|
|
9930
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
10327
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/ExportController' {
|
|
10328
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9931
10329
|
/**
|
|
9932
10330
|
* @hidden
|
|
9933
10331
|
*/
|
|
@@ -9944,6 +10342,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9944
10342
|
export default class ExportController {
|
|
9945
10343
|
#private;
|
|
9946
10344
|
core: ICore;
|
|
10345
|
+
glTFExporter?: any;
|
|
9947
10346
|
constructor(core: ICore);
|
|
9948
10347
|
/**
|
|
9949
10348
|
* Exports the current scene as a GLTF file.
|
|
@@ -9952,9 +10351,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9952
10351
|
}
|
|
9953
10352
|
}
|
|
9954
10353
|
|
|
9955
|
-
declare module '@mappedin/react-native-sdk/
|
|
9956
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
9957
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
10354
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/LayerController' {
|
|
10355
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core.interface';
|
|
10356
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
9958
10357
|
import { Feature, FeatureCollection, GeoJsonProperties, Polygon } from 'geojson';
|
|
9959
10358
|
class LayerController {
|
|
9960
10359
|
#private;
|
|
@@ -9976,10 +10375,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/private/contro
|
|
|
9976
10375
|
export default LayerController;
|
|
9977
10376
|
}
|
|
9978
10377
|
|
|
9979
|
-
declare module '@mappedin/react-native-sdk/
|
|
9980
|
-
import { IBlueDotCore, BlueDotManager } from '@mappedin/react-native-sdk/
|
|
9981
|
-
import { IPubSub } from '@mappedin/react-native-sdk/
|
|
9982
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
10378
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.ui' {
|
|
10379
|
+
import { IBlueDotCore, BlueDotManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10380
|
+
import { IPubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
|
|
10381
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
9983
10382
|
enum ZOOM_CONDITION {
|
|
9984
10383
|
EXPIRED = 0,
|
|
9985
10384
|
IN_PROGRESS = 1,
|
|
@@ -10010,10 +10409,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
10010
10409
|
export default BlueDotUI;
|
|
10011
10410
|
}
|
|
10012
10411
|
|
|
10013
|
-
declare module '@mappedin/react-native-sdk/
|
|
10412
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/utils' {
|
|
10014
10413
|
import { Box3, Vector3, Object3D, Material } from 'three';
|
|
10015
|
-
import { Mappedin, MapObject, MappedinMap, TMapViewOptions } from '@mappedin/react-native-sdk/
|
|
10016
|
-
import { Camera } from '@mappedin/react-native-sdk/
|
|
10414
|
+
import { Mappedin, MapObject, MappedinMap, TMapViewOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10415
|
+
import { Camera } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Camera';
|
|
10017
10416
|
/**
|
|
10018
10417
|
* Utils function listing
|
|
10019
10418
|
*
|
|
@@ -10167,27 +10566,27 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/utils
|
|
|
10167
10566
|
export {};
|
|
10168
10567
|
}
|
|
10169
10568
|
|
|
10170
|
-
declare module '@mappedin/react-native-sdk/
|
|
10569
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/MapView' {
|
|
10171
10570
|
import '../internal/Mappedin.css';
|
|
10172
|
-
import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/
|
|
10173
|
-
import { E_SDK_EVENT_PAYLOAD, TCreateMarkerOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TMapViewOptions, TPathOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TAOConfiguration, TAntialiasConfiguration } from '@mappedin/react-native-sdk/
|
|
10174
|
-
import { E_SDK_EVENT, STATE } from '@mappedin/react-native-sdk/
|
|
10175
|
-
import SmartTooltip from '@mappedin/react-native-sdk/
|
|
10176
|
-
import { Marker } from '@mappedin/react-native-sdk/
|
|
10177
|
-
import { PubSub } from '@mappedin/react-native-sdk/
|
|
10178
|
-
import Journey from '@mappedin/react-native-sdk/
|
|
10179
|
-
import { TGetPolygonsAtCoordinateOptions } from '@mappedin/react-native-sdk/
|
|
10180
|
-
import { IFlatLabels } from '@mappedin/react-native-sdk/
|
|
10181
|
-
import { IFloatingLabels } from '@mappedin/react-native-sdk/
|
|
10182
|
-
import { Markers } from '@mappedin/react-native-sdk/
|
|
10183
|
-
import { Paths } from '@mappedin/react-native-sdk/
|
|
10184
|
-
import { BlueDot } from '@mappedin/react-native-sdk/
|
|
10185
|
-
import { Camera } from '@mappedin/react-native-sdk/
|
|
10186
|
-
import { Exporter } from '@mappedin/react-native-sdk/
|
|
10187
|
-
import { StackedMaps } from '@mappedin/react-native-sdk/
|
|
10188
|
-
import OutdoorView from '@mappedin/react-native-sdk/
|
|
10189
|
-
import { Layers } from '@mappedin/react-native-sdk/
|
|
10190
|
-
import { DynamicFocus } from '@mappedin/react-native-sdk/
|
|
10571
|
+
import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
10572
|
+
import { E_SDK_EVENT_PAYLOAD, TCreateMarkerOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TMapViewOptions, TPathOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions, TAOConfiguration, TAntialiasConfiguration } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
10573
|
+
import { E_SDK_EVENT, STATE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
10574
|
+
import SmartTooltip from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.SmartTooltip';
|
|
10575
|
+
import { Marker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController';
|
|
10576
|
+
import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10577
|
+
import Journey from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Journey';
|
|
10578
|
+
import { TGetPolygonsAtCoordinateOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
10579
|
+
import { IFlatLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FlatLabels';
|
|
10580
|
+
import { IFloatingLabels } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/FloatingLabels';
|
|
10581
|
+
import { Markers } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Markers';
|
|
10582
|
+
import { Paths } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Paths';
|
|
10583
|
+
import { BlueDot } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/BlueDot';
|
|
10584
|
+
import { Camera } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Camera';
|
|
10585
|
+
import { Exporter } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Exporter';
|
|
10586
|
+
import { StackedMaps } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/StackedMaps';
|
|
10587
|
+
import OutdoorView from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/OutdoorView';
|
|
10588
|
+
import { Layers } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Layers';
|
|
10589
|
+
import { DynamicFocus } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/DynamicFocus';
|
|
10191
10590
|
/**
|
|
10192
10591
|
* Primary API class for controlling and interacting with a 3D map.
|
|
10193
10592
|
*/
|
|
@@ -10824,13 +11223,13 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
|
|
|
10824
11223
|
}
|
|
10825
11224
|
}
|
|
10826
11225
|
|
|
10827
|
-
declare module '@mappedin/react-native-sdk/
|
|
11226
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager' {
|
|
10828
11227
|
import { Box3 } from 'three';
|
|
10829
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
10830
|
-
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/
|
|
10831
|
-
import Object3D from '@mappedin/react-native-sdk/
|
|
10832
|
-
import { Tile } from '@mappedin/react-native-sdk/
|
|
10833
|
-
import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/
|
|
11228
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11229
|
+
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
11230
|
+
import Object3D from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/object3D.destroy';
|
|
11231
|
+
import { Tile } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.Tile';
|
|
11232
|
+
import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Outdoor-Context.provider';
|
|
10834
11233
|
/**
|
|
10835
11234
|
* @deprecated Use {@link OutdoorView} instead.
|
|
10836
11235
|
*/
|
|
@@ -10891,204 +11290,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
|
|
|
10891
11290
|
}
|
|
10892
11291
|
}
|
|
10893
11292
|
|
|
10894
|
-
declare module '@mappedin/react-native-sdk/
|
|
10895
|
-
import '
|
|
10896
|
-
import {
|
|
10897
|
-
import '../internal/object3D.destroy';
|
|
10898
|
-
import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
|
|
10899
|
-
import { Renderer, TaskScheduler, MapManager, FlatLabel, SmartCollisionEngine, PubSub, INTERNAL_EVENT, INTERNAL_EVENT_PAYLOAD, MapView, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, BillboardManager, StackedMapsController, OutdoorViewController, WatermarkController, PolygonHoverColorsController, ExportController, LayerController } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
|
|
10900
|
-
import { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
10901
|
-
import { E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
10902
|
-
export const raycaster: any;
|
|
10903
|
-
let Mappedin: any;
|
|
10904
|
-
/**
|
|
10905
|
-
* Some preset orderings for updates.
|
|
10906
|
-
*/
|
|
10907
|
-
export const UPDATE_ORDERING: {
|
|
10908
|
-
BEFORE_CAMERA: number;
|
|
10909
|
-
CAMERA: number;
|
|
10910
|
-
AFTER_CAMERA: number;
|
|
10911
|
-
RENDER: number;
|
|
10912
|
-
AFTER_RENDER: number;
|
|
10913
|
-
AFTER_ALL_UPDATES: number;
|
|
10914
|
-
};
|
|
10915
|
-
type TCoreColors = {
|
|
10916
|
-
defaultHover2D: string;
|
|
10917
|
-
select: string;
|
|
10918
|
-
text: string;
|
|
10919
|
-
path: string;
|
|
10920
|
-
pathPulse: string;
|
|
10921
|
-
textSelect: string;
|
|
10922
|
-
};
|
|
10923
|
-
class Core extends PubSub<INTERNAL_EVENT_PAYLOAD, INTERNAL_EVENT> {
|
|
10924
|
-
#private;
|
|
10925
|
-
/**
|
|
10926
|
-
* Controllers
|
|
10927
|
-
*/
|
|
10928
|
-
eventSystem: EventSystem;
|
|
10929
|
-
floatingLabels: FloatingLabelsController;
|
|
10930
|
-
flatLabels: FlatLabelsController;
|
|
10931
|
-
paths: PathsController;
|
|
10932
|
-
polygonColors: PolygonColorsController;
|
|
10933
|
-
polygonHoverColors: PolygonHoverColorsController;
|
|
10934
|
-
polygonInteraction: PolygonInteractionController;
|
|
10935
|
-
polygonStates: PolygonStatesController;
|
|
10936
|
-
polygonImages: PolygonImagesController;
|
|
10937
|
-
markers: MarkersController;
|
|
10938
|
-
tooltips: TooltipsController;
|
|
10939
|
-
threeDMarkers: ThreeDMarkersController;
|
|
10940
|
-
blueDot: BlueDotController;
|
|
10941
|
-
camera: CameraController;
|
|
10942
|
-
outdoorViewController?: OutdoorViewController;
|
|
10943
|
-
exportController: ExportController;
|
|
10944
|
-
watermark: WatermarkController;
|
|
10945
|
-
layerController: LayerController;
|
|
10946
|
-
options: TMapViewOptions & {
|
|
10947
|
-
onDataLoaded?: (data: IMappedin) => void;
|
|
10948
|
-
onFirstMapLoaded?: (data: IMappedin) => void;
|
|
10949
|
-
};
|
|
10950
|
-
currentPath?: MappedinNode[];
|
|
10951
|
-
state: STATE;
|
|
10952
|
-
imageFlippingCache: {};
|
|
10953
|
-
imageFlippingEnabled: boolean;
|
|
10954
|
-
MapView: MapView;
|
|
10955
|
-
type: string;
|
|
10956
|
-
container: HTMLDivElement;
|
|
10957
|
-
venue: IMappedin;
|
|
10958
|
-
colors: TCoreColors;
|
|
10959
|
-
loadOptions: TMapViewOptions['loadOptions'];
|
|
10960
|
-
smartCollisionEngine: SmartCollisionEngine;
|
|
10961
|
-
taskScheduler: TaskScheduler;
|
|
10962
|
-
renderer: Renderer;
|
|
10963
|
-
highlightedPolygons: Record<string, string>;
|
|
10964
|
-
outlinedPolygons: Map<string, MappedinPolygon>;
|
|
10965
|
-
scene: Scene;
|
|
10966
|
-
focusZoomFactor: number;
|
|
10967
|
-
cameraObject: PerspectiveCamera;
|
|
10968
|
-
polygonMeshesById: Record<string, Mesh>;
|
|
10969
|
-
textLabelsByPolygonId: Record<string, FlatLabel>;
|
|
10970
|
-
labelOrientationDelay: number;
|
|
10971
|
-
isWebGL2: boolean;
|
|
10972
|
-
interactivePolygons: Record<string, boolean>;
|
|
10973
|
-
polygonHoverColorsById: Record<string, Color>;
|
|
10974
|
-
mapManager: MapManager | undefined;
|
|
10975
|
-
sceneManager: SceneManager | undefined;
|
|
10976
|
-
mapObjects: Map<MappedinMap['id'], MapObject>;
|
|
10977
|
-
referenceMap: MappedinMap;
|
|
10978
|
-
currentInteractionEvent: INTERNAL_EVENT | undefined;
|
|
10979
|
-
resolution: Vector2;
|
|
10980
|
-
cameraParameters: Vector2;
|
|
10981
|
-
controls: typeof Mappedin.CameraControls;
|
|
10982
|
-
cameraPlane: Mesh;
|
|
10983
|
-
canvasWidth: number;
|
|
10984
|
-
canvasHeight: number;
|
|
10985
|
-
cachedPadding: TPadding;
|
|
10986
|
-
currentScale: number;
|
|
10987
|
-
rendererDomElement: HTMLCanvasElement;
|
|
10988
|
-
resolutionScale: number;
|
|
10989
|
-
outdoorGeometryLayers: string[];
|
|
10990
|
-
billboardManager: BillboardManager;
|
|
10991
|
-
stackedMaps: StackedMapsController;
|
|
10992
|
-
tileManager: TileManager;
|
|
10993
|
-
setMapReason?: E_MAP_CHANGED_REASON;
|
|
10994
|
-
get aspect(): number;
|
|
10995
|
-
/**
|
|
10996
|
-
* Get all maps that are "visible" in the scene.
|
|
10997
|
-
*/
|
|
10998
|
-
get visibleMapsInCurrentScene(): MappedinMap[];
|
|
10999
|
-
get visibleMapObjectsInCurrentScene(): MapObject[];
|
|
11000
|
-
/**
|
|
11001
|
-
* Returns all currently visible layers
|
|
11002
|
-
*/
|
|
11003
|
-
get visibleLayersInCurrentScene(): {};
|
|
11004
|
-
constructor(container: HTMLDivElement, venue: IMappedin, options: TMapViewOptions & {
|
|
11005
|
-
onDataLoaded?: (data: IMappedin) => void;
|
|
11006
|
-
onFirstMapLoaded?: (data: IMappedin) => void;
|
|
11007
|
-
}, MapView: MapView);
|
|
11008
|
-
get currentMap(): string | null;
|
|
11009
|
-
setState(state: STATE): Promise<void>;
|
|
11010
|
-
getPolygon: (polygon: any) => any;
|
|
11011
|
-
showEntireMap: (options: any) => any;
|
|
11012
|
-
resetPanBounds: () => void;
|
|
11013
|
-
focusOn: (options: any) => any;
|
|
11014
|
-
focusOnPolygon: (polygon: any, changeZoom: any, duration: any, curve: any) => any;
|
|
11015
|
-
focusOnPath: (path: any, polygons: any, changeZoom: any, duration: any, curve: any) => any;
|
|
11016
|
-
getCameraFrameForPoints: (pointCloud: any, horizontalFovFactor: any, verticalFovFactor: any, padding: any, ignoreZoom?: boolean, minZoom?: any, maxZoom?: any) => {
|
|
11017
|
-
position: any;
|
|
11018
|
-
zoom: any;
|
|
11019
|
-
};
|
|
11020
|
-
setPadding: (padding?: TPadding) => void;
|
|
11021
|
-
getZoomLevelForPolygon: (polygon: any) => any;
|
|
11022
|
-
getZoomLevelForCurrentMap: () => any;
|
|
11023
|
-
getZoomLevelForObject: (object: any) => any;
|
|
11024
|
-
resetCamera: (forceOrigin?: boolean) => void;
|
|
11025
|
-
/**
|
|
11026
|
-
* Gets a position (to anchor a {{#crossLink "Marker"}}{{/crossLink}} usually) from a latitude and longitude.
|
|
11027
|
-
*
|
|
11028
|
-
* @method getPositionLatLon
|
|
11029
|
-
* @param latitude {Number} Latitude of position
|
|
11030
|
-
* @param longitude {Number} Longitude of position
|
|
11031
|
-
* @returns A position you can use with a Marker either initially or to update later when the user (for example) moves
|
|
11032
|
-
*/
|
|
11033
|
-
getPositionLatLon: (lat: number, lon: number, map?: string | MappedinMap | null) => Vector3;
|
|
11034
|
-
lockNorth: (element: any, offset?: number) => void;
|
|
11035
|
-
unlockNorth: (element: any) => void;
|
|
11036
|
-
convertTo3DMapPosition: (nodeOrCoordinate: MappedinNode | MappedinCoordinate) => any;
|
|
11037
|
-
/**
|
|
11038
|
-
* Converts a 2D x,y screen position into a 3D MappedinCoordinate using projection
|
|
11039
|
-
*/
|
|
11040
|
-
convertScreenCoordinateToMapCoordinate: (x: number, y: number, map: MappedinMap) => MappedinCoordinate;
|
|
11041
|
-
convert3DMapPositionToCoordinate: (coord: any, mapClass?: MappedinMap | null | undefined) => MappedinCoordinate;
|
|
11042
|
-
getPositionPolygon: (polygon: any) => any;
|
|
11043
|
-
getPositionNode: (node: any) => any;
|
|
11044
|
-
hideAllLabels: () => void;
|
|
11045
|
-
setBackgroundColor: (color: any, alpha: any) => void;
|
|
11046
|
-
setSize: (width: any, height: any) => void;
|
|
11047
|
-
getMapScale: () => number;
|
|
11048
|
-
getNorth: () => number;
|
|
11049
|
-
/**
|
|
11050
|
-
* The scene only renders when something has changed. This should be something a 3rd party developer doesn't need to worry about,
|
|
11051
|
-
* but if you are doing something weird, or have your own special tween for something, you will want to call this function.
|
|
11052
|
-
* You can call it as often as you want, it just sets a flag that we need to render again, and renders a few frames if we weren't already doing that.
|
|
11053
|
-
* @method tryRendering
|
|
11054
|
-
* @param [renderMode=RENDER.ALL] {RENDER} Which parts of the scene to re-render
|
|
11055
|
-
*/
|
|
11056
|
-
tryRendering: (renderMode?: any) => void;
|
|
11057
|
-
/**
|
|
11058
|
-
* Display the performance characteristics and debug controls for this
|
|
11059
|
-
* MapView.
|
|
11060
|
-
*
|
|
11061
|
-
* @method showDebugUI
|
|
11062
|
-
*/
|
|
11063
|
-
showDebugUI: () => void;
|
|
11064
|
-
/**
|
|
11065
|
-
* Hide the performance characteristics and debug controls for this
|
|
11066
|
-
* MapView.
|
|
11067
|
-
*
|
|
11068
|
-
* @method hideDebugUI
|
|
11069
|
-
*/
|
|
11070
|
-
hideDebugUI: () => void;
|
|
11071
|
-
determineNewLabelSize: () => void;
|
|
11072
|
-
mapSetInProgress: Promise<any>;
|
|
11073
|
-
mapSetResolved: any;
|
|
11074
|
-
setMap: (map: string | MappedinMap) => Promise<any>;
|
|
11075
|
-
setMapWithReason: (map: string | MappedinMap, reason: E_MAP_CHANGED_REASON) => Promise<any>;
|
|
11076
|
-
getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions) => any;
|
|
11077
|
-
getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions) => any;
|
|
11078
|
-
getNearestNodeByScreenCoordinate(x: number, y: number, mapOrMapId?: MappedinMap | MappedinMap['id']): MappedinNode;
|
|
11079
|
-
/**
|
|
11080
|
-
* Destroys instance and frees resources
|
|
11081
|
-
*
|
|
11082
|
-
* @method destroy
|
|
11083
|
-
*/
|
|
11084
|
-
destroy: () => void;
|
|
11085
|
-
}
|
|
11086
|
-
export default Core;
|
|
11087
|
-
}
|
|
11088
|
-
|
|
11089
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Camera' {
|
|
11090
|
-
import { E_CAMERA_DIRECTION } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
11091
|
-
import CameraController, { TCameraAnimationOptions, TCameraInteractionsSetOptions, TCameraTargets, TCameraTransform, TFocusOnCameraOptions } from '@mappedin/react-native-sdk/core/packages/renderer/private/controllers/CameraController';
|
|
11293
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Camera' {
|
|
11294
|
+
import { E_CAMERA_DIRECTION } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
|
|
11295
|
+
import CameraController, { TCameraAnimationOptions, TCameraInteractionsSetOptions, TCameraTargets, TCameraTransform, TFocusOnCameraOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/CameraController';
|
|
11092
11296
|
/**
|
|
11093
11297
|
* API to control and respond to the state of the camera within the scene.
|
|
11094
11298
|
*/
|
|
@@ -11183,7 +11387,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Cam
|
|
|
11183
11387
|
* Get the current camera position, which is at the center of the map.
|
|
11184
11388
|
* @returns the position as a coordinate
|
|
11185
11389
|
*/
|
|
11186
|
-
get position(): import("
|
|
11390
|
+
get position(): import("../../internal").MappedinCoordinate;
|
|
11187
11391
|
/**
|
|
11188
11392
|
* Enable or disable the ability for the user to interact with the camera (e.g. pan, zoom, tilt, etc).
|
|
11189
11393
|
* This does not affect programmatic camera controls, such as {@link set} and {@link focusOn}.
|
|
@@ -11243,7 +11447,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Cam
|
|
|
11243
11447
|
* @returns An object defining a number of pixels from the top, left, bottom, and right of
|
|
11244
11448
|
* the screen.
|
|
11245
11449
|
*/
|
|
11246
|
-
getSafeAreaInsets(): import("
|
|
11450
|
+
getSafeAreaInsets(): import("../../MapView.types").TPadding;
|
|
11247
11451
|
/**
|
|
11248
11452
|
* Animate the camera to focus on a collection of targets. To control where the targets should
|
|
11249
11453
|
* be placed on screen, either specify `safeAreaInsets` on the {@link TFocusOnCameraOptions}
|
|
@@ -11324,8 +11528,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Cam
|
|
|
11324
11528
|
}
|
|
11325
11529
|
}
|
|
11326
11530
|
|
|
11327
|
-
declare module '@mappedin/react-native-sdk/
|
|
11328
|
-
import { BlueDotController, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/
|
|
11531
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/BlueDot' {
|
|
11532
|
+
import { BlueDotController, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.types';
|
|
11329
11533
|
/**
|
|
11330
11534
|
* API to enable and respond to user position updates.
|
|
11331
11535
|
*/
|
|
@@ -11398,11 +11602,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Blu
|
|
|
11398
11602
|
}
|
|
11399
11603
|
}
|
|
11400
11604
|
|
|
11401
|
-
declare module '@mappedin/react-native-sdk/
|
|
11402
|
-
import { TAnimationOptions } from '@mappedin/react-native-sdk/
|
|
11403
|
-
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/
|
|
11404
|
-
import { TCreateMarkerOptions } from '@mappedin/react-native-sdk/
|
|
11405
|
-
import MarkersController, { Marker } from '@mappedin/react-native-sdk/
|
|
11605
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Markers' {
|
|
11606
|
+
import { TAnimationOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11607
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
11608
|
+
import { TCreateMarkerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11609
|
+
import MarkersController, { Marker } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/MarkersController';
|
|
11406
11610
|
/**
|
|
11407
11611
|
* API to control adding 2D markers to the scene.
|
|
11408
11612
|
*/
|
|
@@ -11497,10 +11701,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Mar
|
|
|
11497
11701
|
}
|
|
11498
11702
|
}
|
|
11499
11703
|
|
|
11500
|
-
declare module '@mappedin/react-native-sdk/
|
|
11501
|
-
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/
|
|
11502
|
-
import { TPathOptions } from '@mappedin/react-native-sdk/
|
|
11503
|
-
import PathsController, { Path } from '@mappedin/react-native-sdk/
|
|
11704
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Paths' {
|
|
11705
|
+
import { MappedinCoordinate, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
11706
|
+
import { TPathOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11707
|
+
import PathsController, { Path } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController';
|
|
11504
11708
|
/**
|
|
11505
11709
|
* API to add and remove paths from maps. See also {@link Journey}.
|
|
11506
11710
|
*/
|
|
@@ -11553,9 +11757,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Pat
|
|
|
11553
11757
|
}
|
|
11554
11758
|
}
|
|
11555
11759
|
|
|
11556
|
-
declare module '@mappedin/react-native-sdk/
|
|
11557
|
-
import { MappedinMap } from '@mappedin/react-native-sdk/
|
|
11558
|
-
import { STACKED_MAPS_STATE, StackedMapsController, TCameraTransform } from '@mappedin/react-native-sdk/
|
|
11760
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/StackedMaps' {
|
|
11761
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
11762
|
+
import { STACKED_MAPS_STATE, StackedMapsController, TCameraTransform } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11559
11763
|
/**
|
|
11560
11764
|
* @experimental
|
|
11561
11765
|
* API for showing multiple maps involved in a {@link Journey} as a vertical stack.
|
|
@@ -11670,8 +11874,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Sta
|
|
|
11670
11874
|
}
|
|
11671
11875
|
}
|
|
11672
11876
|
|
|
11673
|
-
declare module '@mappedin/react-native-sdk/
|
|
11674
|
-
import { OutdoorViewController } from '@mappedin/react-native-sdk/
|
|
11877
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/OutdoorView' {
|
|
11878
|
+
import { OutdoorViewController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11675
11879
|
/**
|
|
11676
11880
|
* @experimental
|
|
11677
11881
|
* API to control outdoor view rendering. Outdoor view can be enabled when
|
|
@@ -11720,9 +11924,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Out
|
|
|
11720
11924
|
export default OutdoorView;
|
|
11721
11925
|
}
|
|
11722
11926
|
|
|
11723
|
-
declare module '@mappedin/react-native-sdk/
|
|
11724
|
-
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/
|
|
11725
|
-
import { DynamicFocusSceneManager } from '@mappedin/react-native-sdk/
|
|
11927
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/DynamicFocus' {
|
|
11928
|
+
import { MappedinMap, MappedinMapGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
11929
|
+
import { DynamicFocusSceneManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11726
11930
|
/**
|
|
11727
11931
|
* @experimental
|
|
11728
11932
|
* API to dynamically set the map focus as you pan over map groups. Dynamic Focus can be enabled when
|
|
@@ -11793,9 +11997,9 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Dyn
|
|
|
11793
11997
|
export { DynamicFocus };
|
|
11794
11998
|
}
|
|
11795
11999
|
|
|
11796
|
-
declare module '@mappedin/react-native-sdk/
|
|
12000
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Layers' {
|
|
11797
12001
|
import { Feature, FeatureCollection, GeoJsonProperties, Polygon } from 'geojson';
|
|
11798
|
-
import { LayerController, MappedinMap } from '@mappedin/react-native-sdk/
|
|
12002
|
+
import { LayerController, MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11799
12003
|
/**
|
|
11800
12004
|
* @experimental
|
|
11801
12005
|
* API to control per-map layer management, visibility and interpolations.
|
|
@@ -11827,7 +12031,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Lay
|
|
|
11827
12031
|
export default LayerController;
|
|
11828
12032
|
}
|
|
11829
12033
|
|
|
11830
|
-
declare module '@mappedin/react-native-sdk/
|
|
12034
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Outdoor-Context.provider' {
|
|
11831
12035
|
/**
|
|
11832
12036
|
* @deprecated Use {@link OutdoorView} instead.
|
|
11833
12037
|
* The universal outdoor context interface
|
|
@@ -11897,7 +12101,102 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/outdo
|
|
|
11897
12101
|
}
|
|
11898
12102
|
}
|
|
11899
12103
|
|
|
11900
|
-
declare module '@mappedin/react-native-sdk/
|
|
12104
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PerformanceController' {
|
|
12105
|
+
import type Core from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core';
|
|
12106
|
+
/**
|
|
12107
|
+
* Represents performance statistics.
|
|
12108
|
+
*/
|
|
12109
|
+
export interface PerformanceStats {
|
|
12110
|
+
fps: number;
|
|
12111
|
+
ms: number;
|
|
12112
|
+
mb: number;
|
|
12113
|
+
}
|
|
12114
|
+
export type FPSChangeHandler = (stats: PerformanceStats) => void;
|
|
12115
|
+
interface PerformanceControllerOptions {
|
|
12116
|
+
container: HTMLDivElement;
|
|
12117
|
+
dynamicPerformance: boolean;
|
|
12118
|
+
debug: boolean;
|
|
12119
|
+
onFPSChangeArray: FPSChangeHandler[];
|
|
12120
|
+
}
|
|
12121
|
+
/**
|
|
12122
|
+
* Manages performance monitoring, updating stats, and handling FPS changes.
|
|
12123
|
+
* It executes callbacks from the onFPSChangeArray starting from the penultimate one in descending order
|
|
12124
|
+
* when the FPS drops below the minimum threshold
|
|
12125
|
+
*
|
|
12126
|
+
* @hidden
|
|
12127
|
+
* @internal
|
|
12128
|
+
*
|
|
12129
|
+
*/
|
|
12130
|
+
export class PerformanceController {
|
|
12131
|
+
/**
|
|
12132
|
+
* @hidden
|
|
12133
|
+
* @internal
|
|
12134
|
+
*/
|
|
12135
|
+
constructor(options: PerformanceControllerOptions);
|
|
12136
|
+
/**
|
|
12137
|
+
* @hidden
|
|
12138
|
+
* @internal
|
|
12139
|
+
*/
|
|
12140
|
+
static getDefaultOnFPSChangeArray(core: Core): (() => void)[];
|
|
12141
|
+
/**
|
|
12142
|
+
* @hidden
|
|
12143
|
+
* @internal
|
|
12144
|
+
*/
|
|
12145
|
+
update(): void;
|
|
12146
|
+
/**
|
|
12147
|
+
* Gets the current performance statistics.
|
|
12148
|
+
*
|
|
12149
|
+
* @hidden
|
|
12150
|
+
* @internal
|
|
12151
|
+
* @returns {PerformanceStats} The current performance statistics.
|
|
12152
|
+
*/
|
|
12153
|
+
get currentStats(): PerformanceStats;
|
|
12154
|
+
/**
|
|
12155
|
+
* Gets the DOM element for the performance view.
|
|
12156
|
+
*
|
|
12157
|
+
* @hidden
|
|
12158
|
+
* @internal
|
|
12159
|
+
* @returns {HTMLDivElement} The DOM element.
|
|
12160
|
+
*/
|
|
12161
|
+
get dom(): HTMLDivElement;
|
|
12162
|
+
/**
|
|
12163
|
+
* Hides the debugger view.
|
|
12164
|
+
*
|
|
12165
|
+
* @hidden
|
|
12166
|
+
* @internal
|
|
12167
|
+
*/
|
|
12168
|
+
hidePerformancePanel(): void;
|
|
12169
|
+
/**
|
|
12170
|
+
* Shows the debugger view.
|
|
12171
|
+
*
|
|
12172
|
+
* @hidden
|
|
12173
|
+
* @internal
|
|
12174
|
+
*/
|
|
12175
|
+
showPerformancePanel(): void;
|
|
12176
|
+
}
|
|
12177
|
+
/**
|
|
12178
|
+
* Visual representation of performance stats.
|
|
12179
|
+
*
|
|
12180
|
+
* @hidden
|
|
12181
|
+
* @internal
|
|
12182
|
+
*/
|
|
12183
|
+
export class PerformanceView {
|
|
12184
|
+
constructor(debug: boolean, appContainer: HTMLDivElement, maxValues: PerformanceStats);
|
|
12185
|
+
createContainer(): HTMLDivElement;
|
|
12186
|
+
showPanel(id: number): void;
|
|
12187
|
+
hidePerformancePanel(): void;
|
|
12188
|
+
showPerformancePanel(): void;
|
|
12189
|
+
updatePanels(stats: PerformanceStats): void;
|
|
12190
|
+
/**
|
|
12191
|
+
* Gets the DOM element for the performance view.
|
|
12192
|
+
* @returns {HTMLDivElement} The DOM element.
|
|
12193
|
+
*/
|
|
12194
|
+
get dom(): HTMLDivElement;
|
|
12195
|
+
}
|
|
12196
|
+
export {};
|
|
12197
|
+
}
|
|
12198
|
+
|
|
12199
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/quad-tree' {
|
|
11901
12200
|
export function contains(rect1: Rectangle, rect2: Rectangle): boolean;
|
|
11902
12201
|
export function intersects(rect1: Rectangle, rect2: Rectangle): boolean;
|
|
11903
12202
|
export function intersectPoint(rect1: Rectangle, point: Point2D): boolean;
|
|
@@ -11936,8 +12235,18 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-
|
|
|
11936
12235
|
export { QuadTree, Rectangle };
|
|
11937
12236
|
}
|
|
11938
12237
|
|
|
11939
|
-
declare module '@mappedin/react-native-sdk/
|
|
11940
|
-
import {
|
|
12238
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/dynamic-focus-utils' {
|
|
12239
|
+
import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
12240
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
12241
|
+
export function determineMapPositionAndRotation(map: MappedinMap, core: ICore): {
|
|
12242
|
+
position: any[];
|
|
12243
|
+
scale: number[];
|
|
12244
|
+
rotation: number[];
|
|
12245
|
+
};
|
|
12246
|
+
}
|
|
12247
|
+
|
|
12248
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Exporter' {
|
|
12249
|
+
import { ExportController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
11941
12250
|
/**
|
|
11942
12251
|
* @hidden
|
|
11943
12252
|
*/
|
|
@@ -11967,11 +12276,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Exp
|
|
|
11967
12276
|
}
|
|
11968
12277
|
}
|
|
11969
12278
|
|
|
11970
|
-
declare module '@mappedin/react-native-sdk/
|
|
12279
|
+
declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.Tile' {
|
|
11971
12280
|
import { Texture, Mesh, MeshBasicMaterial } from 'three';
|
|
11972
|
-
import type { ICore } from '@mappedin/react-native-sdk/
|
|
11973
|
-
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/
|
|
11974
|
-
import { TileManager } from '@mappedin/react-native-sdk/
|
|
12281
|
+
import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
|
|
12282
|
+
import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
|
|
12283
|
+
import { TileManager } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager';
|
|
11975
12284
|
export class Tile {
|
|
11976
12285
|
#private;
|
|
11977
12286
|
center: MappedinCoordinate;
|