@mappedin/mappedin-js 5.40.1 → 5.41.1
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 +5 -1
- package/lib/esm/get-venue/index.js +1 -1
- package/lib/esm/navigator/index.js +1 -1
- package/lib/esm/renderer/{GLTFExporter-ZTGVUTYJ.js → GLTFExporter-WZUUPYM5.js} +1 -1
- package/lib/esm/renderer/{PerformanceController-ZH7TRAQF.js → PerformanceController-7LXZ3CTN.js} +1 -1
- package/lib/esm/renderer/{browser-KACI6OQM.js → browser-N7SM6K62.js} +1 -1
- package/lib/esm/renderer/chunk-EA3XLUDR.js +1 -0
- package/lib/esm/renderer/{chunk-MZMGODHE.js → chunk-TQL626EY.js} +1 -1
- package/lib/esm/renderer/index.css +1 -1
- package/lib/esm/renderer/index.d.ts +31 -8
- package/lib/esm/renderer/index.js +1 -1
- package/lib/esm/renderer/{outdoor-context-QF6URVL6.js → outdoor-context-ERNU3IIB.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 +4 -3
- package/lib/esm/renderer/chunk-H3YRX34O.js +0 -1
|
@@ -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.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}
|
|
@@ -1476,6 +1476,8 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
|
|
|
1476
1476
|
* Optional layer to attach the Tooltip to.
|
|
1477
1477
|
*/
|
|
1478
1478
|
layer?: string;
|
|
1479
|
+
dotColor?: string;
|
|
1480
|
+
dotSize?: number;
|
|
1479
1481
|
};
|
|
1480
1482
|
export type TCreateTooltipOptions = TCreateTooltipCommonOptions & {
|
|
1481
1483
|
/**
|
|
@@ -3147,7 +3149,7 @@ declare module '@mappedin/mappedin-js/renderer/public/api/Camera' {
|
|
|
3147
3149
|
* @param options
|
|
3148
3150
|
* @returns a Promise that resolves when the animation finishes, or rejects when it is cancelled.
|
|
3149
3151
|
*/
|
|
3150
|
-
focusOn(targets: TCameraTargets, options?: TFocusOnCameraOptions & TCameraAnimationOptions): Promise<
|
|
3152
|
+
focusOn(targets: TCameraTargets, options?: TFocusOnCameraOptions & TCameraAnimationOptions): Promise<unknown>;
|
|
3151
3153
|
/**
|
|
3152
3154
|
* Instantaneously set the camera's transform to be in a new configuration. See also {@link animate}.
|
|
3153
3155
|
*
|
|
@@ -3781,6 +3783,8 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip' {
|
|
|
3781
3783
|
};
|
|
3782
3784
|
interactive?: boolean;
|
|
3783
3785
|
layer?: string;
|
|
3786
|
+
dotColor?: string;
|
|
3787
|
+
dotSize?: number;
|
|
3784
3788
|
};
|
|
3785
3789
|
type TTooltipStyle = {
|
|
3786
3790
|
top?: string;
|
|
@@ -3792,6 +3796,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip' {
|
|
|
3792
3796
|
* to the right of its position.
|
|
3793
3797
|
*/
|
|
3794
3798
|
export type TOOLTIP_ANCHOR = {
|
|
3799
|
+
dot?: boolean;
|
|
3795
3800
|
top?: boolean;
|
|
3796
3801
|
left?: boolean;
|
|
3797
3802
|
topLeft?: boolean;
|
|
@@ -3812,6 +3817,7 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartTooltip' {
|
|
|
3812
3817
|
* cached container class number to avoid recommutation per update
|
|
3813
3818
|
*/
|
|
3814
3819
|
containerClassesLength: number;
|
|
3820
|
+
dotEl: HTMLDivElement;
|
|
3815
3821
|
constructor(options: TSmartTooltipOptions);
|
|
3816
3822
|
updateClassName: (className: any) => void;
|
|
3817
3823
|
get strategies(): TColliderStrategy[];
|
|
@@ -4624,7 +4630,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/CameraControl
|
|
|
4624
4630
|
* Focus the Camera view on a collection of targets and animate to that state.
|
|
4625
4631
|
* @returns a Promise that resolves when the animation finishes, or rejects when it is cancelled.
|
|
4626
4632
|
*/
|
|
4627
|
-
focusOn(targets: TCameraTargets, options?: TFocusOnCameraOptions & TCameraAnimationOptions): Promise<
|
|
4633
|
+
focusOn(targets: TCameraTargets, options?: TFocusOnCameraOptions & TCameraAnimationOptions): Promise<unknown>;
|
|
4628
4634
|
/**
|
|
4629
4635
|
* Set the Camera's view to a new state.
|
|
4630
4636
|
*/
|
|
@@ -6450,6 +6456,10 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6450
6456
|
* @default ['building-top']
|
|
6451
6457
|
*/
|
|
6452
6458
|
layersHiddenByGeometry?: string[];
|
|
6459
|
+
/**
|
|
6460
|
+
* If set to true, the map will be rendered in dpi=1 mode, which should make performance better
|
|
6461
|
+
*/
|
|
6462
|
+
lowDPI?: boolean;
|
|
6453
6463
|
};
|
|
6454
6464
|
/**
|
|
6455
6465
|
* Defines the options for an Outdoor View when initialized with a URL for authentication.
|
|
@@ -6478,6 +6488,10 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6478
6488
|
* @default ['building-top']
|
|
6479
6489
|
*/
|
|
6480
6490
|
layersHiddenByGeometry?: string[];
|
|
6491
|
+
/**
|
|
6492
|
+
* If set to true, the map will be rendered in dpi=1 mode, which should make performance better
|
|
6493
|
+
*/
|
|
6494
|
+
lowDPI?: boolean;
|
|
6481
6495
|
};
|
|
6482
6496
|
/**
|
|
6483
6497
|
* Defines the options for initializing an Outdoor View.
|
|
@@ -6508,6 +6522,7 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/OutdoorViewCo
|
|
|
6508
6522
|
attributionPosition?: TAttributionPosition;
|
|
6509
6523
|
userHiddenLayers: string[];
|
|
6510
6524
|
loaded: boolean;
|
|
6525
|
+
options?: TOutdoorViewOptions;
|
|
6511
6526
|
constructor(core: ICore, options?: TOutdoorViewOptions);
|
|
6512
6527
|
module: any;
|
|
6513
6528
|
load(): Promise<void>;
|
|
@@ -6912,6 +6927,7 @@ declare module '@mappedin/mappedin-js/renderer/private/Core.interface' {
|
|
|
6912
6927
|
renderer: any;
|
|
6913
6928
|
scene: any;
|
|
6914
6929
|
cameraParameters: Vector2;
|
|
6930
|
+
cameraParametersZoomVector: Vector2;
|
|
6915
6931
|
resolution: Vector2;
|
|
6916
6932
|
determineNewLabelSize: any;
|
|
6917
6933
|
visibleMapsInCurrentScene: MappedinMap[];
|
|
@@ -8363,7 +8379,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Sta
|
|
|
8363
8379
|
};
|
|
8364
8380
|
scrollToMap: (map: MappedinMap, duration?: number) => Promise<unknown>;
|
|
8365
8381
|
updateFrame: (val: any) => void;
|
|
8366
|
-
resize():
|
|
8382
|
+
resize(): Promise<unknown>;
|
|
8367
8383
|
labels: Map<MapObject, Mesh>;
|
|
8368
8384
|
createMapLabels: () => void;
|
|
8369
8385
|
updateLabels: () => void;
|
|
@@ -9107,6 +9123,8 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/StackedMapsCo
|
|
|
9107
9123
|
get determineMapStack(): MappedinMap[];
|
|
9108
9124
|
transition(currentState: STACKED_MAPS_STATE, actionName: ACTION): TTargetTransitionFunction[] | void;
|
|
9109
9125
|
exec(transitions: TTargetTransitionFunction[] | void, params: TParams): Promise<void>;
|
|
9126
|
+
transitionInProgress: Promise<undefined>;
|
|
9127
|
+
transitionResolved: any;
|
|
9110
9128
|
disable: () => Promise<void>;
|
|
9111
9129
|
enable: (opts?: TStackedMapsOptions) => Promise<void>;
|
|
9112
9130
|
get nodesInJourneyOrMap(): MappedinNode[];
|
|
@@ -10017,10 +10035,10 @@ declare module '@mappedin/mappedin-js/renderer/private/Core' {
|
|
|
10017
10035
|
import '../internal/externals/globalThisPolyfill';
|
|
10018
10036
|
import { Color, Mesh, PerspectiveCamera, Scene, Vector2, Vector3, Raycaster } from 'three';
|
|
10019
10037
|
import '../internal/object3D.destroy';
|
|
10020
|
-
import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding, MappedinPolygon } from '@mappedin/mappedin-js/renderer/internal';
|
|
10021
|
-
import { Renderer, TaskScheduler,
|
|
10022
|
-
import { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/mappedin-js/get-venue';
|
|
10023
|
-
import { E_MAP_CHANGED_REASON } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
10038
|
+
import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding, MappedinPolygon, MapManager, FlatLabel, INTERNAL_EVENT_PAYLOAD, MapView } from '@mappedin/mappedin-js/renderer/internal';
|
|
10039
|
+
import { Renderer, TaskScheduler, SmartCollisionEngine, PubSub, INTERNAL_EVENT, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, BillboardManager, StackedMapsController, OutdoorViewController, WatermarkController, PolygonHoverColorsController, ExportController, LayerController } from '@mappedin/mappedin-js/renderer/internal';
|
|
10040
|
+
import type { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/mappedin-js/get-venue';
|
|
10041
|
+
import type { E_MAP_CHANGED_REASON } from '@mappedin/mappedin-js/renderer/MapView.enums';
|
|
10024
10042
|
import type { PerformanceController } from '@mappedin/mappedin-js/renderer/private/controllers/PerformanceController';
|
|
10025
10043
|
export const raycaster: Raycaster;
|
|
10026
10044
|
let Mappedin: any;
|
|
@@ -10101,6 +10119,7 @@ declare module '@mappedin/mappedin-js/renderer/private/Core' {
|
|
|
10101
10119
|
currentInteractionEvent: INTERNAL_EVENT | undefined;
|
|
10102
10120
|
resolution: Vector2;
|
|
10103
10121
|
cameraParameters: any;
|
|
10122
|
+
cameraParametersZoomVector: Vector2;
|
|
10104
10123
|
controls: typeof Mappedin.CameraControls;
|
|
10105
10124
|
worldPlane: Mesh;
|
|
10106
10125
|
canvasWidth: number;
|
|
@@ -10564,7 +10583,7 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinNode' {
|
|
|
10564
10583
|
}
|
|
10565
10584
|
|
|
10566
10585
|
declare module '@mappedin/mappedin-js/get-venue/MappedinPolygon' {
|
|
10567
|
-
import type { MappedinNode, MappedinLocation, Mappedin } from '@mappedin/mappedin-js/get-venue/internal';
|
|
10586
|
+
import type { MappedinNode, MappedinLocation, Mappedin, MappedinCoordinate } from '@mappedin/mappedin-js/get-venue/internal';
|
|
10568
10587
|
import { MappedinNavigatable, MappedinDirections, MappedinDestinationSet, MappedinMap, TDirectionToOptions } from '@mappedin/mappedin-js/get-venue/internal';
|
|
10569
10588
|
/**
|
|
10570
10589
|
* The {@link MappedinPolygon} class represents the 3D shape of a {@link MappedinLocation} on a {{@link MappedinMap}. Polygons have access to Locations they belong to, and any entrances to the Polygon.
|
|
@@ -10704,6 +10723,10 @@ declare module '@mappedin/mappedin-js/get-venue/MappedinPolygon' {
|
|
|
10704
10723
|
* Calculate walking distance in meters between 2 nodes, polygons or locations
|
|
10705
10724
|
*/
|
|
10706
10725
|
distanceTo(destination: MappedinNode | MappedinLocation | MappedinPolygon, options?: TDirectionToOptions): number;
|
|
10726
|
+
/**
|
|
10727
|
+
* Determines if a coordinate is within the polygon.
|
|
10728
|
+
*/
|
|
10729
|
+
containsCoordinate(coordinate: MappedinCoordinate): boolean;
|
|
10707
10730
|
toJSON(): any;
|
|
10708
10731
|
}
|
|
10709
10732
|
}
|