@mappedin/viewer 0.55.0 → 0.55.1-6a07bd9.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 (2) hide show
  1. package/dist/index.js +9 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17702,7 +17702,7 @@ const Ret = function() {
17702
17702
  const e = _R(), [r, i] = t;
17703
17703
  e.capture(r, i);
17704
17704
  }, zet = (t = {}) => {
17705
- const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", r = "https://ph-api.mappedin.com";
17705
+ const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", r = "https://ph-api.mappedin.com";
17706
17706
  oGt(t.captureEnabled ?? !0);
17707
17707
  const i = _R();
17708
17708
  if (!i.__loaded && e != null && r != null) {
@@ -92208,7 +92208,7 @@ const q$r = (t, e, r, i) => {
92208
92208
  return;
92209
92209
  const o = e != null && e.length > 0 ? `${t}-${e}` : t, s = Array.isArray(i) ? i : [i], l = Array.isArray(n) ? n : [n], u = new URL(
92210
92210
  "/directions",
92211
- "https://mappedin-public-mvf-prod.azurewebsites.net"
92211
+ "https://mappedin-public-mvf-staging.azurewebsites.net"
92212
92212
  );
92213
92213
  u.search = new URLSearchParams({
92214
92214
  mapId: o,
@@ -99241,7 +99241,7 @@ const gHr = (t, e) => (rw != null || (U$ == null && globalThis.OffscreenCanvas !
99241
99241
  const i = {
99242
99242
  fit: "fit",
99243
99243
  ...r
99244
- }, n = "https://image-proxy.mappedin.com", a = yHr(e, i.fit), o = encodeURIComponent(t);
99244
+ }, n = "https://image-proxy-staging.mappedin.net", a = yHr(e, i.fit), o = encodeURIComponent(t);
99245
99245
  return `${n}/resize:${i.fit}:${a}:${a}:0/format:webp/max_bytes:5000000/plain/${o}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
99246
99246
  }, vHr = (t, e) => {
99247
99247
  if (e == null || e === "")
@@ -103139,16 +103139,11 @@ class tZr {
103139
103139
  this.rootStore.currentFloor
103140
103140
  );
103141
103141
  if (r != null) {
103142
- const i = this.mapStore.mapView.Labels.add(r, this.rootStore.data.mapName, {
103143
- interactive: !0,
103144
- rank: "always-visible",
103145
- appearance: {
103146
- textColor: this.rootStore.uiStore.theme.colors.map.labels.default,
103147
- textOutlineColor: this.rootStore.uiStore.theme.colors.map.labels.background,
103148
- pinColor: this.rootStore.uiStore.theme.colors.map.labels.default,
103149
- pinOutlineColor: "#ffffff00"
103150
- }
103151
- });
103142
+ const i = this.mapStore.mapView.Labels.add(
103143
+ r,
103144
+ this.rootStore.data.mapName,
103145
+ this.getLabelOptionsForFloorStack()
103146
+ );
103152
103147
  i != null && (this.mapLabel = i);
103153
103148
  }
103154
103149
  }
@@ -180895,7 +180890,7 @@ class nci {
180895
180890
  }
180896
180891
  async init(e) {
180897
180892
  this.container = e;
180898
- const r = this.rootStore.startupOptions.outdoorMapsKey ?? "zixaliyV5cGjHU", i = {
180893
+ const r = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", i = {
180899
180894
  // In campus mode, we need to load the outdoors first
180900
180895
  initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
180901
180896
  watermark: this.getWatermarkOptions(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.55.0",
3
+ "version": "0.55.1-6a07bd9.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",