@abi-software/flatmap-viewer 2.9.2 → 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 +4 -4
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/README.rst
CHANGED
|
@@ -11,14 +11,14 @@ Standalone Use
|
|
|
11
11
|
Requirements
|
|
12
12
|
------------
|
|
13
13
|
|
|
14
|
-
*
|
|
14
|
+
* `nodejs <https://nodejs.org/en/download/>`_
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
Installation
|
|
18
18
|
------------
|
|
19
19
|
|
|
20
|
-
1)
|
|
21
|
-
2)
|
|
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
|
-
*
|
|
41
|
+
* ``npm install @abi-software/flatmap-viewer@2.9.3``
|
|
42
42
|
|
|
43
43
|
Documentation
|
|
44
44
|
-------------
|
package/dist/index.js
CHANGED
|
@@ -27119,7 +27119,9 @@ 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
27127
|
"icon-opacity": ["case", ["boolean", ["get", "hidden"], !1], 0, 1],
|
|
@@ -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;
|