@abi-software/flatmap-viewer 4.3.4 → 4.3.5
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 +12 -14
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -28748,20 +28748,18 @@ class kit {
|
|
|
28748
28748
|
}
|
|
28749
28749
|
});
|
|
28750
28750
|
}
|
|
28751
|
-
|
|
28751
|
+
datasetTerms(t) {
|
|
28752
28752
|
const e = Math.floor(A(this, A4).getZoom());
|
|
28753
28753
|
return [...(A(this, Z7).get(t)[e] || []).values()].map((i) => {
|
|
28754
|
-
|
|
28755
|
-
|
|
28754
|
+
const o = {
|
|
28755
|
+
term: i,
|
|
28756
|
+
kind: A(this, $7).get(i) || "dataset"
|
|
28757
|
+
}, s = A(this, n3).modelFeatureIds(i);
|
|
28756
28758
|
if (s.length) {
|
|
28757
28759
|
const a = A(this, n3).annotation(s[0]);
|
|
28758
|
-
a && "label" in a && (o = a.label);
|
|
28760
|
+
a && "label" in a && (o.label = a.label);
|
|
28759
28761
|
}
|
|
28760
|
-
return
|
|
28761
|
-
term: i,
|
|
28762
|
-
label: o,
|
|
28763
|
-
kind: A(this, $7).get(i) || "dataset"
|
|
28764
|
-
};
|
|
28762
|
+
return o;
|
|
28765
28763
|
});
|
|
28766
28764
|
}
|
|
28767
28765
|
addDatasetMarkers(t) {
|
|
@@ -56339,8 +56337,8 @@ class Y7t {
|
|
|
56339
56337
|
clearDatasetMarkers() {
|
|
56340
56338
|
A(this, h3).clearDatasetMarkers();
|
|
56341
56339
|
}
|
|
56342
|
-
|
|
56343
|
-
return A(this, h3).
|
|
56340
|
+
datasetTerms(t) {
|
|
56341
|
+
return A(this, h3).datasetTerms(t);
|
|
56344
56342
|
}
|
|
56345
56343
|
removeDatasetMarker(t) {
|
|
56346
56344
|
A(this, h3).removeDatasetMarker(t);
|
|
@@ -92549,7 +92547,7 @@ n$ = function() {
|
|
|
92549
92547
|
let i;
|
|
92550
92548
|
if (qx(e)) {
|
|
92551
92549
|
const o = Object.assign({}, e.properties, n), s = o.models;
|
|
92552
|
-
return o["
|
|
92550
|
+
return o["dataset-terms"] = A(this, on).datasetTerms(s), A(this, Zr).markerEvent(t, +e.id, o);
|
|
92553
92551
|
} else if ("properties" in e)
|
|
92554
92552
|
return i = Object.assign({}, e.properties, n), A(this, Zr).featureEvent(t, i);
|
|
92555
92553
|
return !1;
|
|
@@ -92894,7 +92892,7 @@ const y_t = [
|
|
|
92894
92892
|
"dataset-ids",
|
|
92895
92893
|
"kind",
|
|
92896
92894
|
"label",
|
|
92897
|
-
"
|
|
92895
|
+
"dataset-terms",
|
|
92898
92896
|
"models",
|
|
92899
92897
|
"source",
|
|
92900
92898
|
"taxons",
|
|
@@ -94142,7 +94140,7 @@ Su = new WeakMap(), Cu = new WeakMap(), Hu = new WeakMap(), U2 = new WeakMap(),
|
|
|
94142
94140
|
return A(this, Hl).set(t, e[0].label);
|
|
94143
94141
|
}
|
|
94144
94142
|
};
|
|
94145
|
-
const w_t = "4.3.
|
|
94143
|
+
const w_t = "4.3.5", A_t = 1.4;
|
|
94146
94144
|
var Ym, td, Pl, M2, ed, R3, oA, aA, Q$;
|
|
94147
94145
|
class M_t {
|
|
94148
94146
|
// also have a callback for viewer events...
|