@mapsindoors/map-template 1.97.2 → 1.97.3

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.
@@ -16429,7 +16429,7 @@ function cM({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
16429
16429
  const mj = g3(cM), At = {
16430
16430
  Google: "google",
16431
16431
  Mapbox: "mapbox"
16432
- }, yj = p3(() => import("./MapboxMap-BHfgulXP.mjs")), Mj = p3(() => import("./GoogleMapsMap-DDrkIyIs.mjs"));
16432
+ }, yj = p3(() => import("./MapboxMap-B0Kw6m0h.mjs")), Mj = p3(() => import("./GoogleMapsMap-DCGqSsH0.mjs"));
16433
16433
  uM.propTypes = {
16434
16434
  apiKey: ee.string.isRequired,
16435
16435
  mapType: ee.string.isRequired,
@@ -27609,8 +27609,10 @@ function k1({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: i }) {
27609
27609
  });
27610
27610
  }
27611
27611
  le(() => {
27612
- !e && dn && (y(), L($?.appSettings?.minZoom ?? wa.minZoom));
27613
- }, [e, $]);
27612
+ e || (P && x(null), dn && (y(), L($?.appSettings?.minZoom ?? wa.minZoom)));
27613
+ }, [e, $, x, P]), le(() => {
27614
+ P && !p && x(null);
27615
+ }, [p, P, x]);
27614
27616
  function E() {
27615
27617
  return p ? p.directionsResult.legs.reduce((H, Y) => {
27616
27618
  for (const F in Y.steps) {
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.97.2",
4
+ "version": "1.97.3",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"