@mappedin/mappedin-js 5.49.1 → 5.51.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.
Files changed (30) hide show
  1. package/lib/esm/get-venue/index.js +1 -1
  2. package/lib/esm/navigator/index.js +1 -1
  3. package/lib/esm/renderer/{Arrival-KLIH5LTH.js → Arrival-UP4PJA4U.js} +1 -1
  4. package/lib/esm/renderer/{Chalet-ZU2FPU2K.js → Chalet-O3KLVJGV.js} +1 -1
  5. package/lib/esm/renderer/{GLTFExporter-DJ5VIJ3K.js → GLTFExporter-KVV5NEYC.js} +1 -1
  6. package/lib/esm/renderer/{HelveticaNeue-PHK3JE5I.js → HelveticaNeue-WLGRUQWN.js} +1 -1
  7. package/lib/esm/renderer/{Helvetiker-JVUX4WK7.js → Helvetiker-UU7LFERE.js} +1 -1
  8. package/lib/esm/renderer/{Lato-BX5JVWZI.js → Lato-2SXEYW4V.js} +1 -1
  9. package/lib/esm/renderer/{MyriadPro-3UATSCWU.js → MyriadPro-BSXPENY5.js} +1 -1
  10. package/lib/esm/renderer/{PerformanceController-G4FXPDAS.js → PerformanceController-YVNIJI6Z.js} +1 -1
  11. package/lib/esm/renderer/{ProximaNova-54WAWGUY.js → ProximaNova-H6MTSMLS.js} +1 -1
  12. package/lib/esm/renderer/{SimonCircular-ETZIFPSM.js → SimonCircular-TSBYW4PJ.js} +1 -1
  13. package/lib/esm/renderer/browser-BZGW63NG.js +1 -0
  14. package/lib/esm/renderer/chunk-CJV777AH.js +1 -0
  15. package/lib/esm/renderer/chunk-ORJYYHGW.js +1 -0
  16. package/lib/esm/renderer/chunk-STFZ7NKJ.js +1 -0
  17. package/lib/esm/renderer/index.css +1 -1
  18. package/lib/esm/renderer/index.d.ts +95 -83
  19. package/lib/esm/renderer/index.js +1 -1
  20. package/lib/esm/renderer/maplibre-worker.csp.js +1 -1
  21. package/lib/esm/renderer/outdoor-context-JAORAG47.js +1 -0
  22. package/lib/mappedin.css +1 -1
  23. package/lib/mappedin.js +1 -1
  24. package/lib/node/index.js +1 -1
  25. package/package.json +2 -2
  26. package/lib/esm/renderer/browser-WSPTMDDZ.js +0 -1
  27. package/lib/esm/renderer/chunk-6V7LT3KT.js +0 -1
  28. package/lib/esm/renderer/chunk-YEATVEJ5.js +0 -1
  29. package/lib/esm/renderer/chunk-ZRT45YCM.js +0 -1
  30. package/lib/esm/renderer/outdoor-context-IJCRBFZA.js +0 -1
@@ -0,0 +1 @@
1
+ var i=Object.create,f=Object.defineProperty,j=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,l=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,h=e=>{throw TypeError(e)},n=(e,t,a)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,r=(e,t)=>f(e,"name",{value:t,configurable:!0}),s=(e,t)=>()=>(e&&(t=e(e=0)),t),t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t)=>{for(var a in t)f(e,a,{get:t[a],enumerable:!0})},o=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of k(t))!m.call(e,o)&&o!==a&&f(e,o,{get:()=>t[o],enumerable:!(r=j(t,o))||r.enumerable});return e},v=(e,t,a)=>(a=null!=e?i(l(e)):{},o(!t&&e&&e.__esModule?a:f(a,"default",{value:e,enumerable:!0}),e)),w=(e,t,a)=>n(e,"symbol"!=typeof t?t+"":t,a),g=(e,t,a)=>t.has(e)||h("Cannot "+a),p=(e,t,a)=>(g(e,t,"read from private field"),a?a.call(e):t.get(e)),x=(e,t,a)=>t.has(e)?h("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,a),q=(e,t,a,r)=>(g(e,t,"write to private field"),r?r.call(e,a):t.set(e,a),a),y=(e,t,a)=>(g(e,t,"access private method"),a),z=(e,t,a,r)=>({set _(r){q(e,t,r,a)},get _(){return p(e,t,r)}});export{r as a,s as b,t as c,u as d,v as e,w as f,p as g,x as h,q as i,y as j,z as k};
@@ -0,0 +1 @@
1
+ import{b as a}from"./chunk-ORJYYHGW.js";var e,c=a((()=>{e={env:{NODE_ENV:"production",npm_package_version:"5.51.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{pointer-events:none;display:none;position:absolute;background-color:#585858;border-radius:50%;box-shadow:0 0 11px #0000004d;left:0;top:0}.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-tooltip.tooltip--anchor-dot{pointer-events:none}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__dot{display:block}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__content{visibility:hidden}.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:#ffffffe6;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:#fff;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;left:0;top:0}.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-tooltip.tooltip--anchor-dot{pointer-events:none}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__dot{display:block}.mappedin-tooltip.tooltip--anchor-dot .mappedin-tooltip__content{visibility:hidden}.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}
@@ -12,7 +12,7 @@ declare module '@mappedin/mappedin-js' {
12
12
  import { MapView } from '@mappedin/mappedin-js/renderer/public/MapView';
13
13
  import type { Mappedin, MappedinMap, TGetVenueBundleOptions, TGetVenueOptions } from '@mappedin/mappedin-js/get-venue';
14
14
  import { getVenue, getVenueMVF, getVenueBundle, getVenueMaker, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, MappedinDestinationSet, hydrateVenue, GET_VENUE_EVENT } from '@mappedin/mappedin-js/get-venue';
15
- import type { TMapViewOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
15
+ import type { TMapViewOptions, TShowWatermarkOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
16
16
  export { E_SDK_LOG_LEVEL, setLoggerLevel } from '@mappedin/mappedin-js/common/Mappedin.Logger';
17
17
  export type { Marker } from '@mappedin/mappedin-js/renderer/private/controllers/MarkersController';
18
18
  export type { Path } from '@mappedin/mappedin-js/renderer/private/controllers/PathsController';
@@ -61,7 +61,6 @@ declare module '@mappedin/mappedin-js' {
61
61
  export { getVenue, getVenueMVF, getVenueBundle, getVenueMaker, showVenue, downloadBundle, getVenueBundleURL, downloadVenueBundleMVF, hydrateVenue, MappedinDestinationSet, GET_VENUE_EVENT, };
62
62
  import DefaultAssetManager from '@mappedin/mappedin-js/renderer/internal/Mappedin.AssetManager';
63
63
  import type { TTileManagerOptions } from '@mappedin/mappedin-js/renderer/internal/outdoor-context/Mappedin.TileManager';
64
- import type { TShowWatermarkOptions } from '@mappedin/mappedin-js/renderer/private/controllers/WatermarkController';
65
64
  export { setAssetManager } from '@mappedin/mappedin-js/renderer/internal';
66
65
  export { DefaultAssetManager as AssetManager };
67
66
  export type { TMappedinDirective, IAction, IActionArrival, IActionDeparture, IActionExitVortex, IActionTakeVortex, IActionTurn, } from '@mappedin/mappedin-js/get-venue/MappedinDirections';
@@ -1697,6 +1696,17 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
1697
1696
  * @beta
1698
1697
  */
1699
1698
  mapRenderStrategy?: MAP_RENDER_MODE;
1699
+ /**
1700
+ * Use the current polygon objects directly rather than what is stored when rendering the map in CMS.
1701
+ *
1702
+ * Important Considerations:
1703
+ * - When this flag is set to true, the application will use live polygon data, which might not include certain enhancements such as 3D text annotations or automatically generated infill patterns. These features typically depend on the CMS's Render capabilities.
1704
+ * - Opting for live polygons means the system will not utilize the pre-processed optimized polygon data that is available through the CMS's rendering pipeline.
1705
+ * - This option is useful for applications requiring the most up-to-date representation of polygon data but may result in a less detailed visual representation due to the absence of certain rendered features.
1706
+ *
1707
+ * Use this option with caution, understanding the trade-offs between real-time update and visual detail.
1708
+ */
1709
+ useLivePolygons?: boolean;
1700
1710
  };
1701
1711
  /**
1702
1712
  * @experimental
@@ -2251,6 +2261,57 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
2251
2261
  update: (position: TGeolocationObject) => void;
2252
2262
  throwError: (err: any) => void;
2253
2263
  }
2264
+ export type TWatermarkPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' | 'top' | 'bottom' | 'left' | 'right';
2265
+ export type TShowWatermarkOptions = {
2266
+ /**
2267
+ * Padding in pixels. Can be a number or an object with top, right, bottom, and left properties.
2268
+ * @default 16
2269
+ * @example
2270
+ * ```ts
2271
+ * // Watermark with 20 pixels of padding on all sides
2272
+ * __showWatermark({
2273
+ * padding: 20,
2274
+ * });
2275
+ * ```
2276
+ * @example
2277
+ * ```ts
2278
+ * // Watermark with unique top, right, bottom, left padding
2279
+ * __showWatermark({
2280
+ * padding: {
2281
+ * top: 10,
2282
+ * right: 20,
2283
+ * bottom: 30,
2284
+ * left: 40,
2285
+ * },
2286
+ * });
2287
+ * ```
2288
+ */
2289
+ padding?: number | {
2290
+ top?: number;
2291
+ right?: number;
2292
+ bottom?: number;
2293
+ left?: number;
2294
+ };
2295
+ /**
2296
+ * Position of the watermark on the screen.
2297
+ * @default 'bottom-left'
2298
+ */
2299
+ position?: TWatermarkPosition;
2300
+ /**
2301
+ * Show only the Mappedin icon without text.
2302
+ * @default false
2303
+ */
2304
+ iconOnly?: boolean;
2305
+ /**
2306
+ * Scale of the watermark between 0.5 and 1.5.
2307
+ * @default 1
2308
+ */
2309
+ scale?: number;
2310
+ /**
2311
+ * Callback when the watermark is clicked.
2312
+ */
2313
+ onClick?: () => void;
2314
+ };
2254
2315
  }
2255
2316
 
2256
2317
  declare module '@mappedin/mappedin-js/common/Mappedin.Logger' {
@@ -4265,81 +4326,6 @@ declare module '@mappedin/mappedin-js/renderer/internal/outdoor-context/Mappedin
4265
4326
  }
4266
4327
  }
4267
4328
 
4268
- declare module '@mappedin/mappedin-js/renderer/private/controllers/WatermarkController' {
4269
- import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
4270
- type TPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center' | 'top' | 'bottom' | 'left' | 'right';
4271
- export type TShowWatermarkOptions = {
4272
- /**
4273
- * Padding in pixels. Can be a number or an object with top, right, bottom, and left properties.
4274
- * @default 16
4275
- * @example
4276
- * ```ts
4277
- * // Watermark with 20 pixels of padding on all sides
4278
- * __showWatermark({
4279
- * padding: 20,
4280
- * });
4281
- * ```
4282
- * @example
4283
- * ```ts
4284
- * // Watermark with unique top, right, bottom, left padding
4285
- * __showWatermark({
4286
- * padding: {
4287
- * top: 10,
4288
- * right: 20,
4289
- * bottom: 30,
4290
- * left: 40,
4291
- * },
4292
- * });
4293
- * ```
4294
- */
4295
- padding?: number | {
4296
- top?: number;
4297
- right?: number;
4298
- bottom?: number;
4299
- left?: number;
4300
- };
4301
- /**
4302
- * Position of the watermark on the screen.
4303
- * @default 'bottom-left'
4304
- */
4305
- position?: TPosition;
4306
- /**
4307
- * Show only the Mappedin icon without text.
4308
- * @default false
4309
- */
4310
- iconOnly?: boolean;
4311
- /**
4312
- * Scale of the watermark between 0.5 and 1.5.
4313
- * @default 1
4314
- */
4315
- scale?: number;
4316
- /**
4317
- * Callback when the watermark is clicked.
4318
- */
4319
- onClick?: () => void;
4320
- };
4321
- class WatermarkController {
4322
- #private;
4323
- static ENABLED: boolean;
4324
- static OPTIONS: Required<TShowWatermarkOptions>;
4325
- /**
4326
- * The current calculated position and size of the watermark on the screen. It is updated every resize.
4327
- * This is public so it can be used in event system.
4328
- */
4329
- position: {
4330
- x: number;
4331
- y: number;
4332
- width: number;
4333
- height: number;
4334
- };
4335
- constructor(core: ICore);
4336
- show: () => void;
4337
- hide: () => void;
4338
- resize: () => void;
4339
- }
4340
- export default WatermarkController;
4341
- }
4342
-
4343
4329
  declare module '@mappedin/mappedin-js/get-venue/MappedinDirections' {
4344
4330
  import { IDirectionsResult } from '@mappedin/mappedin-js/navigator';
4345
4331
  import { ACTION_TYPE, BEARING_TYPE } from '@mappedin/mappedin-js/navigator/Directive';
@@ -6062,7 +6048,7 @@ declare module '@mappedin/mappedin-js/get-venue/Mappedin.API.types' {
6062
6048
  declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.FloatingLabel' {
6063
6049
  import './Mappedin.FloatingLabel.scss';
6064
6050
  import { BaseCollider } from '@mappedin/mappedin-js/renderer/internal';
6065
- import { TDrawFn } from '@mappedin/mappedin-js/renderer/internal/shave-text';
6051
+ import type { TDrawFn } from '@mappedin/mappedin-js/renderer/internal/shave-text';
6066
6052
  import type { MappedinPolygon } from '@mappedin/mappedin-js/get-venue';
6067
6053
  import type { ICore, ICollider, TColliderStrategy, TColliderPosition } from '@mappedin/mappedin-js/renderer/internal';
6068
6054
  type TStyle = {
@@ -6882,7 +6868,7 @@ declare module '@mappedin/mappedin-js/renderer/index.rn' {
6882
6868
  export type { ThingsOption } from '@mappedin/mappedin-js/renderer/MapView.types';
6883
6869
  export type { IFlatLabels } from '@mappedin/mappedin-js/renderer/public/api/FlatLabels';
6884
6870
  export type { IFloatingLabels } from '@mappedin/mappedin-js/renderer/public/api/FloatingLabels';
6885
- 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, TAnimationOptions, TCreateTooltipOptions, } from '@mappedin/mappedin-js/renderer/MapView.types';
6871
+ 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, TAnimationOptions, TCreateTooltipOptions, TShowWatermarkOptions, } from '@mappedin/mappedin-js/renderer/MapView.types';
6886
6872
  export { BEARING_TYPE, ACTION_TYPE } from '@mappedin/mappedin-js/navigator';
6887
6873
  export type { IDirectionsResult, E_MESSAGES as E_GET_DIRECTIONS_MESSAGES } from '@mappedin/mappedin-js/navigator';
6888
6874
  export type { TGetVenueBundleOptions, TGetVenueOptions, TGetVenueMakerOptions, TMappedinDirective, TMappedinOfflineSearchOptions, TMappedinOfflineSearchResult, TMappedinOfflineSearchSuggestions, TMappedinOfflineSearchAllOptions, TMappedinOfflineAllSearchMatch, TDirectionToOptions, } from '@mappedin/mappedin-js/get-venue';
@@ -7536,7 +7522,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Dyn
7536
7522
  get currentMap(): MappedinMap;
7537
7523
  setDefaultMapForMapGroup(mapGroup: MappedinMapGroup, map: MappedinMap): void;
7538
7524
  resetDefaultMapForMapGroup(mapGroup: MappedinMapGroup): void;
7539
- determineTargetMap(): void;
7525
+ determineTargetMap(): Promise<void>;
7540
7526
  update(): void;
7541
7527
  transitionTo(scene?: MapViewScene): Promise<void>;
7542
7528
  }
@@ -8358,7 +8344,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/dynamic-foc
8358
8344
  get buildingsInView(): Building[];
8359
8345
  determineBuildingsInView(): Building[];
8360
8346
  /** Given zoom and camera position, let's figure out the currently active map */
8361
- determineCurrentMap(): MappedinMap | undefined;
8347
+ determineCurrentMap(): Promise<MappedinMap | undefined>;
8362
8348
  setOpacities(buildingsInView?: Building[], centerMap?: MappedinMap): void;
8363
8349
  createBuildings(buildingGeometries: [string, LayerGroup][]): Promise<Building[]>;
8364
8350
  }
@@ -8720,8 +8706,8 @@ declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.BinaryAssetMana
8720
8706
 
8721
8707
  declare module '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollisionEngine' {
8722
8708
  import './Mappedin.SmartCollisionEngine.scss';
8723
- import { TRange, TColliderPosition } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollider';
8724
- import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
8709
+ import type { TRange, TColliderPosition } from '@mappedin/mappedin-js/renderer/internal/Mappedin.SmartCollider';
8710
+ import type { MappedinMap } from '@mappedin/mappedin-js/get-venue';
8725
8711
  import type { ICore } from '@mappedin/mappedin-js/renderer/internal';
8726
8712
  import { Rectangle, QuadTree } from '@mappedin/mappedin-js/renderer/internal/quad-tree';
8727
8713
  import { InternalFloatingLabel, InternalMarker, SmartTooltip } from '@mappedin/mappedin-js/renderer/internal';
@@ -9345,6 +9331,31 @@ declare module '@mappedin/mappedin-js/renderer/private/controllers/ExportControl
9345
9331
  }
9346
9332
  }
9347
9333
 
9334
+ declare module '@mappedin/mappedin-js/renderer/private/controllers/WatermarkController' {
9335
+ import { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
9336
+ import type { TShowWatermarkOptions } from '@mappedin/mappedin-js/renderer/MapView.types';
9337
+ class WatermarkController {
9338
+ #private;
9339
+ static ENABLED: boolean;
9340
+ static OPTIONS: Required<TShowWatermarkOptions>;
9341
+ /**
9342
+ * The current calculated position and size of the watermark on the screen. It is updated every resize.
9343
+ * This is public so it can be used in event system.
9344
+ */
9345
+ position: {
9346
+ x: number;
9347
+ y: number;
9348
+ width: number;
9349
+ height: number;
9350
+ };
9351
+ constructor(core: ICore);
9352
+ show: () => void;
9353
+ hide: () => void;
9354
+ resize: () => void;
9355
+ }
9356
+ export default WatermarkController;
9357
+ }
9358
+
9348
9359
  declare module '@mappedin/mappedin-js/renderer/private/controllers/LayerController' {
9349
9360
  import type { ICore } from '@mappedin/mappedin-js/renderer/private/Core.interface';
9350
9361
  import { MappedinMap } from '@mappedin/mappedin-js/get-venue';
@@ -9904,6 +9915,7 @@ declare module '@mappedin/mappedin-js/renderer/private/Core.interface' {
9904
9915
  padding?: TPadding;
9905
9916
  points?: any[];
9906
9917
  boundingBox?: any;
9918
+ doNotEmitFocusOnEvent?: boolean;
9907
9919
  callback: () => void;
9908
9920
  cancelledCallback?: () => void;
9909
9921
  };