@mappedin/viewer 0.24.2-f68cf87.0 → 0.24.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.24.2](https://github.com/MappedIn/viewer/compare/viewer-v0.24.1...viewer-v0.24.2) (2024-07-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **SRV-1314:** tweak connection marker animation ([#257](https://github.com/MappedIn/viewer/issues/257)) ([f68cf87](https://github.com/MappedIn/viewer/commit/f68cf87a5ed5f07cd6e9fe510473477957f1f16b))
9
+ * **SRV-1314:** tweak label colors in night blue theme ([#262](https://github.com/MappedIn/viewer/issues/262)) ([53d98b1](https://github.com/MappedIn/viewer/commit/53d98b1ac71f5e14bcc8dfed18e6d0b3844f5e77))
10
+ * **SRV-1351:** ensure building footprints are hiding in the default tile set ([#263](https://github.com/MappedIn/viewer/issues/263)) ([3acf00d](https://github.com/MappedIn/viewer/commit/3acf00dfc406c4c0e54c1e057868d9e244a23e14))
11
+
3
12
  ## [0.24.1](https://github.com/MappedIn/viewer/compare/viewer-v0.24.0...viewer-v0.24.1) (2024-07-15)
4
13
 
5
14
 
package/dist/index.js CHANGED
@@ -10100,8 +10100,8 @@ const Yf = /* @__PURE__ */ xC(WCe), p7 = (r) => ({
10100
10100
  connection: "#50B6B6",
10101
10101
  washroom: "#68A4EE",
10102
10102
  parking: "#80AE77",
10103
- point: "#BE73C9",
10104
- door: "#C08F59"
10103
+ point: "#BC76C6",
10104
+ door: "#C09B72"
10105
10105
  },
10106
10106
  markers: {
10107
10107
  text: "#B9CDE2",
@@ -65840,7 +65840,7 @@ const ZHe = [s2, G2, Dn, Z2, Uu, kr, ho], x8e = [s2, Z2], w8e = async (r, e) =>
65840
65840
  }
65841
65841
  return await HHe(t);
65842
65842
  };
65843
- var GHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.1", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
65843
+ var GHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.2", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
65844
65844
  const WHe = async (r, e, t) => {
65845
65845
  const i = `${e ?? GHe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${r}&version=2.0.0`, { url: n } = await fetch(i).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await Q$(o), l = J$(s);
65846
65846
  return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), w8e(l, t);
@@ -71157,7 +71157,7 @@ const vXe = (r, e) => (Pd != null || (U6 == null && globalThis.OffscreenCanvas !
71157
71157
  const i = {
71158
71158
  fit: "fit",
71159
71159
  ...t
71160
- }, n = "https://image-proxy-staging.mappedin.net", a = CXe[e], o = encodeURIComponent(r);
71160
+ }, n = "https://image-proxy.mappedin.com", a = CXe[e], o = encodeURIComponent(r);
71161
71161
  return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
71162
71162
  }, zfe = Uh`
71163
71163
  cursor: pointer;
@@ -72445,8 +72445,9 @@ class BXe {
72445
72445
  };
72446
72446
  i && (n.outdoorView = {
72447
72447
  token: t,
72448
- style: this.rootStore.uiStore.theme.map.tiles,
72449
- layersHiddenByGeometry: ["building-outline", "building-top"]
72448
+ style: this.rootStore.uiStore.theme.map.tiles
72449
+ // TODO: This is broken in the SDK
72450
+ // layersHiddenByGeometry: ['building-outline', 'building-top', 'building'],
72450
72451
  });
72451
72452
  try {
72452
72453
  const a = await jHe(e, this.rootStore.data, n);
@@ -86510,7 +86511,7 @@ const L7e = fw((r) => {
86510
86511
  /* @__PURE__ */ X.jsx(Eq, { children: /* @__PURE__ */ X.jsx(LF, { ...e }) })
86511
86512
  ), t;
86512
86513
  }, E7e = (r = {}) => {
86513
- const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
86514
+ const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
86514
86515
  ySe(r.captureEnabled ?? !0);
86515
86516
  const i = pf();
86516
86517
  if (!i.__loaded && e != null && t != null) {
@@ -86529,7 +86530,7 @@ const L7e = fw((r) => {
86529
86530
  }
86530
86531
  }, T7e = () => {
86531
86532
  let r = document.querySelector("meta[name=app-version]");
86532
- r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.1";
86533
+ r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.2";
86533
86534
  let e = document.querySelector("meta[name=viewport]");
86534
86535
  e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
86535
86536
  }, A7e = (r) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.24.2-f68cf87.0",
3
+ "version": "0.24.2",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",