@mappedin/viewer 0.13.2 → 0.13.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.3](https://github.com/MappedIn/viewer/compare/viewer-v0.13.2...viewer-v0.13.3) (2023-12-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **MKR-592:** no markers for objects on other maps ([#98](https://github.com/MappedIn/viewer/issues/98)) ([b375b13](https://github.com/MappedIn/viewer/commit/b375b13ddd4e54e21a541a31cefb5ebfb8a7f2fd))
|
|
9
|
+
|
|
3
10
|
## [0.13.2](https://github.com/MappedIn/viewer/compare/viewer-v0.13.1...viewer-v0.13.2) (2023-12-01)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -69602,7 +69602,7 @@ class c0t {
|
|
|
69602
69602
|
return {};
|
|
69603
69603
|
const i = /* @__PURE__ */ new Set();
|
|
69604
69604
|
for (const n of this.rootStore.selectedLocation.polygons) {
|
|
69605
|
-
if (n.center == null)
|
|
69605
|
+
if (n.map.id !== this.rootStore.currentMap.id || n.center == null)
|
|
69606
69606
|
continue;
|
|
69607
69607
|
i.add(n.id);
|
|
69608
69608
|
const { x: r, y: o } = n.center, a = this.rootStore.currentMap.createCoordinateByXY(r, o), s = {
|
|
@@ -69623,7 +69623,7 @@ class c0t {
|
|
|
69623
69623
|
e[s.key] = s;
|
|
69624
69624
|
}
|
|
69625
69625
|
for (const n of this.rootStore.selectedLocation.nodes) {
|
|
69626
|
-
if (n.polygon != null && (i.has(n.polygon.id) || !this.rootStore.selectedLocation.categories.some((o) => o.name === "poi") && !n.polygon.locations.includes(this.rootStore.selectedLocation)))
|
|
69626
|
+
if (n.map.id !== this.rootStore.currentMap.id || n.polygon != null && (i.has(n.polygon.id) || !this.rootStore.selectedLocation.categories.some((o) => o.name === "poi") && !n.polygon.locations.includes(this.rootStore.selectedLocation)))
|
|
69627
69627
|
continue;
|
|
69628
69628
|
n.polygon != null && i.add(n.polygon.id);
|
|
69629
69629
|
const r = {
|
|
@@ -107222,7 +107222,7 @@ const Bmt = Sn.div`
|
|
|
107222
107222
|
}
|
|
107223
107223
|
}, Wje = () => {
|
|
107224
107224
|
const t = document.createElement("meta");
|
|
107225
|
-
t.name = "app-version", t.content = "0.13.
|
|
107225
|
+
t.name = "app-version", t.content = "0.13.3", document.head.appendChild(t);
|
|
107226
107226
|
let e = document.querySelector("meta[name=viewport]");
|
|
107227
107227
|
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";
|
|
107228
107228
|
}, $je = (t) => {
|