@abi-software/flatmap-viewer 4.6.2 → 4.6.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -92371,7 +92371,14 @@ class LyA {
92371
92371
  }
92372
92372
  const Q = I.filter((C) => !C.id);
92373
92373
  I = I.filter((C) => C.id);
92374
- const B = I[0];
92374
+ let B = I[0];
92375
+ if (this.#e.mapMetadata["map-kinds"]?.includes("model")) {
92376
+ for (const C of I)
92377
+ if (C.properties.variable) {
92378
+ B = C;
92379
+ break;
92380
+ }
92381
+ }
92375
92382
  if (this.#p)
92376
92383
  this.#q && (this.#IA(), this.unselectFeatures(), this.#v());
92377
92384
  else if (Q.length > 0) {
@@ -103245,7 +103252,7 @@ class GuA {
103245
103252
  }
103246
103253
  //==========================================================================
103247
103254
  }
103248
- const yuA = "4.6.2", MuA = 1.4;
103255
+ const yuA = "4.6.3", MuA = 1.4;
103249
103256
  class OuA {
103250
103257
  /**
103251
103258
  * 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.2",
3
+ "version": "4.6.3",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",