@mappedin/mappedin-js 5.49.0 → 5.50.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.
@@ -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.50.0"}}}));export{c as a,e as b};
@@ -1697,6 +1697,17 @@ declare module '@mappedin/mappedin-js/renderer/MapView.types' {
1697
1697
  * @beta
1698
1698
  */
1699
1699
  mapRenderStrategy?: MAP_RENDER_MODE;
1700
+ /**
1701
+ * Use the current polygon objects directly rather than what is stored when rendering the map in CMS.
1702
+ *
1703
+ * Important Considerations:
1704
+ * - 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.
1705
+ * - 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.
1706
+ * - 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.
1707
+ *
1708
+ * Use this option with caution, understanding the trade-offs between real-time update and visual detail.
1709
+ */
1710
+ useLivePolygons?: boolean;
1700
1711
  };
1701
1712
  /**
1702
1713
  * @experimental
@@ -7536,7 +7547,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/MapView.Dyn
7536
7547
  get currentMap(): MappedinMap;
7537
7548
  setDefaultMapForMapGroup(mapGroup: MappedinMapGroup, map: MappedinMap): void;
7538
7549
  resetDefaultMapForMapGroup(mapGroup: MappedinMapGroup): void;
7539
- determineTargetMap(): void;
7550
+ determineTargetMap(): Promise<void>;
7540
7551
  update(): void;
7541
7552
  transitionTo(scene?: MapViewScene): Promise<void>;
7542
7553
  }
@@ -8358,7 +8369,7 @@ declare module '@mappedin/mappedin-js/renderer/private/scene-manager/dynamic-foc
8358
8369
  get buildingsInView(): Building[];
8359
8370
  determineBuildingsInView(): Building[];
8360
8371
  /** Given zoom and camera position, let's figure out the currently active map */
8361
- determineCurrentMap(): MappedinMap | undefined;
8372
+ determineCurrentMap(): Promise<MappedinMap | undefined>;
8362
8373
  setOpacities(buildingsInView?: Building[], centerMap?: MappedinMap): void;
8363
8374
  createBuildings(buildingGeometries: [string, LayerGroup][]): Promise<Building[]>;
8364
8375
  }
@@ -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
  };