@abi-software/flatmap-viewer 4.6.1 → 4.6.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -56091,6 +56091,9 @@ class rnA {
56091
56091
  const B = this.#t.addMarker(A, I, Q);
56092
56092
  return B !== null && this.#o.set(A.featureId, B), B;
56093
56093
  }
56094
+ clearLayeredMarkers() {
56095
+ this.#t.clearMarkers();
56096
+ }
56094
56097
  updateBaseMarker(A, I) {
56095
56098
  const Q = this.#o.get(A.featureId);
56096
56099
  Q ? this.#t.updateMarkerCount(Q) : this.addLayeredMarker(A, I, !0);
@@ -56237,6 +56240,10 @@ class DnA {
56237
56240
  clearClusteredAnatomicalMarkers() {
56238
56241
  this.#D.clearClusteredMarkers();
56239
56242
  }
56243
+ clearLayeredMarkers() {
56244
+ for (const A of this.#r.values())
56245
+ A.clearLayeredMarkers();
56246
+ }
56240
56247
  datasetTerms(A) {
56241
56248
  return this.#D.datasetTerms(A);
56242
56249
  }
@@ -92523,7 +92530,7 @@ class LyA {
92523
92530
  return I;
92524
92531
  }
92525
92532
  clearMarkers() {
92526
- this.#s && this.#s.clearMarkers();
92533
+ this.#s.clearMarkers(), this.#s.clearLayeredMarkers();
92527
92534
  for (const A of this.#h.keys())
92528
92535
  A.remove();
92529
92536
  this.#h.clear(), this.#I.clear();
@@ -103238,7 +103245,7 @@ class GuA {
103238
103245
  }
103239
103246
  //==========================================================================
103240
103247
  }
103241
- const yuA = "4.6.1", MuA = 1.4;
103248
+ const yuA = "4.6.2", MuA = 1.4;
103242
103249
  class OuA {
103243
103250
  /**
103244
103251
  * The released version of the viewer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmap-viewer",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",