@watergis/maplibre-gl-terradraw 0.7.3 → 0.8.0

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.
@@ -3293,7 +3293,7 @@ class Di {
3293
3293
  styles: {}
3294
3294
  })
3295
3295
  ), this.defaultMode = "default"), this.isExpanded = this.options.open === !0, this.terradraw = new Ii({
3296
- adapter: new Be({ map: t }),
3296
+ adapter: new Be({ map: t, ...this.options.adapterOptions }),
3297
3297
  modes: i
3298
3298
  }), this.terradraw.start(), this.controlContainer = document.createElement("div"), this.controlContainer.classList.add("maplibregl-ctrl"), this.controlContainer.classList.add("maplibregl-ctrl-group"), i.forEach((d) => {
3299
3299
  d.mode !== "default" && this.addTerradrawButton(d.mode);