@mapsindoors/map-template 1.99.15 → 1.99.16

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.
@@ -45775,7 +45775,7 @@ function Mpe(e, n = {}) {
45775
45775
  return vpe(e, n, { mount: xpe, update: bpe, unmount: wpe });
45776
45776
  }
45777
45777
  function Ipe() {
45778
- return "1.99.14";
45778
+ return "1.99.15";
45779
45779
  }
45780
45780
  const Tpe = Mpe(qP, {
45781
45781
  props: {
@@ -83255,12 +83255,13 @@ function JP({ accessToken: e, onInitialized: n, center: s, zoom: c, bounds: d, b
83255
83255
  bearing: y ?? 0,
83256
83256
  pitch: _ ?? 0,
83257
83257
  useMapsIndoorsMapboxStyle: !A?.mapboxMapStyle,
83258
+ ...A?.mapboxMapStyle && { style: A.mapboxMapStyle },
83258
83259
  localIdeographFontFamily: "sans-serif",
83259
83260
  ...A
83260
83261
  };
83261
83262
  A?.miTransitionLevel && !isNaN(parseInt(A?.miTransitionLevel)) && ($.mapsIndoorsTransitionLevel = parseInt(A.miTransitionLevel)), fo(A?.showRoadNames) || ($.showRoadNameLabels = A.showRoadNames), fo(A?.showMapMarkers) || ($.showMapMarkers = A.showMapMarkers);
83262
83263
  const ee = new window.mapsindoors.mapView.MapboxV3View($);
83263
- U(ee), !fo(A?.mapboxMapStyle) && !$.useMapsIndoorsMapboxStyle && ee?.getMap()?.setStyle(A.mapboxMapStyle), n(ee);
83264
+ U(ee), n(ee);
83264
83265
  }, []), /* @__PURE__ */ Pe.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: T && /* @__PURE__ */ Pe.jsx(XP, { reset: o, mapView: j, pitch: _, activeColor: A?.brandingColor, show2DModelsIn3D: z?.appSettings?.show2DModelsIn3D }) });
83265
83266
  }
83266
83267
  const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -16799,7 +16799,7 @@ function SM({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
16799
16799
  const FS = E4(SM), jt = {
16800
16800
  Google: "google",
16801
16801
  Mapbox: "mapbox"
16802
- }, YS = L4(() => import("./MapboxMap-B0Q1q19j.mjs")), HS = L4(() => import("./GoogleMapsMap-CxVn5eGB.mjs"));
16802
+ }, YS = L4(() => import("./MapboxMap-C0gOxeX6.mjs")), HS = L4(() => import("./GoogleMapsMap-GaUEnvH9.mjs"));
16803
16803
  jM.propTypes = {
16804
16804
  apiKey: q.string.isRequired,
16805
16805
  mapType: q.string.isRequired,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapsindoors/map-template",
3
3
  "description": "Get a MapsIndoors map up and running in less than 10 mins.",
4
- "version": "1.99.15",
4
+ "version": "1.99.16",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"