gralobe 1.0.38 → 1.0.40

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/dist/gralobe.js CHANGED
@@ -6858,7 +6858,13 @@ class wo {
6858
6858
  i.add({ toGlobe: () => this.toGlobe() }, "toGlobe").name("→ Globe"), i.add({ toFlat: () => this.toFlat() }, "toFlat").name("→ Flat"), i.add({ morph: this.morph }, "morph", 0, 1).name("Morph").onChange((l) => this.setMorph(l));
6859
6859
  const n = this.gui.addFolder("Statistics"), r = Object.keys(Pi);
6860
6860
  n.add({ stat: this.config.statistic }, "stat", r).name("Statistic").onChange((l) => this.setStatistic(l));
6861
- const s = ["none", "minimal", "major", "all"];
6861
+ const s = [
6862
+ "none",
6863
+ "minimal",
6864
+ "major",
6865
+ "all",
6866
+ "data"
6867
+ ];
6862
6868
  this.gui.addFolder("Display").add({ labels: this.config.labels }, "labels", s).name("Labels").onChange((l) => this.setLabels(l)), this.gui.add(this.config, "autoRotate").name("Auto Rotate"), this.gui.addFolder("Export").add(
6863
6869
  { screenshot: () => this.screenshot({ width: 1920, height: 1080 }) },
6864
6870
  "screenshot"
@@ -7048,7 +7054,7 @@ class wo {
7048
7054
  }
7049
7055
  }
7050
7056
  if (this.legend && i && this.legend.show(i), this.countryLabels && this.choropleth) {
7051
- const n = this.choropleth.getStatsMap(), r = n ? Array.from(n.keys()) : [];
7057
+ const n = this.choropleth.getStatsMap(), r = n ? Array.from(n.values()).map((s) => s.code) : [];
7052
7058
  this.countryLabels.setDataIds(r);
7053
7059
  }
7054
7060
  } else {