@mappedin/mappedin-js 5.41.0 → 5.42.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/lib/esm/get-venue/index.d.ts +17 -3
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-KEMAR2IL.js → GLTFExporter-P6EOOOAJ.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-IBKHGAQ5.js → PerformanceController-QRKNIFP2.js} +1 -1
- package/lib/esm/renderer/{browser-WSXI76KO.js → browser-GLFX3IEI.js} +1 -1
- package/lib/esm/renderer/{chunk-KOV457UP.js → chunk-4KHVMAX5.js} +1 -1
- package/lib/esm/renderer/chunk-HIYMICEI.js +1 -0
- package/lib/esm/renderer/index.css +1 -1
- package/lib/esm/renderer/index.d.ts +104 -5
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-YEDNFKBS.js → outdoor-context-PED5H73M.js} +1 -1
- package/lib/mappedin.css +1 -1
- package/lib/mappedin.js +1 -1
- package/lib/node/index.js +1 -1
- package/package.json +3 -3
- package/lib/esm/renderer/chunk-BP3DVZUC.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as a}from"./chunk-ZRT45YCM.js";var e,c=a((()=>{e={env:{NODE_ENV:"production",npm_package_version:"5.42.0"}}}));export{c as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mMapviewHoverLabel{background:rgba(255,255,255,.9);color:#333;padding:10px;font-size:14px;font-weight:700;transition:opacity .3s;font-family:sans-serif}.mappedin-map{position:relative;overflow:hidden}.mappedin__floating-label{position:absolute;top:0;left:0;opacity:0;width:200px;height:200px;will-change:transform;transition:opacity .3s linear}.mappedin__floating-label__icon{position:absolute;top:0;left:0;width:16px;height:16px}.mappedin__floating-label__icon>svg{position:absolute;top:-50%;left:-50%}.mappedin__floating-label__text_holder{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;font-weight:500;position:absolute;pointer-events:none;word-break:keep-all}.mappedin__floating-label__text_legacy{text-shadow:1px 1px 0px #ffffff,-1px -1px 0px #ffffff,1px -1px 0px #ffffff,-1px 1px 0px #ffffff}.mappedin__floating-label__text_back{-webkit-text-stroke:4px white;color:#fff}.mappedin__floating-label__text_front{color:#000;position:absolute;display:block;width:100%;height:100%;top:0;left:0}.mappedin-tooltip__wrapper{display:flex;width:1px;height:1px;align-items:center;justify-content:center;z-index:1}.mappedin-tooltip{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;top:0;transition:transform .3s linear;font-weight:700;color:#000;position:absolute;z-index:1;transition:opacity .3s;display:flex;flex-direction:row;will-change:transform,opacity;justify-content:center}.mappedin-tooltip>div{z-index:2;flex-shrink:0;max-width:500px;background:white;border-radius:20px;box-shadow:0 2px 11px #0003}.mappedin-tooltip:before{content:"";width:0;height:0;top:calc(50% - 10px);left:-10px;z-index:1;position:absolute;border-bottom:10px solid transparent;border-top:10px solid transparent}.mappedin-tooltip .mappedin-tooltip__dot{display:none;position:absolute;background-color:#585858;border-radius:50%;box-shadow:0 0 11px #0000004d}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__dot{display:block}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__content{display:none}.mappedin-tooltip.tooltip--anchor-top{left:0;top:0}.mappedin-tooltip.tooltip--anchor-top:before{left:calc(50% - 10px);top:calc(100% - 5px);right:auto;border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent}.mappedin-tooltip.tooltip--anchor-bottom{left:0;top:0}.mappedin-tooltip.tooltip--anchor-bottom:before{left:calc(50% - 10px);top:-15px;right:auto;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent}.mappedin-tooltip.tooltip--anchor-right{justify-content:flex-start;left:0;top:0}.mappedin-tooltip.tooltip--anchor-right:before{left:-5px;right:auto;border-right:10px solid white}.mappedin-tooltip.tooltip--anchor-left{left:0;top:0}.mappedin-tooltip.tooltip--anchor-left:before{left:auto;right:-5px;border-left:10px solid white}.mappedin-tooltip.tooltip--anchor-top-left{left:7px;top:7px}.mappedin-tooltip.tooltip--anchor-top-left:before{left:auto;right:-7px;top:calc(100% - 13px);border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(-45deg)}.mappedin-tooltip.tooltip--anchor-top-right{left:-6px;top:7px}.mappedin-tooltip.tooltip--anchor-top-right:before{left:-7px;right:auto;top:calc(100% - 13px);border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(45deg)}.mappedin-tooltip.tooltip--anchor-bottom-left{left:7px;top:-6px}.mappedin-tooltip.tooltip--anchor-bottom-left:before{left:auto;right:-7px;top:-7px;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(45deg)}.mappedin-tooltip.tooltip--anchor-bottom-right{left:-6px;top:-6px}.mappedin-tooltip.tooltip--anchor-bottom-right:before{left:-7px;right:auto;top:-7px;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(-45deg)}.mappedin-tooltip.tooltip--visible{opacity:1}.mappedin-tooltip.pointer-events-none{pointer-events:none}.mappedin-tooltip.pointer-events-auto{pointer-events:auto}.mappedin-marker{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;pointer-events:none;top:0;transition:transform .3s linear;position:absolute;font-weight:700;color:#000;z-index:1;transition:opacity .3s;display:flex;flex-direction:row;will-change:opacity;justify-content:center}.mappedin__smart-collision-engine__container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;transform-style:preserve-3d;z-index:1;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin__smart-collision-engine-debug__container{position:absolute;left:0;top:0;bottom:0;right:0;transition:opacity .3s ease-in-out;pointer-events:none;will-change:opacity}.mappedin__smart-collision-engine-debug__container.interacting{opacity:.2}.outdoor-ctrl-attrib{display:block;position:absolute;visibility:visible;pointer-events:auto;font:9px/11px InterUI-Regular,Helvetica,Arial,sans-serif;transform:translate(0);padding:3px 20px 1px 5px;background-color:#ffffff80;margin:0;min-width:11px;min-height:11px}.outdoor-ctrl-attrib.outdoor-ctrl-attrib-hide{display:none}.outdoor-ctrl-attrib-top-left{top:0;left:1px;float:left;border-bottom-right-radius:4px}.outdoor-ctrl-attrib-top-right{top:0;right:1px;float:right;border-bottom-left-radius:4px}.outdoor-ctrl-attrib-bottom-left{bottom:0;left:1px;float:left;border-top-right-radius:4px}.outdoor-ctrl-attrib-bottom-right{right:0;bottom:1px;float:right;border-top-left-radius:4px}.outdoor-ctrl-attrib-bottom-left,.outdoor-ctrl-attrib-top-left{padding:3px 5px 1px 20px}.outdoor-ctrl-attrib.outdoor-compact{background-color:transparent}.outdoor-ctrl-attrib.outdoor-compact-show{min-width:15px;min-height:15px;box-sizing:border-box;background-color:#ffffff80}.outdoor-ctrl-attrib-inner,.outdoor-ctrl-attrib-inner a{color:#000000bf;text-decoration:none}.outdoor-ctrl-attrib-inner a:hover{color:#017ef1;text-decoration:underline;cursor:pointer}.outdoor-ctrl-attrib.outdoor-compact .outdoor-ctrl-attrib-inner{display:none}.outdoor-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'><circle cx='10' cy='10' r='5.9' style='fill:rgba(255,255,255,1);'/><path style='fill:rgba(0,0,0,0.7);' d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/></svg>");background-size:15px;width:15px;height:15px;box-sizing:border-box;border-radius:50%;outline:none;top:0;right:2px;border:1px}.outdoor-ctrl-attrib summary.outdoor-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.outdoor-ctrl-attrib summary.outdoor-ctrl-attrib-button::-webkit-details-marker{display:none}.outdoor-ctrl-attrib-top-left .outdoor-ctrl-attrib-button,.outdoor-ctrl-attrib-bottom-left .outdoor-ctrl-attrib-button{left:2px}.outdoor-ctrl-attrib.outdoor-compact .outdoor-ctrl-attrib-button,.outdoor-ctrl-attrib.outdoor-compact-show .outdoor-ctrl-attrib-inner{display:block}
|
|
1
|
+
.mMapviewHoverLabel{background:rgba(255,255,255,.9);color:#333;padding:10px;font-size:14px;font-weight:700;transition:opacity .3s;font-family:sans-serif}.mappedin-map{position:relative;overflow:hidden}.mappedin__floating-label{position:absolute;top:0;left:0;opacity:0;width:200px;height:200px;will-change:transform;transition:opacity .3s linear}.mappedin__floating-label__icon{position:absolute;top:0;left:0;width:16px;height:16px}.mappedin__floating-label__icon>svg{position:absolute;top:-50%;left:-50%}.mappedin__floating-label__text_holder{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;font-weight:500;position:absolute;pointer-events:none;word-break:keep-all}.mappedin__floating-label__text_legacy{text-shadow:1px 1px 0px #ffffff,-1px -1px 0px #ffffff,1px -1px 0px #ffffff,-1px 1px 0px #ffffff}.mappedin__floating-label__text_back{-webkit-text-stroke:4px white;color:#fff}.mappedin__floating-label__text_front{color:#000;position:absolute;display:block;width:100%;height:100%;top:0;left:0}.mappedin-tooltip__wrapper{display:flex;width:1px;height:1px;align-items:center;justify-content:center;z-index:1}.mappedin-tooltip{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;top:0;transition:transform .3s linear;font-weight:700;color:#000;position:absolute;z-index:1;transition:opacity .3s;display:flex;flex-direction:row;will-change:transform,opacity;justify-content:center}.mappedin-tooltip>div{z-index:2;flex-shrink:0;max-width:500px;background:white;border-radius:20px;box-shadow:0 2px 11px #0003}.mappedin-tooltip:before{content:"";width:0;height:0;top:calc(50% - 10px);left:-10px;z-index:1;position:absolute;border-bottom:10px solid transparent;border-top:10px solid transparent}.mappedin-tooltip .mappedin-tooltip__dot{pointer-events:none;display:none;position:absolute;background-color:#585858;border-radius:50%;box-shadow:0 0 11px #0000004d}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__dot{display:block}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__content{display:none}.mappedin-tooltip.tooltip--anchor-top{left:0;top:0}.mappedin-tooltip.tooltip--anchor-top:before{left:calc(50% - 10px);top:calc(100% - 5px);right:auto;border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent}.mappedin-tooltip.tooltip--anchor-bottom{left:0;top:0}.mappedin-tooltip.tooltip--anchor-bottom:before{left:calc(50% - 10px);top:-15px;right:auto;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent}.mappedin-tooltip.tooltip--anchor-right{justify-content:flex-start;left:0;top:0}.mappedin-tooltip.tooltip--anchor-right:before{left:-5px;right:auto;border-right:10px solid white}.mappedin-tooltip.tooltip--anchor-left{left:0;top:0}.mappedin-tooltip.tooltip--anchor-left:before{left:auto;right:-5px;border-left:10px solid white}.mappedin-tooltip.tooltip--anchor-top-left{left:7px;top:7px}.mappedin-tooltip.tooltip--anchor-top-left:before{left:auto;right:-7px;top:calc(100% - 13px);border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(-45deg)}.mappedin-tooltip.tooltip--anchor-top-right{left:-6px;top:7px}.mappedin-tooltip.tooltip--anchor-top-right:before{left:-7px;right:auto;top:calc(100% - 13px);border-bottom:10px solid transparent;border-top:10px solid white;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(45deg)}.mappedin-tooltip.tooltip--anchor-bottom-left{left:7px;top:-6px}.mappedin-tooltip.tooltip--anchor-bottom-left:before{left:auto;right:-7px;top:-7px;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(45deg)}.mappedin-tooltip.tooltip--anchor-bottom-right{left:-6px;top:-6px}.mappedin-tooltip.tooltip--anchor-bottom-right:before{left:-7px;right:auto;top:-7px;border-bottom:10px solid white;border-top:10px solid transparent;border-left:10px solid transparent;border-right:10px solid transparent;transform:rotate(-45deg)}.mappedin-tooltip.tooltip--visible{opacity:1}.mappedin-tooltip.pointer-events-none{pointer-events:none}.mappedin-tooltip.pointer-events-auto{pointer-events:auto}.mappedin-marker{font-family:InterUI-Regular,Helvetica,Arial,sans-serif;font-weight:400;pointer-events:none;top:0;transition:transform .3s linear;position:absolute;font-weight:700;color:#000;z-index:1;transition:opacity .3s;display:flex;flex-direction:row;will-change:opacity;justify-content:center}.mappedin__smart-collision-engine__container{position:absolute;left:0;top:0;bottom:0;right:0;pointer-events:none;transform-style:preserve-3d;z-index:1;font-family:InterUI-Regular,Helvetica,Arial,sans-serif}.mappedin__smart-collision-engine-debug__container{position:absolute;left:0;top:0;bottom:0;right:0;transition:opacity .3s ease-in-out;pointer-events:none;will-change:opacity}.mappedin__smart-collision-engine-debug__container.interacting{opacity:.2}.outdoor-ctrl-attrib{display:block;position:absolute;visibility:visible;pointer-events:auto;font:9px/11px InterUI-Regular,Helvetica,Arial,sans-serif;transform:translate(0);padding:3px 20px 1px 5px;background-color:#ffffff80;margin:0;min-width:11px;min-height:11px}.outdoor-ctrl-attrib.outdoor-ctrl-attrib-hide{display:none}.outdoor-ctrl-attrib-top-left{top:0;left:1px;float:left;border-bottom-right-radius:4px}.outdoor-ctrl-attrib-top-right{top:0;right:1px;float:right;border-bottom-left-radius:4px}.outdoor-ctrl-attrib-bottom-left{bottom:0;left:1px;float:left;border-top-right-radius:4px}.outdoor-ctrl-attrib-bottom-right{right:0;bottom:1px;float:right;border-top-left-radius:4px}.outdoor-ctrl-attrib-bottom-left,.outdoor-ctrl-attrib-top-left{padding:3px 5px 1px 20px}.outdoor-ctrl-attrib.outdoor-compact{background-color:transparent}.outdoor-ctrl-attrib.outdoor-compact-show{min-width:15px;min-height:15px;box-sizing:border-box;background-color:#ffffff80}.outdoor-ctrl-attrib-inner,.outdoor-ctrl-attrib-inner a{color:#000000bf;text-decoration:none}.outdoor-ctrl-attrib-inner a:hover{color:#017ef1;text-decoration:underline;cursor:pointer}.outdoor-ctrl-attrib.outdoor-compact .outdoor-ctrl-attrib-inner{display:none}.outdoor-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'><circle cx='10' cy='10' r='5.9' style='fill:rgba(255,255,255,1);'/><path style='fill:rgba(0,0,0,0.7);' d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/></svg>");background-size:15px;width:15px;height:15px;box-sizing:border-box;border-radius:50%;outline:none;top:0;right:2px;border:1px}.outdoor-ctrl-attrib summary.outdoor-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.outdoor-ctrl-attrib summary.outdoor-ctrl-attrib-button::-webkit-details-marker{display:none}.outdoor-ctrl-attrib-top-left .outdoor-ctrl-attrib-button,.outdoor-ctrl-attrib-bottom-left .outdoor-ctrl-attrib-button{left:2px}.outdoor-ctrl-attrib.outdoor-compact .outdoor-ctrl-attrib-button,.outdoor-ctrl-attrib.outdoor-compact-show .outdoor-ctrl-attrib-inner{display:block}
|
|
@@ -1055,6 +1055,17 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedi
|
|
|
1055
1055
|
disableBlueDot: () => void;
|
|
1056
1056
|
enableBlueDotOptions: TEnableBlueDotOptions;
|
|
1057
1057
|
enabled: boolean;
|
|
1058
|
+
enableTargetMapOverride: (mapId: MappedinMap['id'], options?: {
|
|
1059
|
+
restoreWhenNewFloorLevelIsReceived: boolean;
|
|
1060
|
+
}) => void;
|
|
1061
|
+
disableTargetMapOverride: () => void;
|
|
1062
|
+
targetMapOverride?: {
|
|
1063
|
+
mapId: MappedinMap['id'];
|
|
1064
|
+
lastStoredMapId?: MappedinMap['id'];
|
|
1065
|
+
options?: {
|
|
1066
|
+
restoreWhenNewFloorLevelIsReceived: boolean;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1058
1069
|
state: TBlueDotStateChange;
|
|
1059
1070
|
/**
|
|
1060
1071
|
Whether blue dot should be allowed with missing floor level information.
|
|
@@ -1082,6 +1093,10 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BlueDot/Mappedi
|
|
|
1082
1093
|
The direction the user is moving.
|
|
1083
1094
|
*/
|
|
1084
1095
|
bearing: any;
|
|
1096
|
+
/**
|
|
1097
|
+
* When bearing is set by updateBearing. undefined if overrideBearing is turned off
|
|
1098
|
+
*/
|
|
1099
|
+
overrideBearing?: number;
|
|
1085
1100
|
/**
|
|
1086
1101
|
Everything in one object, for convenience.
|
|
1087
1102
|
*/
|
|
@@ -1786,6 +1801,14 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
|
|
|
1786
1801
|
* @default true
|
|
1787
1802
|
*/
|
|
1788
1803
|
alpha?: boolean;
|
|
1804
|
+
floatingLabels?: {
|
|
1805
|
+
iconSizeInterpolation?: {
|
|
1806
|
+
nearZoomLevel: number;
|
|
1807
|
+
farZoomLevel: number;
|
|
1808
|
+
nearScale: number;
|
|
1809
|
+
farScale: number;
|
|
1810
|
+
};
|
|
1811
|
+
};
|
|
1789
1812
|
onWebGLContextCreationError?: () => void;
|
|
1790
1813
|
onWebGLContextLost?: () => void;
|
|
1791
1814
|
onWebGLContextRestored?: () => void;
|
|
@@ -3211,6 +3234,7 @@ declare module '@mappedin/mappedin-js/renderer/public/api/Camera' {
|
|
|
3211
3234
|
}
|
|
3212
3235
|
|
|
3213
3236
|
declare module '@mappedin/mappedin-js/renderer/public/api/BlueDot' {
|
|
3237
|
+
import { MappedinMap } from '@mappedin/mappedin-js/renderer/index.rn';
|
|
3214
3238
|
import { BlueDotController, TEnableBlueDotOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
3215
3239
|
/**
|
|
3216
3240
|
* API to enable and respond to user position updates.
|
|
@@ -3269,6 +3293,10 @@ declare module '@mappedin/mappedin-js/renderer/public/api/BlueDot' {
|
|
|
3269
3293
|
* @param options
|
|
3270
3294
|
*/
|
|
3271
3295
|
enable(options?: TEnableBlueDotOptions): void;
|
|
3296
|
+
enableTargetMapOverride(mapId: MappedinMap['id'], options?: {
|
|
3297
|
+
restoreWhenNewFloorLevelIsReceived: boolean;
|
|
3298
|
+
}): void;
|
|
3299
|
+
disableTargetMapOverride(): void;
|
|
3272
3300
|
/**
|
|
3273
3301
|
* Disables Blue Dot that was enabled with {@link enable} and stops emitting events.
|
|
3274
3302
|
*
|
|
@@ -3281,6 +3309,13 @@ declare module '@mappedin/mappedin-js/renderer/public/api/BlueDot' {
|
|
|
3281
3309
|
* ```
|
|
3282
3310
|
*/
|
|
3283
3311
|
disable(): void;
|
|
3312
|
+
/**
|
|
3313
|
+
* Updates the bearing (direction) of the blue dot on the map.
|
|
3314
|
+
*
|
|
3315
|
+
* @param v - The new bearing value in degrees. If undefined, the bearing will be reset.
|
|
3316
|
+
* 0 degrees points north, 90 degrees points east, and so on.
|
|
3317
|
+
*/
|
|
3318
|
+
updateBearing(v?: number): void;
|
|
3284
3319
|
}
|
|
3285
3320
|
}
|
|
3286
3321
|
|
|
@@ -5294,7 +5329,7 @@ declare module '@mappedin/mappedin-js/get-venue/internal' {
|
|
|
5294
5329
|
}
|
|
5295
5330
|
|
|
5296
5331
|
declare module '@mappedin/mappedin-js/get-venue/Mappedin.CustomerAnalytics' {
|
|
5297
|
-
import { MappedinNavigatable, MappedinLocation, MappedinCategory } from '@mappedin/mappedin-js/get-venue/internal';
|
|
5332
|
+
import type { MappedinNavigatable, MappedinLocation, MappedinCategory } from '@mappedin/mappedin-js/get-venue/internal';
|
|
5298
5333
|
type AnalyticsUserPosition = {
|
|
5299
5334
|
bluedotTimestamp: number;
|
|
5300
5335
|
latitude: number;
|
|
@@ -5385,7 +5420,21 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.CustomerAnalytics' {
|
|
|
5385
5420
|
* @param end {MappedinLocation} The end location for wayfinding.
|
|
5386
5421
|
*/
|
|
5387
5422
|
getDirections(start: any, end: any): void;
|
|
5423
|
+
/**
|
|
5424
|
+
* Returns the active mi-session ID.
|
|
5425
|
+
*/
|
|
5388
5426
|
getSessionID(): string;
|
|
5427
|
+
/**
|
|
5428
|
+
* Sets the current global mi-session ID and overrides the local session ID.
|
|
5429
|
+
* @param sessionID {String} The session ID to be set.
|
|
5430
|
+
* @internal
|
|
5431
|
+
*/
|
|
5432
|
+
static setSessionID(sessionID: string): void;
|
|
5433
|
+
/**
|
|
5434
|
+
* Clears the current global mi-session ID and reverts to the local session ID.
|
|
5435
|
+
* @internal
|
|
5436
|
+
*/
|
|
5437
|
+
static clearSessionID(): void;
|
|
5389
5438
|
getDeviceID(): string;
|
|
5390
5439
|
/**
|
|
5391
5440
|
* @param mode {Boolean} Indicates whether the user's geolocation is enabled.
|
|
@@ -6239,6 +6288,10 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
6239
6288
|
backgroundColor?: string;
|
|
6240
6289
|
};
|
|
6241
6290
|
marker?: {
|
|
6291
|
+
/**
|
|
6292
|
+
* Whether the icon should scale with the zoom level
|
|
6293
|
+
*/
|
|
6294
|
+
iconScaleInterpolation?: boolean;
|
|
6242
6295
|
/**
|
|
6243
6296
|
* Size of the marker in pixels
|
|
6244
6297
|
* @deprecated Behavior when using this along with `iconVisibilityThreshold` and `icon` is undefined
|
|
@@ -6337,6 +6390,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
6337
6390
|
active: string;
|
|
6338
6391
|
inactive: string;
|
|
6339
6392
|
};
|
|
6393
|
+
iconScaleInterpolation: boolean;
|
|
6340
6394
|
iconSize?: number;
|
|
6341
6395
|
icon?: string;
|
|
6342
6396
|
iconFit?: 'fill' | 'cover' | 'contain';
|
|
@@ -6383,6 +6437,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
6383
6437
|
static testId: number;
|
|
6384
6438
|
style: TStyle;
|
|
6385
6439
|
setColor: () => void;
|
|
6440
|
+
scale: number;
|
|
6386
6441
|
clearColor: () => void;
|
|
6387
6442
|
zoomProportion: number;
|
|
6388
6443
|
_cache: {};
|
|
@@ -6414,6 +6469,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel'
|
|
|
6414
6469
|
};
|
|
6415
6470
|
};
|
|
6416
6471
|
get pinCanvasSize(): number;
|
|
6472
|
+
iconVisible: boolean;
|
|
6417
6473
|
draw(context: CanvasRenderingContext2D): void;
|
|
6418
6474
|
}
|
|
6419
6475
|
export default InternalFloatingLabel;
|
|
@@ -6456,6 +6512,10 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6456
6512
|
* @default ['building-top']
|
|
6457
6513
|
*/
|
|
6458
6514
|
layersHiddenByGeometry?: string[];
|
|
6515
|
+
/**
|
|
6516
|
+
* If set to true, the map will be rendered in dpi=1 mode, which should make performance better
|
|
6517
|
+
*/
|
|
6518
|
+
lowDPI?: boolean;
|
|
6459
6519
|
};
|
|
6460
6520
|
/**
|
|
6461
6521
|
* Defines the options for an Outdoor View when initialized with a URL for authentication.
|
|
@@ -6484,6 +6544,10 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6484
6544
|
* @default ['building-top']
|
|
6485
6545
|
*/
|
|
6486
6546
|
layersHiddenByGeometry?: string[];
|
|
6547
|
+
/**
|
|
6548
|
+
* If set to true, the map will be rendered in dpi=1 mode, which should make performance better
|
|
6549
|
+
*/
|
|
6550
|
+
lowDPI?: boolean;
|
|
6487
6551
|
};
|
|
6488
6552
|
/**
|
|
6489
6553
|
* Defines the options for initializing an Outdoor View.
|
|
@@ -6514,6 +6578,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6514
6578
|
attributionPosition?: TAttributionPosition;
|
|
6515
6579
|
userHiddenLayers: string[];
|
|
6516
6580
|
loaded: boolean;
|
|
6581
|
+
options?: TOutdoorViewOptions;
|
|
6517
6582
|
constructor(core: ICore, options?: TOutdoorViewOptions);
|
|
6518
6583
|
module: any;
|
|
6519
6584
|
load(): Promise<void>;
|
|
@@ -6531,7 +6596,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6531
6596
|
|
|
6532
6597
|
declare module '@mappedin/mappedin-js/renderer/private/controllers/BlueDotController' {
|
|
6533
6598
|
import type { IBlueDotCore, ICore, TEnableBlueDotOptions } from '@mappedin/mappedin-js/renderer/internal';
|
|
6534
|
-
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT, PubSub } from '@mappedin/mappedin-js/renderer/internal';
|
|
6599
|
+
import { E_BLUEDOT_EVENT_PAYLOAD, E_BLUEDOT_EVENT, MappedinMap, PubSub } from '@mappedin/mappedin-js/renderer/internal';
|
|
6535
6600
|
/**
|
|
6536
6601
|
* @hidden
|
|
6537
6602
|
* @internal
|
|
@@ -6546,8 +6611,13 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/BlueDotContro
|
|
|
6546
6611
|
* @private
|
|
6547
6612
|
*/
|
|
6548
6613
|
constructor(core: ICore);
|
|
6614
|
+
enableTargetMapOverride(mapId: MappedinMap['id'], options?: {
|
|
6615
|
+
restoreWhenNewFloorLevelIsReceived: boolean;
|
|
6616
|
+
}): void;
|
|
6617
|
+
disableTargetMapOverride(): void;
|
|
6549
6618
|
enable(options?: TEnableBlueDotOptions): void;
|
|
6550
6619
|
disable(): void;
|
|
6620
|
+
updateBearing(v?: number): void;
|
|
6551
6621
|
}
|
|
6552
6622
|
export default BlueDotController;
|
|
6553
6623
|
}
|
|
@@ -6776,6 +6846,27 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/FlatLabelsCon
|
|
|
6776
6846
|
export default FlatLabelsController;
|
|
6777
6847
|
}
|
|
6778
6848
|
|
|
6849
|
+
declare module '@mappedin/mappedin-js/renderer/index.rn' {
|
|
6850
|
+
import { getVenue, getVenueBundle, Mappedin, MappedinDestinationSet } from '@mappedin/mappedin-js/get-venue';
|
|
6851
|
+
import { randomId } from '@mappedin/mappedin-js/common/random-id';
|
|
6852
|
+
export * from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
6853
|
+
export { getVenue,
|
|
6854
|
+
/**
|
|
6855
|
+
* @deprecated
|
|
6856
|
+
*/
|
|
6857
|
+
getVenueBundle, MappedinDestinationSet, Mappedin, randomId, };
|
|
6858
|
+
export { labelThemes } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
6859
|
+
export type { ThingsOption } from '@mappedin/mappedin-js/renderer/MapView.types';
|
|
6860
|
+
export type { IFlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
|
|
6861
|
+
export type { IFloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
|
|
6862
|
+
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/mappedin-js/renderer/MapView.types';
|
|
6863
|
+
export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
|
|
6864
|
+
export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
|
|
6865
|
+
export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, } from '@mappedin/mappedin-js/get-venue';
|
|
6866
|
+
export { MappedinLocation, MappedinPolygon, MappedinNode, MappedinCategory, MappedinMap, MappedinEvent, MappedinMapGroup, MappedinVenue, MappedinVortex, MappedinDirections, MappedinNavigatable, MappedinCoordinate, MappedinRankings, OfflineSearch, MappedinCollectionType, } from '@mappedin/mappedin-js/get-venue';
|
|
6867
|
+
export type { TSafeAreaInsets, TCameraTargets, TFocusOnCameraOptions, TCameraTransform, TCameraAnimationOptions, TCameraInteractionsSetOptions, } from '@mappedin/mappedin-js/renderer/private/controllers/CameraController';
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6779
6870
|
declare module '@mappedin/mappedin-js/renderer/internal/outdoor-context/Mappedin.Tile' {
|
|
6780
6871
|
import { Texture, Mesh, MeshBasicMaterial } from 'three';
|
|
6781
6872
|
import type { ICore } from '@mappedin/mappedin-js/renderer/internal';
|
|
@@ -8370,7 +8461,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Sta
|
|
|
8370
8461
|
};
|
|
8371
8462
|
scrollToMap: (map: MappedinMap, duration?: number) => Promise<unknown>;
|
|
8372
8463
|
updateFrame: (val: any) => void;
|
|
8373
|
-
resize():
|
|
8464
|
+
resize(): Promise<unknown>;
|
|
8374
8465
|
labels: Map<MapObject, Mesh>;
|
|
8375
8466
|
createMapLabels: () => void;
|
|
8376
8467
|
updateLabels: () => void;
|
|
@@ -11220,8 +11311,8 @@ declare module '@mappedin/mappedin-js/get-venue/utils' {
|
|
|
11220
11311
|
* @returns the normalized value
|
|
11221
11312
|
*/
|
|
11222
11313
|
export function normalizeCategoryRank(sortOrder: number, min: number, max: number, polygonRank?: number): number;
|
|
11223
|
-
export function
|
|
11224
|
-
export function
|
|
11314
|
+
export function getDeviceIDFromStorage(): string;
|
|
11315
|
+
export function getSessionIDFromStorage(): string;
|
|
11225
11316
|
/**
|
|
11226
11317
|
* Finds the main Location associated with a Polygon. This means a Location
|
|
11227
11318
|
* attached to the Polygon that has no parents, or, if there are none of those,
|
|
@@ -11435,6 +11526,14 @@ declare module '@mappedin/mappedin-js/navigator/interfaces/IPolygon' {
|
|
|
11435
11526
|
export default IPolygon;
|
|
11436
11527
|
}
|
|
11437
11528
|
|
|
11529
|
+
declare module '@mappedin/mappedin-js/common/random-id' {
|
|
11530
|
+
/**
|
|
11531
|
+
* Returns a UUIDv4-like ID without relying on a CSPRNG as we don't need it for these purposes.
|
|
11532
|
+
* @hidden
|
|
11533
|
+
*/
|
|
11534
|
+
export const randomId: () => string;
|
|
11535
|
+
}
|
|
11536
|
+
|
|
11438
11537
|
declare module '@mappedin/mappedin-js/renderer/internal/quad-tree' {
|
|
11439
11538
|
export function contains(rect1: Rectangle, rect2: Rectangle): boolean;
|
|
11440
11539
|
export function intersects(rect1: Rectangle, rect2: Rectangle): boolean;
|