mobility-toolbox-js 3.0.0-beta.35 → 3.0.0-beta.36

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/mbt.js CHANGED
@@ -45355,7 +45355,7 @@ uniform ${i3} ${a3} u_${s3};
45355
45355
  this.set("hitTolerance", newValue);
45356
45356
  }
45357
45357
  get key() {
45358
- return this.get("key") || this.get("name") || getUid(this);
45358
+ return this.get("key") || this.get("name");
45359
45359
  }
45360
45360
  get map() {
45361
45361
  return this.getMapInternal();
@@ -45519,6 +45519,9 @@ uniform ${i3} ${a3} u_${s3};
45519
45519
  if (this.url.includes("style.json")) {
45520
45520
  return this.url;
45521
45521
  }
45522
+ if (this.get("mapLibreOptions")?.style) {
45523
+ return this.get("mapLibreOptions").style;
45524
+ }
45522
45525
  return buildStyleUrl(this.url, this.style, this.apiKey, this.apiKeyName);
45523
45526
  }
45524
45527
  updateMaplibreMap() {