@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 CHANGED
@@ -46,3 +46,11 @@
46
46
 
47
47
  - [add] 增加`util.getWKTString(epsg_code)`接口
48
48
  - [add] 增加常量`crsList`
49
+
50
+ ## v1.0.12
51
+
52
+ - [improve] 点标注的显示字段增加经度(lng)和纬度(lat)
53
+
54
+ ## v1.0.13
55
+
56
+ - [improve] diffLayers检查所有图层的metadata,有变化则提交更新
@@ -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 || G === "geojson" && !XA.isEqual(t.metadata, w.metadata) ? a.push(["updateLayer", t]) : D !== c && a.push([D ? "addLayer" : "removeLayer", t]));
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)