@abi-software/flatmap-viewer 2.9.1 → 2.9.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.
package/README.rst CHANGED
@@ -11,14 +11,14 @@ Standalone Use
11
11
  Requirements
12
12
  ------------
13
13
 
14
- * `nodejs <https://nodejs.org/en/download/>`_
14
+ * `nodejs <https://nodejs.org/en/download/>`_
15
15
 
16
16
 
17
17
  Installation
18
18
  ------------
19
19
 
20
- 1) Clone this repository.
21
- 2) Run ``npm install``
20
+ 1) Clone this repository.
21
+ 2) Run ``npm install``
22
22
 
23
23
 
24
24
  Running
@@ -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@2.9.1``
41
+ * ``npm install @abi-software/flatmap-viewer@2.9.3``
42
42
 
43
43
  Documentation
44
44
  -------------
package/dist/index.js CHANGED
@@ -27119,11 +27119,13 @@ class oW {
27119
27119
  "icon-size": 0.8,
27120
27120
  "text-field": aW(St(this, yo)),
27121
27121
  "text-size": 10,
27122
- "text-offset": [0, -1.93]
27122
+ "text-offset": [0, -1.93],
27123
+ "text-allow-overlap": !0,
27124
+ "text-ignore-placement": !0
27123
27125
  },
27124
27126
  paint: {
27125
- "icon-opacity": ["case", ["boolean", ["get", "hidden"], !1], 0.2, 1],
27126
- "text-opacity": ["case", ["boolean", ["get", "hidden"], !1], 0.2, 1]
27127
+ "icon-opacity": ["case", ["boolean", ["get", "hidden"], !1], 0, 1],
27128
+ "text-opacity": ["case", ["boolean", ["get", "hidden"], !1], 0, 1]
27127
27129
  }
27128
27130
  });
27129
27131
  }
@@ -84568,7 +84570,7 @@ class Jut {
84568
84570
  o !== "" && this._infoControl.show(o), this.__showToolTip(T, t.lngLat, Q);
84569
84571
  }
84570
84572
  __showToolTip(t, r, n = null) {
84571
- if (t !== "" || this._flatmap.options.showId && n !== null) {
84573
+ if (t !== "" || this._flatmap.options.showPosition || this._flatmap.options.showId && n !== null) {
84572
84574
  let i = "";
84573
84575
  if (this._flatmap.options.showPosition) {
84574
84576
  const a = cS(r.toArray()), o = v$(a).geometry.coordinates;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmap-viewer",
3
- "version": "2.9.1",
3
+ "version": "2.9.3",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",