@abi-software/flatmap-viewer 3.1.0 → 3.1.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.
package/README.rst CHANGED
@@ -38,7 +38,7 @@ The map server endpoint is specified as ``MAP_ENDPOINT`` in ``src/main.js``. It
38
38
  Package Installation
39
39
  ====================
40
40
 
41
- * ``npm install @abi-software/flatmap-viewer@3.1.0``
41
+ * ``npm install @abi-software/flatmap-viewer@3.1.2``
42
42
 
43
43
  Documentation
44
44
  -------------
package/dist/index.js CHANGED
@@ -92731,9 +92731,8 @@ class YAt {
92731
92731
  removeImage(t) {
92732
92732
  if (xt(this, V6).has(t)) {
92733
92733
  for (const r of xt(this, V6).get(t)) {
92734
- this._map.removeSource(`${r}-source`);
92735
92734
  const n = `${r}-layer`;
92736
- this._map.getLayer(n) && this._map.removeLayer(n);
92735
+ this._map.getLayer(n) && this._map.removeLayer(n), this._map.removeSource(`${r}-source`);
92737
92736
  }
92738
92737
  xt(this, V6).delete(t);
92739
92738
  }
@@ -92900,7 +92899,8 @@ class iEt {
92900
92899
  }
92901
92900
  const o = {
92902
92901
  style: n.style,
92903
- container: t
92902
+ container: t,
92903
+ attributionControl: !1
92904
92904
  };
92905
92905
  "maxZoom" in n.options && (o.maxZoom = n.options.maxZoom), "minZoom" in n.options && (o.minZoom = n.options.minZoom), o.hash = n.options.debug === !0, "bounds" in n.options && (o.bounds = n.options.bounds), this._map = new s2.Map(o), n.options.debug === !0 && (this._map.showTileBoundaries = !0, this._map.showCollisionBoxes = !0), this._map.setRenderWorldCopies(!1), this._userInteractions = null, this._initialState = null, this._map.on("idle", () => {
92906
92906
  if (xt(this, Z3) === -1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmap-viewer",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",