@abi-software/flatmap-viewer 4.2.13 → 4.2.14
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/README.md +1 -1
- package/dist/index.js +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -94063,7 +94063,12 @@ Lu = new WeakMap(), wu = new WeakMap(), Au = new WeakMap(), z2 = new WeakMap(),
|
|
|
94063
94063
|
const o = M(this, y5).get(n);
|
|
94064
94064
|
Array.isArray(i) ? M(this, y5).set(n, o.union(new os(i.map((s) => `${s}`)))) : o.add(`${i}`);
|
|
94065
94065
|
}
|
|
94066
|
-
M(this, Lu).set(e.id, t), this.options.style === ui.CENTRELINE && e.centreline
|
|
94066
|
+
if (M(this, Lu).set(e.id, t), this.options.style === ui.CENTRELINE && e.centreline)
|
|
94067
|
+
try {
|
|
94068
|
+
e.lineString = AR(e.coordinates), e.lineLength = Let(e.lineString);
|
|
94069
|
+
} catch {
|
|
94070
|
+
console.log(`Bad centreline for ${e.id}, coordinates: ${e.coordinates}`);
|
|
94071
|
+
}
|
|
94067
94072
|
}, nA = async function(t) {
|
|
94068
94073
|
if (t && !M(this, Sl).has(t)) {
|
|
94069
94074
|
const e = await this.queryLabels(t);
|
|
@@ -94071,7 +94076,7 @@ Lu = new WeakMap(), wu = new WeakMap(), Au = new WeakMap(), z2 = new WeakMap(),
|
|
|
94071
94076
|
return M(this, Sl).set(t, e[0].label);
|
|
94072
94077
|
}
|
|
94073
94078
|
};
|
|
94074
|
-
const w_t = "4.2.
|
|
94079
|
+
const w_t = "4.2.14", A_t = 1.4;
|
|
94075
94080
|
var Jm, td, Cl, J1, ed, rd, I3, iA, oA, T$;
|
|
94076
94081
|
class M_t {
|
|
94077
94082
|
// also have a callback for viewer events...
|