@mappedin/react-native-sdk 5.7.1 → 5.9.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 +407 -127
- package/dist/index.js +255 -255
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -15,21 +15,21 @@ declare module '@mappedin/react-native-sdk' {
|
|
|
15
15
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
16
16
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
17
17
|
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
18
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
18
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
19
19
|
export { STATE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
20
|
-
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/core/packages/renderer/index.rn';
|
|
20
|
+
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/core/packages/renderer/index.rn';
|
|
21
21
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
22
22
|
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
23
|
-
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/core/packages/renderer/index.rn';
|
|
23
|
+
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/core/packages/renderer/index.rn';
|
|
24
24
|
export type { TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptionsBase };
|
|
25
25
|
export type TEnableBlueDotOptions = Omit<TEnableBlueDotOptionsBase, 'positionUpdater'>;
|
|
26
26
|
export type TLabelAllLocationCommonOptions = Omit<TLabelAllLocationCommonOptionsBase, 'sortFunction' | 'translationMap'>;
|
|
27
27
|
export type { TMapViewRNOptions, TCameraChange } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
28
28
|
export type { TMiMapViewVenueOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
29
|
-
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
29
|
+
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
30
30
|
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
31
31
|
export { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
32
|
-
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/core/packages/renderer/index.rn';
|
|
32
|
+
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/core/packages/renderer/index.rn';
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView' {
|
|
@@ -174,13 +174,12 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniM
|
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store' {
|
|
177
|
-
import { IFlatLabels, IFloatingLabels, TGetPolygonsAtCoordinateOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
177
|
+
import { IFlatLabels, IFloatingLabels, TGetPolygonsAtCoordinateOptions, STATE, Mappedin, MappedinNode, MappedinMap, MappedinLocation, MappedinDirections, MappedinCategory, MappedinPolygon, TGetVenueOptions, TShowVenueOptions, MappedinCoordinate, MappedinDestinationSet, TCreateMarkerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
178
178
|
import { RNMappedinController } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MappedinController';
|
|
179
179
|
import { TReactNativeFlatLabelAllLocations, TReactNativeFlatLabelAllLocationsLegacy, TSerializableJourneyOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
180
180
|
import type { TGeolocationObject, TEnableBlueDotOptions, TPathOptions, TLabelAllLocationFloatingLabelOptions, TMappedinOfflineSearchOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
181
|
-
import { STATE, Mappedin, MappedinNode, MappedinMap, MappedinLocation, MappedinDirections, MappedinCategory, MappedinPolygon, TGetVenueOptions, TShowVenueOptions, MappedinCoordinate, MappedinDestinationSet, TCreateMarkerOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
182
181
|
import { TCameraManager } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
183
|
-
import { TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
182
|
+
import { TAnimationOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
184
183
|
export class MapViewStore extends RNMappedinController {
|
|
185
184
|
#private;
|
|
186
185
|
state: STATE;
|
|
@@ -242,6 +241,12 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
242
241
|
* Remove marker by id
|
|
243
242
|
*/
|
|
244
243
|
removeMarker(markerId: string): Promise<void>;
|
|
244
|
+
Markers: {
|
|
245
|
+
add: (nodeOrCoordinate: MappedinNode | MappedinCoordinate, contentHtml: string, options: TCreateMarkerOptions) => string;
|
|
246
|
+
remove: (markerId: string) => Promise<void>;
|
|
247
|
+
setPosition: (markerId: string, nodeOrCoordinate: MappedinNode | MappedinCoordinate) => Promise<void>;
|
|
248
|
+
animate: (markerId: string, nodeOrCoordinate: MappedinNode | MappedinCoordinate, animationOptions: TAnimationOptions) => Promise<void>;
|
|
249
|
+
};
|
|
245
250
|
/**
|
|
246
251
|
* Set SDK state, which controls camera and other features geared towards a particular experience
|
|
247
252
|
*
|
|
@@ -283,6 +288,9 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
283
288
|
*/
|
|
284
289
|
enableImageFlippingForPolygon(polygon: MappedinPolygon): Promise<unknown>;
|
|
285
290
|
/**
|
|
291
|
+
* @deprecated
|
|
292
|
+
* Use `Paths.removeAll` instead.
|
|
293
|
+
*
|
|
286
294
|
* Remove all paths
|
|
287
295
|
*/
|
|
288
296
|
removeAllPaths(): Promise<unknown>;
|
|
@@ -329,6 +337,9 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
329
337
|
* Set the current step of a multi-part journey
|
|
330
338
|
*/
|
|
331
339
|
setStep: (step: number) => Promise<undefined>;
|
|
340
|
+
setStepByPath: (path: {
|
|
341
|
+
id: string;
|
|
342
|
+
}) => Promise<unknown>;
|
|
332
343
|
};
|
|
333
344
|
/**
|
|
334
345
|
* BlueDot control interface
|
|
@@ -357,6 +368,18 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapVi
|
|
|
357
368
|
accessible?: boolean;
|
|
358
369
|
}): Promise<MappedinDirections | MappedinDirections[]>;
|
|
359
370
|
/**
|
|
371
|
+
* Add or remove paths from the map
|
|
372
|
+
*/
|
|
373
|
+
Paths: {
|
|
374
|
+
add: (nodes: MappedinNode[], options?: TPathOptions | undefined) => Promise<unknown>;
|
|
375
|
+
remove: (path: {
|
|
376
|
+
id: string;
|
|
377
|
+
}) => Promise<void>;
|
|
378
|
+
removeAll: () => Promise<void>;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* @deprecated
|
|
382
|
+
* Use `Paths.add` instead.
|
|
360
383
|
*
|
|
361
384
|
* Draw a path based on a list of Nodes
|
|
362
385
|
*/
|
|
@@ -402,17 +425,16 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/index.rn' {
|
|
|
402
425
|
/**
|
|
403
426
|
* @deprecated
|
|
404
427
|
*/
|
|
405
|
-
getVenueBundle, MappedinDestinationSet, Mappedin, randomId };
|
|
406
|
-
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, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
428
|
+
getVenueBundle, MappedinDestinationSet, Mappedin, randomId, };
|
|
407
429
|
export { labelThemes } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
408
430
|
export type { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.FlatLabels';
|
|
409
431
|
export type { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.FloatingLabels';
|
|
410
|
-
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
432
|
+
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TJourneyOptions, TMapViewOptions, TCreateMarkerOptions, TGeolocationObject, TPathOptions, TFlatLabelOptions, TAddFloatingLabelOptions, TAddFlatLabelOptions, TLabelAllLocationCommonOptions, TFloatingLabelAllLocationsOptions, TFlatLabelAllLocationsOptions, TLabelAllLocationFlatLabelOptions, TLabelAllLocationFloatingLabelOptions, TEnableBlueDotOptions, TFloatingLabelAppearance, TFlatLabelAppearance, CAMERA_EVENT_PAYLOAD, TMapClickEvent, TGetPolygonsAtCoordinateOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
411
433
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
412
434
|
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
413
|
-
export type { TGetVenueBundleOptions, TGetVenueOptions, TMappedinDirective, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
414
|
-
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings,
|
|
415
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
435
|
+
export type { TGetVenueBundleOptions, TGetVenueOptions, TMappedinDirective, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
436
|
+
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
437
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
416
438
|
}
|
|
417
439
|
|
|
418
440
|
declare module '@mappedin/react-native-sdk/wrappers/common' {
|
|
@@ -514,21 +536,21 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src' {
|
|
|
514
536
|
export type { TMiMiniMapProps } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMiniMap';
|
|
515
537
|
export type { MapViewStore } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store';
|
|
516
538
|
export { getVenue, getVenueBundle } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
517
|
-
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
539
|
+
export type { TGetVenueOptions, TGetVenueBundleOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TMapClickEvent, } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
518
540
|
export { STATE } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
519
|
-
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/core/packages/renderer/index.rn';
|
|
541
|
+
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/core/packages/renderer/index.rn';
|
|
520
542
|
export type { TSerializableJourneyOptions, TMiMapViewOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
521
543
|
import type { TEnableBlueDotOptions as TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptions as TLabelAllLocationCommonOptionsBase } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
522
|
-
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/core/packages/renderer/index.rn';
|
|
544
|
+
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/core/packages/renderer/index.rn';
|
|
523
545
|
export type { TEnableBlueDotOptionsBase, TLabelAllLocationCommonOptionsBase };
|
|
524
546
|
export type TEnableBlueDotOptions = Omit<TEnableBlueDotOptionsBase, 'positionUpdater'>;
|
|
525
547
|
export type TLabelAllLocationCommonOptions = Omit<TLabelAllLocationCommonOptionsBase, 'sortFunction' | 'translationMap'>;
|
|
526
548
|
export type { TMapViewRNOptions, TCameraChange } from '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MiMapView.store.types';
|
|
527
549
|
export type { TMiMapViewVenueOptions } from '@mappedin/react-native-sdk/wrappers/common';
|
|
528
|
-
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
550
|
+
export type { IDirectionsResult, MappedinDirections, TMappedinDirective, IFlatLabels, TFlatLabelAllLocationsOptions, IFloatingLabels, TFloatingLabelAllLocationsOptions, } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
529
551
|
export type { TShowVenueOptions, E_GET_DIRECTIONS_MESSAGES } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
530
552
|
export { ERROR, ERROR_MESSAGES } from '@mappedin/react-native-sdk/wrappers/common/errors';
|
|
531
|
-
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/core/packages/renderer/index.rn';
|
|
553
|
+
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/core/packages/renderer/index.rn';
|
|
532
554
|
}
|
|
533
555
|
|
|
534
556
|
declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/MappedinController' {
|
|
@@ -578,11 +600,11 @@ declare module '@mappedin/react-native-sdk/wrappers/react-native-sdk/src/Mappedi
|
|
|
578
600
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types' {
|
|
579
601
|
import { Mappedin, MappedinCoordinate, MappedinLocation, MappedinMap, MappedinNode, MappedinPolygon } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
580
602
|
import { TFloatingLabelAppearance } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.FloatingLabel';
|
|
581
|
-
import { TEnableBlueDotOptions } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
582
|
-
import { TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
603
|
+
import { TEnableBlueDotOptions, TBlueDotPositionUpdate, TBlueDotStateChange } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
583
604
|
import { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
|
|
584
605
|
import type { Euler, Object3D, Vector3 } from 'three';
|
|
585
606
|
import { GEOLOCATION_STATUS, COLLISION_RANKING_TIERS, STATE, MARKER_ANCHOR, E_SDK_EVENT, E_BLUEDOT_EVENT, E_CAMERA_EVENT, MAP_RENDER_MODE, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
607
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
586
608
|
export type { TEnableBlueDotOptions, TFloatingLabelAppearance };
|
|
587
609
|
/**
|
|
588
610
|
An extension of the GeolocationPosition type.
|
|
@@ -666,6 +688,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
666
688
|
* @defaultValue true
|
|
667
689
|
*/
|
|
668
690
|
animateDrawing?: boolean;
|
|
691
|
+
/**
|
|
692
|
+
* Whether the path should be clickable.
|
|
693
|
+
* @defaultValue false
|
|
694
|
+
*/
|
|
695
|
+
interactive?: boolean;
|
|
669
696
|
};
|
|
670
697
|
export type TConnectionProps = {
|
|
671
698
|
/**
|
|
@@ -1150,6 +1177,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.types'
|
|
|
1150
1177
|
text: string;
|
|
1151
1178
|
node: MappedinNode;
|
|
1152
1179
|
}[];
|
|
1180
|
+
/**
|
|
1181
|
+
* A list of paths that a user's click pass through. These are in order of first
|
|
1182
|
+
* to last intersected. Willbe empty if no paths were clicked.
|
|
1183
|
+
*/
|
|
1184
|
+
paths?: Path[];
|
|
1153
1185
|
};
|
|
1154
1186
|
export type E_SDK_EVENT_PAYLOAD = {
|
|
1155
1187
|
[E_SDK_EVENT.CLICK]: TMapClickEvent;
|
|
@@ -1244,9 +1276,9 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue' {
|
|
|
1244
1276
|
export type { TMappedinCoordinateOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinCoordinate';
|
|
1245
1277
|
export type { TDirectionToOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinNavigatable';
|
|
1246
1278
|
export { OfflineSearch } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
1247
|
-
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
1279
|
+
export type { TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.OfflineSearch';
|
|
1248
1280
|
/** API data types */
|
|
1249
|
-
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/core/packages/get-venue/Mappedin.API.types';
|
|
1281
|
+
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/core/packages/get-venue/Mappedin.API.types';
|
|
1250
1282
|
export type { TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.types';
|
|
1251
1283
|
import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.types';
|
|
1252
1284
|
export type TShowVenueOptions = {
|
|
@@ -1448,9 +1480,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums'
|
|
|
1448
1480
|
* Follows user's current location by keeping the camera centered on the Blue Dot.
|
|
1449
1481
|
*/
|
|
1450
1482
|
FOLLOW = "follow"
|
|
1451
|
-
/**
|
|
1452
|
-
* FOLLOW WITH ROTATION provides turn by turn navigation while following user's location
|
|
1453
|
-
*/
|
|
1454
1483
|
}
|
|
1455
1484
|
export enum MARKER_ANCHOR {
|
|
1456
1485
|
CENTER = 0,
|
|
@@ -1815,13 +1844,37 @@ declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
|
1815
1844
|
SET_DEBUG_FLAGS = "SET_DEBUG_FLAGS",
|
|
1816
1845
|
LOAD_VENUE = "LOAD_VENUE",
|
|
1817
1846
|
SHOW_VENUE = "SHOW_VENUE",
|
|
1847
|
+
SET_COOKIE = "SET_COOKIE",
|
|
1848
|
+
CLEAR_BUNDLE_CACHE = "CLEAR_BUNDLE_CACHE",
|
|
1849
|
+
UPDATE_GEOLOCATION = "UPDATE_GEOLOCATION",
|
|
1818
1850
|
/**
|
|
1819
|
-
*
|
|
1820
|
-
* Use EVENT.CLICK instead
|
|
1851
|
+
* MapView
|
|
1821
1852
|
*/
|
|
1822
|
-
POLYGON_CLICKED = "POLYGON_CLICKED",
|
|
1823
1853
|
SET_MAP = "SET_MAP",
|
|
1824
1854
|
MAP_CHANGED = "MAP_CHANGED",
|
|
1855
|
+
SET_POLYGON_COLOR = "SET_POLYGON_COLOR",
|
|
1856
|
+
SET_BACKGROUND_COLOR = "SET_BACKGROUND_COLOR",
|
|
1857
|
+
CLEAR_POLYGON_COLOR = "CLEAR_POLYGON_COLOR",
|
|
1858
|
+
CLEAR_ALL_POLYGON_COLORS = "CLEAR_ALL_POLYGON_COLORS",
|
|
1859
|
+
ADD_INTERACTIVE_POLYGON = "ADD_INTERACTIVE_POLYGON",
|
|
1860
|
+
REMOVE_INTERACTIVE_POLYGONS = "REMOVE_INTERACTIVE_POLYGONS",
|
|
1861
|
+
ENABLE_IMAGE_FLIPPING_FOR_POLYGON = "ENABLE_IMAGE_FLIPPING_FOR_POLYGON",
|
|
1862
|
+
GET_DIRECTIONS = "GET_DIRECTIONS",
|
|
1863
|
+
DESTROY = "DESTROY",
|
|
1864
|
+
DATA_LOADED = "DATA_LOADED",
|
|
1865
|
+
FIRST_MAP_LOADED = "FIRST_MAP_LOADED",
|
|
1866
|
+
SET_STATE = "SET_STATE",
|
|
1867
|
+
STATE_CHANGED = "STATE_CHANGED",
|
|
1868
|
+
GET_NEAREST_NODE_BY_SCREEN_COORDINATES = "GET_NEAREST_NODE_BY_SCREEN_COORDINATES",
|
|
1869
|
+
CLICK = "CLICK",
|
|
1870
|
+
GET_POLYGONS_AT_COORDINATE = "GET_POLYGONS_AT_COORDINATE",
|
|
1871
|
+
GET_POLYGONS_AT_SCREEN_COORDINATE = "GET_POLYGONS_AT_SCREEN_COORDINATE",
|
|
1872
|
+
CREATE_TOOLTIP = "CREATE_TOOLTIP",
|
|
1873
|
+
CREATE_CUSTOM_TOOLTIP = "CREATE_CUSTOM_TOOLTIP",
|
|
1874
|
+
REMOVE_TOOLTIP = "REMOVE_TOOLTIP",
|
|
1875
|
+
/**
|
|
1876
|
+
* Camera
|
|
1877
|
+
*/
|
|
1825
1878
|
ROTATION_CHANGED = "ROTATION_CHANGED",
|
|
1826
1879
|
TILT_CHANGED = "TILT_CHANGED",
|
|
1827
1880
|
ZOOM_CHANGED = "ZOOM_CHANGED",
|
|
@@ -1833,68 +1886,80 @@ declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
|
1833
1886
|
SET_MIN_ZOOM = "SET_MIN_ZOOM",
|
|
1834
1887
|
SET_MAX_ZOOM = "SET_MAX_ZOOM",
|
|
1835
1888
|
SET_MAX_TILT = "SET_MAX_TILT",
|
|
1836
|
-
UPDATE_GEOLOCATION = "UPDATE_GEOLOCATION",
|
|
1837
1889
|
FOCUS_ON = "FOCUS_ON",
|
|
1838
|
-
SET_POLYGON_COLOR = "SET_POLYGON_COLOR",
|
|
1839
|
-
SET_BACKGROUND_COLOR = "SET_BACKGROUND_COLOR",
|
|
1840
|
-
CLEAR_POLYGON_COLOR = "CLEAR_POLYGON_COLOR",
|
|
1841
|
-
CLEAR_ALL_POLYGON_COLORS = "CLEAR_ALL_POLYGON_COLORS",
|
|
1842
|
-
ADD_INTERACTIVE_POLYGON = "ADD_INTERACTIVE_POLYGON",
|
|
1843
|
-
REMOVE_INTERACTIVE_POLYGONS = "REMOVE_INTERACTIVE_POLYGONS",
|
|
1844
|
-
ENABLE_IMAGE_FLIPPING_FOR_POLYGON = "ENABLE_IMAGE_FLIPPING_FOR_POLYGON",
|
|
1845
1890
|
CAMERA_SET_SAFE_AREA_INSETS = "CAMERA_SET_SAFE_AREA_INSETS",
|
|
1846
1891
|
/**
|
|
1847
|
-
*
|
|
1892
|
+
* Flat Labels
|
|
1848
1893
|
*/
|
|
1849
|
-
LABEL_ALL_LOCATIONS = "LABEL_ALL_LOCATIONS",
|
|
1850
1894
|
FLAT_LABEL_ALL_LOCATIONS = "FLAT_LABEL_ALL_LOCATIONS",
|
|
1851
|
-
FLOATING_LABEL_ALL_LOCATIONS = "FLOATING_LABEL_ALL_LOCATIONS",
|
|
1852
1895
|
REMOVE_ALL_FLAT_LABELS = "REMOVE_ALL_FLAT_LABELS",
|
|
1853
|
-
REMOVE_ALL_FLOATING_LABELS = "REMOVE_ALL_FLOATING_LABELS",
|
|
1854
1896
|
SET_FLAT_LABEL_HOVER_COLOR_FOR_ALL = "SET_FLAT_LABEL_HOVER_COLOR_FOR_ALL",
|
|
1855
1897
|
ADD_FLAT_LABEL = "ADD_FLAT_LABEL",
|
|
1856
|
-
ADD_FLOATING_LABEL = "ADD_FLOATING_LABEL",
|
|
1857
|
-
REMOVE_FLAT_LABEL = "REMOVE_FLAT_LABEL",
|
|
1858
1898
|
REMOVE_FLOATING_LABEL = "REMOVE_FLOATING_LABEL",
|
|
1859
1899
|
SET_FLOATING_LABEL_PRIORITY = "SET_FLOATING_LABEL_PRIORITY",
|
|
1860
1900
|
RESET_FLOATING_LABEL_PRIORITY = "RESET_FLOATING_LABEL_PRIORITY",
|
|
1861
|
-
SET_FLAT_LABEL_APPEARANCE = "SET_FLAT_LABEL_APPEARANCE",
|
|
1862
1901
|
SET_FLOATING_LABEL_APPEARANCE = "SET_FLOATING_LABEL_APPEARANCE",
|
|
1902
|
+
/**
|
|
1903
|
+
* Floating Labels
|
|
1904
|
+
*/
|
|
1905
|
+
FLOATING_LABEL_ALL_LOCATIONS = "FLOATING_LABEL_ALL_LOCATIONS",
|
|
1906
|
+
REMOVE_ALL_FLOATING_LABELS = "REMOVE_ALL_FLOATING_LABELS",
|
|
1907
|
+
ADD_FLOATING_LABEL = "ADD_FLOATING_LABEL",
|
|
1908
|
+
REMOVE_FLAT_LABEL = "REMOVE_FLAT_LABEL",
|
|
1909
|
+
SET_FLAT_LABEL_APPEARANCE = "SET_FLAT_LABEL_APPEARANCE",
|
|
1910
|
+
/**
|
|
1911
|
+
* Blue Dot
|
|
1912
|
+
*/
|
|
1863
1913
|
ENABLE_BLUE_DOT = "ENABLE_BLUE_DOT",
|
|
1864
1914
|
DISABLE_BLUE_DOT = "DISABLE_BLUE_DOT",
|
|
1865
|
-
GET_DIRECTIONS = "GET_DIRECTIONS",
|
|
1866
|
-
DESTROY = "DESTROY",
|
|
1867
|
-
DATA_LOADED = "DATA_LOADED",
|
|
1868
|
-
FIRST_MAP_LOADED = "FIRST_MAP_LOADED",
|
|
1869
|
-
CREATE_MARKER = "CREATE_MARKER",
|
|
1870
|
-
REMOVE_MARKER = "REMOVE_MARKER",
|
|
1871
|
-
OVERRIDE_LOCATION = "OVERRIDE_LOCATION",
|
|
1872
|
-
SET_JOURNEY_STEP = "SET_JOURNEY_STEP",
|
|
1873
1915
|
BLUEDOT_STATE_CHANGE = "BLUEDOT_STATE_CHANGE",
|
|
1874
1916
|
BLUEDOT_POSITION_UPDATE = "BLUEDOT_POSITION_UPDATE",
|
|
1875
|
-
|
|
1876
|
-
REMOVE_ALL_PATHS = "REMOVE_ALL_PATHS",
|
|
1917
|
+
OVERRIDE_LOCATION = "OVERRIDE_LOCATION",
|
|
1877
1918
|
/**
|
|
1878
|
-
*
|
|
1879
|
-
* Use EVENT.CLICK instead
|
|
1919
|
+
* Journey
|
|
1880
1920
|
*/
|
|
1881
|
-
|
|
1882
|
-
SET_STATE = "SET_STATE",
|
|
1883
|
-
STATE_CHANGED = "STATE_CHANGED",
|
|
1921
|
+
SET_JOURNEY_STEP = "SET_JOURNEY_STEP",
|
|
1884
1922
|
DRAW_JOURNEY = "DRAW_JOURNEY",
|
|
1885
1923
|
CLEAR_JOURNEY = "CLEAR_JOURNEY",
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1924
|
+
SET_JOURNEY_STEP_BY_PATH = "SET_JOURNEY_STEP_BY_PATH",
|
|
1925
|
+
/**
|
|
1926
|
+
* Markers
|
|
1927
|
+
*/
|
|
1928
|
+
CREATE_MARKER = "CREATE_MARKER",
|
|
1929
|
+
REMOVE_MARKER = "REMOVE_MARKER",
|
|
1930
|
+
SET_MARKER_POSITION = "SET_MARKER_POSITION",
|
|
1931
|
+
ANIMATE_MARKER = "ANIMATE_MARKER",
|
|
1932
|
+
/**
|
|
1933
|
+
* Paths
|
|
1934
|
+
*/
|
|
1935
|
+
ADD_PATH = "ADD_PATH",
|
|
1936
|
+
REMOVE_PATH = "REMOVE_PATH",
|
|
1937
|
+
REMOVE_ALL_PATHS = "REMOVE_ALL_PATHS",
|
|
1938
|
+
/**
|
|
1939
|
+
* Offline Search
|
|
1940
|
+
*/
|
|
1889
1941
|
SEARCH = "SEARCH",
|
|
1890
1942
|
SUGGEST = "SUGGEST",
|
|
1891
1943
|
ADD_SEARCH_QUERY = "ADD_SEARCH_QUERY",
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1944
|
+
/**
|
|
1945
|
+
* @deprecated Use {@link FLAT_LABEL_ALL_LOCATIONS} or {@link FLOATING_LABEL_ALL_LOCATIONS} instead.
|
|
1946
|
+
*/
|
|
1947
|
+
LABEL_ALL_LOCATIONS = "LABEL_ALL_LOCATIONS",
|
|
1948
|
+
/**
|
|
1949
|
+
* @deprecated
|
|
1950
|
+
* Use EVENT.CLICK instead
|
|
1951
|
+
*/
|
|
1952
|
+
NOTHING_CLICKED = "NOTHING_CLICKED",
|
|
1953
|
+
/**
|
|
1954
|
+
* @deprecated
|
|
1955
|
+
* Use EVENT.CLICK instead
|
|
1956
|
+
*/
|
|
1957
|
+
POLYGON_CLICKED = "POLYGON_CLICKED",
|
|
1958
|
+
/**
|
|
1959
|
+
* @deprecated
|
|
1960
|
+
* Use EVENT.ADD_PATH instead
|
|
1961
|
+
*/
|
|
1962
|
+
DRAW_PATH = "DRAW_PATH"
|
|
1898
1963
|
}
|
|
1899
1964
|
export enum WAYFINDING_EVENT {
|
|
1900
1965
|
GET_MAPS_IN_NAVIGATION = "GET_MAPS_IN_NAVIGATION",
|
|
@@ -1925,10 +1990,9 @@ declare module '@mappedin/react-native-sdk/wrappers/common/events' {
|
|
|
1925
1990
|
|
|
1926
1991
|
declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
1927
1992
|
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/core/packages/renderer/index.rn';
|
|
1928
|
-
import { TFocusOnTargetsSerializable, TMiMapViewOptions, TSerializedCoordinate, TSerializedMap } from '@mappedin/react-native-sdk/wrappers/common/types';
|
|
1993
|
+
import { TFocusOnTargetsSerializable, TMiMapViewOptions, TSerializedCoordinate, TSerializedMap, TSerializableJourneyOptions, TSerializedLocation, TSerializedNode, TSerializedPolygon } from '@mappedin/react-native-sdk/wrappers/common/types';
|
|
1929
1994
|
import { BRIDGE_EVENT, EVENT, MINIMAP_EVENT, NATIVE_EVENT } from '@mappedin/react-native-sdk/wrappers/common';
|
|
1930
|
-
import {
|
|
1931
|
-
import { TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
1995
|
+
import { TAnimationOptions, TCreateTooltipCommonOptions, TCreateTooltipOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
1932
1996
|
export type BRIDGE_EVENT_PAYLOADS = {
|
|
1933
1997
|
[BRIDGE_EVENT.REJECT]: any;
|
|
1934
1998
|
[BRIDGE_EVENT.RESOLVE]: any;
|
|
@@ -2011,6 +2075,11 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2011
2075
|
[EVENT.SET_JOURNEY_STEP]: {
|
|
2012
2076
|
step: number;
|
|
2013
2077
|
};
|
|
2078
|
+
[EVENT.SET_JOURNEY_STEP_BY_PATH]: {
|
|
2079
|
+
path: {
|
|
2080
|
+
id: string;
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2014
2083
|
[EVENT.LOAD_VENUE]: {
|
|
2015
2084
|
options: TGetVenueOptions & {
|
|
2016
2085
|
useBundle?: boolean;
|
|
@@ -2164,21 +2233,22 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2164
2233
|
tiltAngle: number;
|
|
2165
2234
|
};
|
|
2166
2235
|
[EVENT.CREATE_MARKER]: {
|
|
2167
|
-
nodeOrCoordinate:
|
|
2168
|
-
type: 'Node';
|
|
2169
|
-
id: string;
|
|
2170
|
-
} | {
|
|
2171
|
-
type: 'Coordinate';
|
|
2172
|
-
mapId: string;
|
|
2173
|
-
lat: number;
|
|
2174
|
-
lon: number;
|
|
2175
|
-
};
|
|
2236
|
+
nodeOrCoordinate: TSerializedNode | TSerializedCoordinate;
|
|
2176
2237
|
contentHtml: string;
|
|
2177
2238
|
options: any;
|
|
2178
2239
|
};
|
|
2179
2240
|
[EVENT.REMOVE_MARKER]: {
|
|
2180
2241
|
markerId: string;
|
|
2181
2242
|
};
|
|
2243
|
+
[EVENT.SET_MARKER_POSITION]: {
|
|
2244
|
+
markerId: string;
|
|
2245
|
+
nodeOrCoordinate: TSerializedNode | TSerializedCoordinate;
|
|
2246
|
+
};
|
|
2247
|
+
[EVENT.ANIMATE_MARKER]: {
|
|
2248
|
+
markerId: string;
|
|
2249
|
+
nodeOrCoordinate: TSerializedNode | TSerializedCoordinate;
|
|
2250
|
+
animationOptions: TAnimationOptions;
|
|
2251
|
+
};
|
|
2182
2252
|
[EVENT.OVERRIDE_LOCATION]: {
|
|
2183
2253
|
location: TGeolocationObject;
|
|
2184
2254
|
};
|
|
@@ -2186,6 +2256,15 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2186
2256
|
path: MappedinNode['id'][];
|
|
2187
2257
|
pathOptions: TPathOptions;
|
|
2188
2258
|
};
|
|
2259
|
+
[EVENT.ADD_PATH]: {
|
|
2260
|
+
nodes: TSerializedNode[];
|
|
2261
|
+
options: TPathOptions;
|
|
2262
|
+
};
|
|
2263
|
+
[EVENT.REMOVE_PATH]: {
|
|
2264
|
+
path: {
|
|
2265
|
+
id: string;
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2189
2268
|
[EVENT.REMOVE_ALL_PATHS]: null;
|
|
2190
2269
|
[EVENT.SET_STATE]: {
|
|
2191
2270
|
state: STATE;
|
|
@@ -2229,6 +2308,9 @@ declare module '@mappedin/react-native-sdk/wrappers/common/payloads' {
|
|
|
2229
2308
|
}[];
|
|
2230
2309
|
maps: TSerializedMap[];
|
|
2231
2310
|
nearBlueDot: boolean;
|
|
2311
|
+
paths: {
|
|
2312
|
+
id: string;
|
|
2313
|
+
}[];
|
|
2232
2314
|
};
|
|
2233
2315
|
[EVENT.GET_POLYGONS_AT_COORDINATE]: {
|
|
2234
2316
|
coordinate: TSerializedCoordinate;
|
|
@@ -2354,6 +2436,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2354
2436
|
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub.typed';
|
|
2355
2437
|
import { FlatLabel } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.LabelAtlas';
|
|
2356
2438
|
import MapObject from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.MapObject';
|
|
2439
|
+
import PathsController from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
2357
2440
|
export type TFocusOptionsLegacy = {
|
|
2358
2441
|
/**
|
|
2359
2442
|
* An array of Nodes to focus in on
|
|
@@ -2421,6 +2504,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2421
2504
|
cameraParameters: Vector2;
|
|
2422
2505
|
resolution: Vector2;
|
|
2423
2506
|
determineNewLabelSize: any;
|
|
2507
|
+
paths: PathsController;
|
|
2424
2508
|
on<EVENT_NAME extends keyof INTERNAL_EVENT_PAYLOAD>(eventName: EVENT_NAME, fn: (payload: INTERNAL_EVENT_PAYLOAD[EVENT_NAME] extends {
|
|
2425
2509
|
data: null;
|
|
2426
2510
|
} ? INTERNAL_EVENT_PAYLOAD[EVENT_NAME]['data'] : INTERNAL_EVENT_PAYLOAD[EVENT_NAME]) => void): void;
|
|
@@ -2568,8 +2652,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2568
2652
|
}
|
|
2569
2653
|
|
|
2570
2654
|
declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
2571
|
-
import { BRIDGE_EVENT, BRIDGE_EVENT_PAYLOADS } from '@mappedin/react-native-sdk/wrappers/common';
|
|
2572
|
-
import { PubSub } from '@mappedin/react-native-sdk/wrappers/common';
|
|
2655
|
+
import { PubSub, BRIDGE_EVENT, BRIDGE_EVENT_PAYLOADS } from '@mappedin/react-native-sdk/wrappers/common';
|
|
2573
2656
|
export function uuid(): string;
|
|
2574
2657
|
export class MappedinController {
|
|
2575
2658
|
#private;
|
|
@@ -2692,6 +2775,10 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2692
2775
|
msgID?: string | undefined;
|
|
2693
2776
|
data: {
|
|
2694
2777
|
position: {
|
|
2778
|
+
/**
|
|
2779
|
+
* Handle rejection from the other side, typically when the request results in an error
|
|
2780
|
+
* @hidden
|
|
2781
|
+
*/
|
|
2695
2782
|
x: number;
|
|
2696
2783
|
y: number;
|
|
2697
2784
|
};
|
|
@@ -2740,6 +2827,14 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2740
2827
|
step: number;
|
|
2741
2828
|
};
|
|
2742
2829
|
};
|
|
2830
|
+
SET_JOURNEY_STEP_BY_PATH: {
|
|
2831
|
+
msgID?: string | undefined;
|
|
2832
|
+
data: {
|
|
2833
|
+
path: {
|
|
2834
|
+
id: string;
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2837
|
+
};
|
|
2743
2838
|
LOAD_VENUE: {
|
|
2744
2839
|
msgID?: string | undefined;
|
|
2745
2840
|
data: {
|
|
@@ -2989,15 +3084,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2989
3084
|
CREATE_MARKER: {
|
|
2990
3085
|
msgID?: string | undefined;
|
|
2991
3086
|
data: {
|
|
2992
|
-
nodeOrCoordinate:
|
|
2993
|
-
type: "Node";
|
|
2994
|
-
id: string;
|
|
2995
|
-
} | {
|
|
2996
|
-
type: "Coordinate";
|
|
2997
|
-
mapId: string;
|
|
2998
|
-
lat: number;
|
|
2999
|
-
lon: number;
|
|
3000
|
-
};
|
|
3087
|
+
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
3001
3088
|
contentHtml: string;
|
|
3002
3089
|
options: any;
|
|
3003
3090
|
};
|
|
@@ -3008,6 +3095,21 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3008
3095
|
markerId: string;
|
|
3009
3096
|
};
|
|
3010
3097
|
};
|
|
3098
|
+
SET_MARKER_POSITION: {
|
|
3099
|
+
msgID?: string | undefined;
|
|
3100
|
+
data: {
|
|
3101
|
+
markerId: string;
|
|
3102
|
+
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
3103
|
+
};
|
|
3104
|
+
};
|
|
3105
|
+
ANIMATE_MARKER: {
|
|
3106
|
+
msgID?: string | undefined;
|
|
3107
|
+
data: {
|
|
3108
|
+
markerId: string;
|
|
3109
|
+
nodeOrCoordinate: import("./types").TSerializedCoordinate | import("./types").TSerializedNode;
|
|
3110
|
+
animationOptions: import("../../core/packages/renderer").TAnimationOptions;
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3011
3113
|
OVERRIDE_LOCATION: {
|
|
3012
3114
|
msgID?: string | undefined;
|
|
3013
3115
|
data: {
|
|
@@ -3021,6 +3123,21 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3021
3123
|
pathOptions: import("../react-native-sdk/src").TPathOptions;
|
|
3022
3124
|
};
|
|
3023
3125
|
};
|
|
3126
|
+
ADD_PATH: {
|
|
3127
|
+
msgID?: string | undefined;
|
|
3128
|
+
data: {
|
|
3129
|
+
nodes: import("./types").TSerializedNode[];
|
|
3130
|
+
options: import("../react-native-sdk/src").TPathOptions;
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
REMOVE_PATH: {
|
|
3134
|
+
msgID?: string | undefined;
|
|
3135
|
+
data: {
|
|
3136
|
+
path: {
|
|
3137
|
+
id: string;
|
|
3138
|
+
};
|
|
3139
|
+
};
|
|
3140
|
+
};
|
|
3024
3141
|
REMOVE_ALL_PATHS: {
|
|
3025
3142
|
msgID?: string | undefined;
|
|
3026
3143
|
data: null;
|
|
@@ -3093,6 +3210,9 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
3093
3210
|
}[];
|
|
3094
3211
|
maps: import("./types").TSerializedMap[];
|
|
3095
3212
|
nearBlueDot: boolean;
|
|
3213
|
+
paths: {
|
|
3214
|
+
id: string;
|
|
3215
|
+
}[];
|
|
3096
3216
|
};
|
|
3097
3217
|
};
|
|
3098
3218
|
GET_POLYGONS_AT_COORDINATE: {
|
|
@@ -3384,8 +3504,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3384
3504
|
import FakeGeolocation from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/fake-geolocation';
|
|
3385
3505
|
import { IStateMachine } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.StateMachine';
|
|
3386
3506
|
import { E_BLUEDOT_MARKER_STATE, E_BLUEDOT_STATE, E_BLUEDOT_STATE_REASON } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
3387
|
-
import { IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
|
|
3388
|
-
import { PubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
|
|
3507
|
+
import { PubSub, IPubSub } from '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-sub';
|
|
3389
3508
|
import { MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
3390
3509
|
import { TGeolocationObject } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
3391
3510
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
@@ -3625,6 +3744,115 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
3625
3744
|
export default SmartTooltip;
|
|
3626
3745
|
}
|
|
3627
3746
|
|
|
3747
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths' {
|
|
3748
|
+
import { TPathOptions, MappedinNode } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
3749
|
+
import { ANIMATION_TWEENS } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
3750
|
+
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
3751
|
+
export type TPathOptionsInternal = TPathOptions & {
|
|
3752
|
+
curve?: typeof ANIMATION_TWEENS;
|
|
3753
|
+
drawConnectionSegments?: boolean;
|
|
3754
|
+
connectionPathOptions?: TPathOptions & {
|
|
3755
|
+
curve?: typeof ANIMATION_TWEENS;
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3758
|
+
export type TInternalPathSegment = {
|
|
3759
|
+
id: string;
|
|
3760
|
+
nodes: MappedinNode[];
|
|
3761
|
+
mapId?: string;
|
|
3762
|
+
isConnectionPathSegment?: boolean;
|
|
3763
|
+
reset: () => void;
|
|
3764
|
+
resetPulse: () => void;
|
|
3765
|
+
object: any;
|
|
3766
|
+
tween: any;
|
|
3767
|
+
pulseTween: any;
|
|
3768
|
+
endPauseTween?: any;
|
|
3769
|
+
arrowAnimationTween: any;
|
|
3770
|
+
};
|
|
3771
|
+
/**
|
|
3772
|
+
* An object containing information that was used to draw a path on the map.
|
|
3773
|
+
*/
|
|
3774
|
+
export class Path {
|
|
3775
|
+
#private;
|
|
3776
|
+
constructor(internalPathObject: InternalPath);
|
|
3777
|
+
/**
|
|
3778
|
+
* A generated ID for this path object
|
|
3779
|
+
*/
|
|
3780
|
+
get id(): string;
|
|
3781
|
+
/**
|
|
3782
|
+
* A {@link MappedinNode}[] representing the nodes in the path
|
|
3783
|
+
*/
|
|
3784
|
+
get nodes(): MappedinNode[];
|
|
3785
|
+
}
|
|
3786
|
+
/**
|
|
3787
|
+
* Represents all the segments created for a single call to drawPath()
|
|
3788
|
+
*/
|
|
3789
|
+
export class InternalPath {
|
|
3790
|
+
id: string;
|
|
3791
|
+
nodes: MappedinNode[];
|
|
3792
|
+
pathSegments: TInternalPathSegment[];
|
|
3793
|
+
options: TPathOptionsInternal;
|
|
3794
|
+
constructor(nodes: MappedinNode[], pathSegments: TInternalPathSegment[], options: TPathOptionsInternal);
|
|
3795
|
+
}
|
|
3796
|
+
class PathsController {
|
|
3797
|
+
#private;
|
|
3798
|
+
constructor(core: ICore);
|
|
3799
|
+
pathSegments: Map<string, TInternalPathSegment>;
|
|
3800
|
+
pathsById: Map<string, {
|
|
3801
|
+
path: Path;
|
|
3802
|
+
internalPath: InternalPath;
|
|
3803
|
+
}>;
|
|
3804
|
+
pathsByMeshId: Map<string, {
|
|
3805
|
+
path: Path;
|
|
3806
|
+
internalPath: InternalPath;
|
|
3807
|
+
}>;
|
|
3808
|
+
getPathLength(path: any): number;
|
|
3809
|
+
/**
|
|
3810
|
+
* Draws path in 3D space
|
|
3811
|
+
*
|
|
3812
|
+
* Draws an entire path. It takes a list of nodes and will break them into separate path segments on every man change, putting the resultant segment on the right map.
|
|
3813
|
+
*
|
|
3814
|
+
* If you have a special use case (like off graph nodes, or venues with same map vortexes) use the drawPathSegment function.
|
|
3815
|
+
*
|
|
3816
|
+
* @method drawPath
|
|
3817
|
+
* @param path {[MappedinNode]} An array of Nodes, probably from a Node's {{#crossLink "MappedinNode/directionsTo:method"}}{{/crossLink}} call.
|
|
3818
|
+
* @param [options] {Object} Options for path drawing
|
|
3819
|
+
* @param [options.color='#ff834c'] {String} Path Colour
|
|
3820
|
+
* @param [options.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
3821
|
+
* @param [options.pulseIterations=1] {Number} Number of iterations to pulse to indicate direction, also accepts 'Infinity'
|
|
3822
|
+
* @param [options.pulsePauseDuration=750] {Number} How many milliseconds to wait before starting the next pulse after the current pulse travels the entirety of the path
|
|
3823
|
+
* @param [options.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
3824
|
+
* @param [options.farRadius=options.nearRadius] {Number} Radius of path at furthest zoom
|
|
3825
|
+
* @param [options.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
3826
|
+
* @param [options.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
3827
|
+
* @param [options.drawDuration=1200] {Number} Duration of path drawing
|
|
3828
|
+
* @param [options.curve=TWEEN.Easing.Cubic.InOut] {Object} Path animation curve
|
|
3829
|
+
*
|
|
3830
|
+
* // NOTE: These options are disabled
|
|
3831
|
+
* @param [options.drawConnectionSegments=true] Draw map-to-map connection segments
|
|
3832
|
+
* @param [options.connectionPathOptions] {Object} Options for floor-to-floor connection paths
|
|
3833
|
+
* @param [options.connectionPathOptions.color='#ff834c'] {String} Path Colour
|
|
3834
|
+
* @param [options.connectionPathOptions.pulseColor='#ffffff'] {String} Colour of path pulse
|
|
3835
|
+
* @param [options.connectionPathOptions.pulseIterations=Infinity] {Number} Number of iterations to pulse to indicate direction
|
|
3836
|
+
* @param [options.connectionPathOptions.nearRadius=1.8] {Number} Radius of path at nearest zoom
|
|
3837
|
+
* @param [options.connectionPathOptions.farRadius=options.connectionPathOptions.nearRadius] {Number} Radius of path at furthest zoom
|
|
3838
|
+
* @param [options.connectionPathOptions.nearZoom=375] {Number} Zoom level where the path size is `nearRadius`
|
|
3839
|
+
* @param [options.connectionPathOptions.farZoom=10000] {Number} Zoom level where the path size is `farRadius`
|
|
3840
|
+
* @param [options.connectionPathOptions.drawDuration=600] {Number} Duration of path drawing
|
|
3841
|
+
* @param [options.connectionPathOptions.curve=TWEEN.Easing.Cubic.InOut] {Object} Connection Path animation curve
|
|
3842
|
+
*
|
|
3843
|
+
* @returns {Array} Array of Tween segments representing paths drawn on screen
|
|
3844
|
+
*/
|
|
3845
|
+
drawPath(path: MappedinNode[], options?: TPathOptionsInternal): Path;
|
|
3846
|
+
/**
|
|
3847
|
+
* Redraw an existing path with optional new options. This avoids changing its ID or reference.
|
|
3848
|
+
*/
|
|
3849
|
+
redrawPath(path: Path, options?: TPathOptionsInternal): void;
|
|
3850
|
+
removePath(pathOrPathId: Path | string): void;
|
|
3851
|
+
removeAllPaths(): void;
|
|
3852
|
+
}
|
|
3853
|
+
export default PathsController;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3628
3856
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/BlueDot' {
|
|
3629
3857
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
3630
3858
|
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
@@ -3662,6 +3890,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Journey
|
|
|
3662
3890
|
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
3663
3891
|
import { Journey } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Journey';
|
|
3664
3892
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
3893
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
3665
3894
|
class JourneyLayer {
|
|
3666
3895
|
#private;
|
|
3667
3896
|
/**
|
|
@@ -3686,6 +3915,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Journey
|
|
|
3686
3915
|
* Set the step of a multipart Journey
|
|
3687
3916
|
*/
|
|
3688
3917
|
setStep(step: number): void;
|
|
3918
|
+
/**
|
|
3919
|
+
* Set the step using a Path object
|
|
3920
|
+
*/
|
|
3921
|
+
setStepByPath(path: Path): void;
|
|
3689
3922
|
/**
|
|
3690
3923
|
* Clear the current Journey
|
|
3691
3924
|
*/
|
|
@@ -3995,7 +4228,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin' {
|
|
|
3995
4228
|
* @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
|
|
3996
4229
|
* @param shouldPopulateBundledImagesAsBlobs Takes the scenes and images from a bundle and maps them as blobs to where they exist as URLs in the bundle. False by default
|
|
3997
4230
|
*/
|
|
3998
|
-
hydrate(mappedinSerializableData: string |
|
|
4231
|
+
hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean): Promise<undefined>;
|
|
3999
4232
|
images: any;
|
|
4000
4233
|
imageBinaries?: Map<string, Uint8Array>;
|
|
4001
4234
|
scenes: any;
|
|
@@ -5485,7 +5718,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/NavigationGra
|
|
|
5485
5718
|
mapsById: {
|
|
5486
5719
|
[propName: string]: IMap;
|
|
5487
5720
|
};
|
|
5488
|
-
constructor({ nodes, vortexes, maps, showVortexNames }: {
|
|
5721
|
+
constructor({ nodes, vortexes, maps, showVortexNames, }: {
|
|
5489
5722
|
nodes: INode[];
|
|
5490
5723
|
vortexes: IVortex[];
|
|
5491
5724
|
maps: IMap[];
|
|
@@ -5524,7 +5757,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Navigator' {
|
|
|
5524
5757
|
instructions: Directive[];
|
|
5525
5758
|
}
|
|
5526
5759
|
class Navigator {
|
|
5527
|
-
constructor({ locations, nodes, vortexes, maps, showVortexNames }: {
|
|
5760
|
+
constructor({ locations, nodes, vortexes, maps, showVortexNames, }: {
|
|
5528
5761
|
locations: ILocation[];
|
|
5529
5762
|
nodes: INode[];
|
|
5530
5763
|
vortexes: IVortex[];
|
|
@@ -5546,7 +5779,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Navigator' {
|
|
|
5546
5779
|
* @param departFrom ILocation - optional, id and name of a location to represent start of journey
|
|
5547
5780
|
* @param arriveAt ILocation - optional, id and name of a location to represent end of journey
|
|
5548
5781
|
*/
|
|
5549
|
-
getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt }: {
|
|
5782
|
+
getDirections({ originIds, destinationNodeIds, accessible, departFrom, arriveAt, }: {
|
|
5550
5783
|
originIds: string[];
|
|
5551
5784
|
destinationNodeIds: string[];
|
|
5552
5785
|
accessible: boolean;
|
|
@@ -5610,7 +5843,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Directive' {
|
|
|
5610
5843
|
atLocation?: ILocation;
|
|
5611
5844
|
type?: BEARING_TYPE;
|
|
5612
5845
|
distance: number;
|
|
5613
|
-
constructor({ origin, action, distance, atLocation, instruction }: {
|
|
5846
|
+
constructor({ origin, action, distance, atLocation, instruction, }: {
|
|
5614
5847
|
origin?: INode;
|
|
5615
5848
|
action?: IAction;
|
|
5616
5849
|
distance?: number;
|
|
@@ -5646,8 +5879,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5646
5879
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5647
5880
|
import { getVenue, getVenueBundle, Mappedin, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5648
5881
|
import { PositionUpdater } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
5649
|
-
import type { TMapViewOptions
|
|
5650
|
-
import { labelThemes } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5882
|
+
import type { TMapViewOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5651
5883
|
import { MARKER_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Marker';
|
|
5652
5884
|
export type { Marker } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Markers';
|
|
5653
5885
|
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/react-native-sdk/core/packages/navigator';
|
|
@@ -5677,8 +5909,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5677
5909
|
* @returns
|
|
5678
5910
|
*/
|
|
5679
5911
|
function showVenue<T extends Mappedin>(el: HTMLElement, venue: T, options?: TMapViewOptions): Promise<MapView>;
|
|
5680
|
-
export { COLLISION_RANKING_TIERS, STATE, E_SDK_EVENT, E_BLUEDOT_STATE_REASON, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_EVENT, E_BLUEDOT_STATE, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
5681
|
-
export { getVenue, getVenueBundle, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, PositionUpdater, MappedinDestinationSet, MARKER_ANCHOR,
|
|
5912
|
+
export { COLLISION_RANKING_TIERS, STATE, E_SDK_EVENT, E_BLUEDOT_STATE_REASON, E_BLUEDOT_MARKER_STATE, E_BLUEDOT_EVENT, E_BLUEDOT_STATE, E_CAMERA_EVENT, E_CAMERA_DIRECTION, SAFE_AREA_INSET_TYPE, ANIMATION_TWEENS, CAMERA_EASING_MODE, } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.enums';
|
|
5913
|
+
export { getVenue, getVenueBundle, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, PositionUpdater, MappedinDestinationSet, MARKER_ANCHOR, };
|
|
5682
5914
|
import DefaultAssetManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.AssetManager';
|
|
5683
5915
|
import { TTileManagerOptions } from '@mappedin/react-native-sdk/core/packages/renderer/layers/Outdoor-Context/Mappedin.TileManager';
|
|
5684
5916
|
/**
|
|
@@ -5693,15 +5925,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5693
5925
|
/**
|
|
5694
5926
|
* @internal
|
|
5695
5927
|
*/
|
|
5696
|
-
DefaultAssetManager as AssetManager };
|
|
5928
|
+
DefaultAssetManager as AssetManager, };
|
|
5697
5929
|
export type { TMappedinDirective } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinDirections';
|
|
5698
|
-
export type {
|
|
5699
|
-
export type { TBlueDotPositionUpdate, TBlueDotStateChange, TEnableBlueDotOptions } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.BlueDot/Mappedin.BlueDot.core';
|
|
5930
|
+
export type { TMappedinInitializeOptions };
|
|
5700
5931
|
export * from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
5701
5932
|
export type { MapView } from '@mappedin/react-native-sdk/core/packages/renderer/MapView';
|
|
5702
|
-
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as Camera } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
5703
|
-
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5704
|
-
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5933
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, default as Camera, } from '@mappedin/react-native-sdk/core/packages/renderer/Camera';
|
|
5934
|
+
export type { TGetVenueOptions, TShowVenueOptions, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineAllSearchMatch, TMappedinOfflineSearchAllOptions, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5935
|
+
export { Mappedin, MappedinDirections, MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinNavigatable, MappedinCoordinate, OfflineSearch, MAP_RENDER_MODE, setFetchFn, MappedinCollectionType, } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5705
5936
|
/**
|
|
5706
5937
|
* @internal
|
|
5707
5938
|
* @hidden
|
|
@@ -5723,12 +5954,12 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
5723
5954
|
/**
|
|
5724
5955
|
* @internal
|
|
5725
5956
|
*/
|
|
5726
|
-
OpenStreetMapOutdoorContext } from './layers/Outdoor-Context/Outdoor-Context.provider';
|
|
5957
|
+
OpenStreetMapOutdoorContext, } from './layers/Outdoor-Context/Outdoor-Context.provider';
|
|
5727
5958
|
export type {
|
|
5728
5959
|
/**
|
|
5729
5960
|
* @internal
|
|
5730
5961
|
*/
|
|
5731
|
-
IOutdoorContextProvider } from './layers/Outdoor-Context/Outdoor-Context.provider';
|
|
5962
|
+
IOutdoorContextProvider, } from './layers/Outdoor-Context/Outdoor-Context.provider';
|
|
5732
5963
|
}
|
|
5733
5964
|
|
|
5734
5965
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.RenderTasks' {
|
|
@@ -5761,6 +5992,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
|
5761
5992
|
import { IFlatLabels } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.FlatLabels';
|
|
5762
5993
|
import { IFloatingLabels } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.FloatingLabels';
|
|
5763
5994
|
import { MarkersLayer } from '@mappedin/react-native-sdk/core/packages/renderer/layers/Markers';
|
|
5995
|
+
import { PathsLayer } from '@mappedin/react-native-sdk/core/packages/renderer/layers/Paths';
|
|
5764
5996
|
export enum INTERNAL_EVENT {
|
|
5765
5997
|
ON_FIRST_MAP_LOADED = 0,
|
|
5766
5998
|
TEXTURE_LOADED = 1,
|
|
@@ -5833,6 +6065,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
|
5833
6065
|
FlatLabels: IFlatLabels<void>;
|
|
5834
6066
|
FloatingLabels: IFloatingLabels<void>;
|
|
5835
6067
|
Markers: MarkersLayer;
|
|
6068
|
+
Paths: PathsLayer;
|
|
5836
6069
|
options: TMapViewOptions;
|
|
5837
6070
|
constructor(container: HTMLElement, venue: Mappedin, options?: TMapViewOptions & {
|
|
5838
6071
|
onFirstMapLoaded: () => void;
|
|
@@ -6032,6 +6265,8 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
|
6032
6265
|
enableImageFlippingForPolygon(polygon: MappedinPolygon): void;
|
|
6033
6266
|
disableImageFlippingForAllPolygons(): void;
|
|
6034
6267
|
/**
|
|
6268
|
+
* @deprecated Use `mapView.Paths.add` instead.
|
|
6269
|
+
*
|
|
6035
6270
|
* Draws an entire path. It takes a list of Nodes and will break them into separate pathSegments on every map change, putting the resultant segment on the right Map.
|
|
6036
6271
|
*
|
|
6037
6272
|
* @param path An array of Nodes, probably from a Node's {@link MappedinNode.directionsTo} call.
|
|
@@ -6039,12 +6274,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView' {
|
|
|
6039
6274
|
*/
|
|
6040
6275
|
drawPath(path: MappedinNode[], options?: TPathOptions): string;
|
|
6041
6276
|
/**
|
|
6277
|
+
* @deprecated Use `mapView.Paths.remove` instead.
|
|
6278
|
+
*
|
|
6042
6279
|
* Remove a path by id
|
|
6043
6280
|
*/
|
|
6044
6281
|
removePath(pathId: string): void;
|
|
6045
6282
|
/**
|
|
6046
|
-
*
|
|
6283
|
+
* @deprecated Use `mapView.Paths.removeAll` instead.
|
|
6047
6284
|
*
|
|
6285
|
+
* Removes all pathSegments from all Maps.
|
|
6048
6286
|
*/
|
|
6049
6287
|
removeAllPaths(): void;
|
|
6050
6288
|
/**
|
|
@@ -6146,14 +6384,14 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
6146
6384
|
* Arbitrary data that you can store along with this update.
|
|
6147
6385
|
*/
|
|
6148
6386
|
constructor(options: {
|
|
6149
|
-
callback:
|
|
6387
|
+
callback: (...args: any[]) => any;
|
|
6150
6388
|
frameCount?: number;
|
|
6151
6389
|
ordering?: number;
|
|
6152
6390
|
supersededBy?: Set<any>;
|
|
6153
6391
|
name: string;
|
|
6154
6392
|
userdata?: Record<string, any>;
|
|
6155
6393
|
});
|
|
6156
|
-
_callback:
|
|
6394
|
+
_callback: (...args: any[]) => any;
|
|
6157
6395
|
_frameCount: number;
|
|
6158
6396
|
_ordering: number;
|
|
6159
6397
|
_supersededBy: Set<any>;
|
|
@@ -6207,7 +6445,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
6207
6445
|
postponeOnAdd: number | boolean;
|
|
6208
6446
|
name: string;
|
|
6209
6447
|
lastFrameTime: number;
|
|
6210
|
-
callback:
|
|
6448
|
+
callback: (...args: any[]) => any;
|
|
6211
6449
|
});
|
|
6212
6450
|
_postponed: number | boolean;
|
|
6213
6451
|
userdata: Record<string, any>;
|
|
@@ -6215,7 +6453,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
6215
6453
|
_group: FrameTaskGroup | null;
|
|
6216
6454
|
name: string;
|
|
6217
6455
|
_lastFrameTime: number;
|
|
6218
|
-
_callback:
|
|
6456
|
+
_callback: (...args: any[]) => any;
|
|
6219
6457
|
_complete: boolean;
|
|
6220
6458
|
_scheduled: boolean;
|
|
6221
6459
|
_cancelled: boolean;
|
|
@@ -6266,14 +6504,14 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Task
|
|
|
6266
6504
|
* Arbitrary data that you can store along with this task group.
|
|
6267
6505
|
*/
|
|
6268
6506
|
constructor(options: {
|
|
6269
|
-
onComplete?:
|
|
6507
|
+
onComplete?: (...args: any[]) => any;
|
|
6270
6508
|
priority?: number;
|
|
6271
6509
|
userdata: Record<string, any>;
|
|
6272
6510
|
postponeOnAdd: number | boolean;
|
|
6273
6511
|
name: string;
|
|
6274
6512
|
});
|
|
6275
6513
|
_postponed: number | boolean;
|
|
6276
|
-
_onComplete:
|
|
6514
|
+
_onComplete: (...args: any[]) => any;
|
|
6277
6515
|
_priority: number;
|
|
6278
6516
|
userdata: Record<string, any>;
|
|
6279
6517
|
name: string;
|
|
@@ -6995,12 +7233,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
6995
7233
|
visible: boolean;
|
|
6996
7234
|
rank: number;
|
|
6997
7235
|
id: string;
|
|
6998
|
-
_bboxes?: [
|
|
6999
|
-
string,
|
|
7000
|
-
Rectangle,
|
|
7001
|
-
(collider: TCustomCollider<any>) => void,
|
|
7002
|
-
TGetBoundingBox
|
|
7003
|
-
][];
|
|
7236
|
+
_bboxes?: [string, Rectangle, (collider: TCustomCollider<any>) => void, TGetBoundingBox][];
|
|
7004
7237
|
offscreen?: boolean;
|
|
7005
7238
|
setAction: (action: EColliderAction) => void;
|
|
7006
7239
|
action?: EColliderAction;
|
|
@@ -7152,7 +7385,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/pub-s
|
|
|
7152
7385
|
off(eventName: any, fn: any): void;
|
|
7153
7386
|
destroy(): void;
|
|
7154
7387
|
}
|
|
7155
|
-
export const PubSubLegacy: () => void;
|
|
7156
7388
|
export function tinyObservable<T>(store: T): T & IPubSub;
|
|
7157
7389
|
export {};
|
|
7158
7390
|
}
|
|
@@ -7174,7 +7406,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-
|
|
|
7174
7406
|
* @param [options.minRadius] The ring around the blue dot will only be drawn if `options.radius` is greater than or equal to this value, in metres. Must be >= 0.
|
|
7175
7407
|
* @param [options.radiusUpdateInterval] The width of radius update steps, in metres. For example, if interval is 3 and assume `minRadius` is 8, then the radius will be updated on 8, 11, 14, 17, etc. Must be >= 0.
|
|
7176
7408
|
*/
|
|
7177
|
-
constructor({ mapView, threeDMarkerLayer, core, minRadius, maxRadius, radiusUpdateInterval, radiusTweenOptions }?: {
|
|
7409
|
+
constructor({ mapView, threeDMarkerLayer, core, minRadius, maxRadius, radiusUpdateInterval, radiusTweenOptions, }?: {
|
|
7178
7410
|
mapView: any;
|
|
7179
7411
|
threeDMarkerLayer: any;
|
|
7180
7412
|
core: any;
|
|
@@ -7306,6 +7538,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSy
|
|
|
7306
7538
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7307
7539
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
7308
7540
|
import BlueDotManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager';
|
|
7541
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
7309
7542
|
class EventSystemLayer {
|
|
7310
7543
|
mapView: MapView;
|
|
7311
7544
|
core: ICore;
|
|
@@ -7363,6 +7596,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSy
|
|
|
7363
7596
|
getMouseRayIntersects: (objects: Object3D | Object3D[]) => any;
|
|
7364
7597
|
detectCollidersUnderMouse: () => any;
|
|
7365
7598
|
detectPolygonsUnderMouse: () => string[];
|
|
7599
|
+
detectPathsUnderMouse: () => Path[];
|
|
7366
7600
|
detectMapsUnderMouse: () => any;
|
|
7367
7601
|
getMouseMapPosition: () => {
|
|
7368
7602
|
x: number;
|
|
@@ -7381,10 +7615,11 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSy
|
|
|
7381
7615
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Journey' {
|
|
7382
7616
|
import type Directive from '@mappedin/react-native-sdk/core/packages/navigator/Directive';
|
|
7383
7617
|
import type INode from '@mappedin/react-native-sdk/core/packages/navigator/interfaces/INode';
|
|
7384
|
-
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7385
7618
|
import { TJourneyOptions } from '@mappedin/react-native-sdk/core/packages/renderer/MapView.types';
|
|
7619
|
+
import { MappedinDirections } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
7386
7620
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7387
7621
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
7622
|
+
import { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
7388
7623
|
export type TMappedinDirections = {
|
|
7389
7624
|
distance: number;
|
|
7390
7625
|
path: INode[];
|
|
@@ -7406,6 +7641,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
7406
7641
|
get mapIdsInvolvedInJourney(): string[];
|
|
7407
7642
|
constructor(directions: MappedinDirections | MappedinDirections[], options: TJourneyOptions | undefined, mapView: MapView, core: ICore);
|
|
7408
7643
|
setStep: (step: any) => void;
|
|
7644
|
+
setStepByPath: (path: Path) => void;
|
|
7409
7645
|
static instance: Journey | null;
|
|
7410
7646
|
static create(directions: MappedinDirections | MappedinDirections[], options: any, mapView: MapView, core: ICore): Journey;
|
|
7411
7647
|
destroy(): void;
|
|
@@ -7696,7 +7932,7 @@ declare module '@mappedin/react-native-sdk/core/packages/navigator/Edge' {
|
|
|
7696
7932
|
distance: number;
|
|
7697
7933
|
angle: number;
|
|
7698
7934
|
weight: number;
|
|
7699
|
-
constructor({ origin, destination, vortex, elevationDelta, distance, angle }: {
|
|
7935
|
+
constructor({ origin, destination, vortex, elevationDelta, distance, angle, }: {
|
|
7700
7936
|
origin: INode;
|
|
7701
7937
|
destination: INode;
|
|
7702
7938
|
vortex?: IVortex;
|
|
@@ -7830,6 +8066,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
7830
8066
|
import { TCreateMarkerOptions, TAnimationOptions } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
7831
8067
|
import InternalMarker from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Marker';
|
|
7832
8068
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
8069
|
+
import TWEEN from '@tweenjs/tween.js';
|
|
7833
8070
|
/**
|
|
7834
8071
|
* A marker containing some HTML content.
|
|
7835
8072
|
*/
|
|
@@ -7851,6 +8088,14 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
7851
8088
|
}
|
|
7852
8089
|
class MarkersController {
|
|
7853
8090
|
#private;
|
|
8091
|
+
markersMap: Map<string, {
|
|
8092
|
+
marker: Marker;
|
|
8093
|
+
internalMarker: InternalMarker;
|
|
8094
|
+
}>;
|
|
8095
|
+
animations: Map<string, {
|
|
8096
|
+
tween: TWEEN.Tween;
|
|
8097
|
+
resolver: () => void;
|
|
8098
|
+
}>;
|
|
7854
8099
|
constructor(core: ICore);
|
|
7855
8100
|
/**
|
|
7856
8101
|
* Create a new Marker, containing some HTML, at the specified position
|
|
@@ -7975,6 +8220,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Markers
|
|
|
7975
8220
|
export class MarkersLayer {
|
|
7976
8221
|
#private;
|
|
7977
8222
|
constructor(markersController: MarkersController);
|
|
8223
|
+
get markers(): Marker[];
|
|
7978
8224
|
/**
|
|
7979
8225
|
* Create a new Marker, containing some HTML, at the specified position
|
|
7980
8226
|
* @param nodeOrCoordinate the position for the Marker
|
|
@@ -8008,6 +8254,40 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Markers
|
|
|
8008
8254
|
}
|
|
8009
8255
|
}
|
|
8010
8256
|
|
|
8257
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/Paths' {
|
|
8258
|
+
import { MappedinNode } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8259
|
+
import { TPathOptions } from '@mappedin/react-native-sdk/core/packages/renderer/index.rn';
|
|
8260
|
+
import PathsController, { Path } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.Paths';
|
|
8261
|
+
/**
|
|
8262
|
+
* Add and remove paths from maps.
|
|
8263
|
+
*/
|
|
8264
|
+
export class PathsLayer {
|
|
8265
|
+
#private;
|
|
8266
|
+
constructor(pathsController: PathsController);
|
|
8267
|
+
/**
|
|
8268
|
+
* An array of all paths that are currently drawn.
|
|
8269
|
+
*/
|
|
8270
|
+
get paths(): Path[];
|
|
8271
|
+
/**
|
|
8272
|
+
* Takes an array of nodes and draws path segments on each map for the nodes on that map.
|
|
8273
|
+
*
|
|
8274
|
+
* @param nodes A {@link MappedinNode} array, probably from a {@link MappedinDirections} instance.
|
|
8275
|
+
* @param options A optional {@link TPathOptions} object.
|
|
8276
|
+
*/
|
|
8277
|
+
add(nodes: MappedinNode[], options?: TPathOptions): Path;
|
|
8278
|
+
/**
|
|
8279
|
+
* Remove a path from all maps it exists on.
|
|
8280
|
+
*
|
|
8281
|
+
* @param path A {@link Path} instance returned from {@link PathsLayer.add}.
|
|
8282
|
+
*/
|
|
8283
|
+
remove(path: Path): void;
|
|
8284
|
+
/**
|
|
8285
|
+
* Remove all paths from all maps.
|
|
8286
|
+
*/
|
|
8287
|
+
removeAll(): void;
|
|
8288
|
+
}
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8011
8291
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/MapView.Scene' {
|
|
8012
8292
|
import { MappedinMap } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
8013
8293
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|