@mappedin/react-native-sdk 5.1.2 → 5.1.3
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 +17 -11
- package/dist/index.js +247 -247
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2452,6 +2452,10 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/Core.interface
|
|
|
2452
2452
|
x: number;
|
|
2453
2453
|
y: number;
|
|
2454
2454
|
}, mapClass?: MappedinMap): MappedinCoordinate;
|
|
2455
|
+
/**
|
|
2456
|
+
* Converts a 2D x,y screen position into a 3D MappedinCoordinate using projection
|
|
2457
|
+
*/
|
|
2458
|
+
convertScreenCoordinateToMapCoordinate(x: number, y: number, map: MappedinMap): MappedinCoordinate;
|
|
2455
2459
|
setPadding(padding: {
|
|
2456
2460
|
top: number;
|
|
2457
2461
|
left: number;
|
|
@@ -2678,9 +2682,7 @@ declare module '@mappedin/react-native-sdk/wrappers/common/controller' {
|
|
|
2678
2682
|
msgID?: string | undefined;
|
|
2679
2683
|
data: {
|
|
2680
2684
|
venueData: string;
|
|
2681
|
-
format: "jsonstring";
|
|
2682
|
-
* Emitting a message and waiting for a reponse, via a promise
|
|
2683
|
-
* @hidden
|
|
2685
|
+
format: "jsonstring";
|
|
2684
2686
|
showVenueOptions: import("../react-native-sdk/src").TShowVenueOptions & {
|
|
2685
2687
|
prepareSearch?: boolean | undefined;
|
|
2686
2688
|
searchOptions?: Partial<import("../react-native-sdk/src").TMappedinOfflineSearchAllOptions> | undefined;
|
|
@@ -3645,7 +3647,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin' {
|
|
|
3645
3647
|
import { MappedinTheme } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinTheme';
|
|
3646
3648
|
import { MappedinVenue } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinVenue';
|
|
3647
3649
|
import { MappedinVortex } from '@mappedin/react-native-sdk/core/packages/get-venue/MappedinVortex';
|
|
3648
|
-
import { IAnalytics } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.
|
|
3650
|
+
import { IAnalytics } from '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.CustomerAnalytics';
|
|
3649
3651
|
export const defaultOptions: TGetVenueOptionsInternal & TGetVenueOptions;
|
|
3650
3652
|
export enum MappedinCollectionType {
|
|
3651
3653
|
CATEGORY = "categories",
|
|
@@ -3961,6 +3963,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
3961
3963
|
tags?: string[];
|
|
3962
3964
|
externalId?: string;
|
|
3963
3965
|
showLabelWhenImagePresent?: boolean;
|
|
3966
|
+
showSmartLabelWhenImagePresent?: boolean;
|
|
3964
3967
|
picture?: TPicture;
|
|
3965
3968
|
operationHours?: TOpeningHours[] | undefined;
|
|
3966
3969
|
siblingGroups?: TSiblingGroup[] | undefined;
|
|
@@ -6087,7 +6090,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSy
|
|
|
6087
6090
|
import { MapView } from '@mappedin/react-native-sdk/core/packages/renderer';
|
|
6088
6091
|
import { ICore } from '@mappedin/react-native-sdk/core/packages/renderer/Core.interface';
|
|
6089
6092
|
import BlueDotManager from '@mappedin/react-native-sdk/core/packages/renderer/internal/blue-dot-manager';
|
|
6090
|
-
export const raycaster: any;
|
|
6091
6093
|
class EventSystemLayer {
|
|
6092
6094
|
mapView: MapView;
|
|
6093
6095
|
core: ICore;
|
|
@@ -6103,11 +6105,15 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/layers/EventSy
|
|
|
6103
6105
|
constructor(mapView: MapView, core: ICore);
|
|
6104
6106
|
setBlueDotManager: (blueDotManager: any) => void;
|
|
6105
6107
|
touchCount: number;
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6108
|
+
zoomOut(): void;
|
|
6109
|
+
zoomIn(event: any): void;
|
|
6110
|
+
onPointerMove: (event: any) => void;
|
|
6111
|
+
onPointerUp: (event: any) => void;
|
|
6112
|
+
/**
|
|
6113
|
+
* We've confirmed that a map click has occured, so handle that here
|
|
6114
|
+
*/
|
|
6115
|
+
handleMapClick(event: any): void;
|
|
6116
|
+
onPointerDown: (event: any) => void;
|
|
6111
6117
|
incrementTouches: (event: any) => void;
|
|
6112
6118
|
decrementTouches: (event: any) => void;
|
|
6113
6119
|
clearMouse: () => void;
|
|
@@ -6453,7 +6459,7 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinTheme
|
|
|
6453
6459
|
}
|
|
6454
6460
|
}
|
|
6455
6461
|
|
|
6456
|
-
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.
|
|
6462
|
+
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.CustomerAnalytics' {
|
|
6457
6463
|
import { MappedinCategory, MappedinLocation } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
6458
6464
|
type AnalyticsOptions = {
|
|
6459
6465
|
clientId?: string;
|