@mapcatch/util 1.0.11 → 1.0.13
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/CHANGELOG.md +8 -0
- package/dist/catchUtil.min.esm.js +11 -1
- package/dist/catchUtil.min.js +1 -1
- package/package.json +1 -1
- package/src/constants/measurement_fields.js +10 -0
- package/src/util.js +1 -1
- package/README.md +0 -44
package/CHANGELOG.md
CHANGED
|
@@ -6539,6 +6539,16 @@ const Bs = [
|
|
|
6539
6539
|
], Wl = {
|
|
6540
6540
|
normal: {
|
|
6541
6541
|
point: [
|
|
6542
|
+
{
|
|
6543
|
+
field: "lng",
|
|
6544
|
+
label: "\u7ECF\u5EA6",
|
|
6545
|
+
unit: ""
|
|
6546
|
+
},
|
|
6547
|
+
{
|
|
6548
|
+
field: "lat",
|
|
6549
|
+
label: "\u7EAC\u5EA6",
|
|
6550
|
+
unit: ""
|
|
6551
|
+
},
|
|
6542
6552
|
{
|
|
6543
6553
|
field: "height",
|
|
6544
6554
|
label: "\u9AD8\u7A0B",
|
|
@@ -48945,7 +48955,7 @@ function Fl(T, E = []) {
|
|
|
48945
48955
|
continue;
|
|
48946
48956
|
}
|
|
48947
48957
|
let { opacity: B, visible: c } = w;
|
|
48948
|
-
XA.isEqual(t, w) || (["point", "line", "polygon"].includes(G) ? a.push(["updateAnnotations", t]) : I !== B ||
|
|
48958
|
+
XA.isEqual(t, w) || (["point", "line", "polygon"].includes(G) ? a.push(["updateAnnotations", t]) : I !== B || !XA.isEqual(t.metadata, w.metadata) ? a.push(["updateLayer", t]) : D !== c && a.push([D ? "addLayer" : "removeLayer", t]));
|
|
48949
48959
|
}
|
|
48950
48960
|
}
|
|
48951
48961
|
for (let r of E)
|