@mapcatch/util 2.0.9 → 2.0.10

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.
@@ -6545,14 +6545,14 @@ const layerGroups = [
6545
6545
  {
6546
6546
  type: "raster",
6547
6547
  tileSize: 256,
6548
- tiles: ["https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=bfc12ce6bd94a4449ad626b8a0b709d0"],
6548
+ tiles: ["http://ecn.t3.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=1"],
6549
6549
  maxzoom: 19,
6550
6550
  layerType: "bmap"
6551
6551
  },
6552
6552
  {
6553
6553
  type: "raster",
6554
6554
  tileSize: 256,
6555
- tiles: ["https://t0.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=bfc12ce6bd94a4449ad626b8a0b709d0"],
6555
+ tiles: ["https://t0.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=faefd6f11b36b9900c352bcceae49b65"],
6556
6556
  maxzoom: 18,
6557
6557
  layerType: "bmap"
6558
6558
  }
@@ -6566,14 +6566,14 @@ const layerGroups = [
6566
6566
  {
6567
6567
  type: "raster",
6568
6568
  tileSize: 256,
6569
- tiles: ["https://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=bfc12ce6bd94a4449ad626b8a0b709d0"],
6569
+ tiles: ["https://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=faefd6f11b36b9900c352bcceae49b65"],
6570
6570
  maxzoom: 18,
6571
6571
  layerType: "bmap"
6572
6572
  },
6573
6573
  {
6574
6574
  type: "raster",
6575
6575
  tileSize: 256,
6576
- tiles: ["https://t0.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=bfc12ce6bd94a4449ad626b8a0b709d0"],
6576
+ tiles: ["https://t0.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=faefd6f11b36b9900c352bcceae49b65"],
6577
6577
  maxzoom: 18,
6578
6578
  layerType: "bmap"
6579
6579
  }
@@ -70675,7 +70675,7 @@ function _formatMetadata(e, n = 1) {
70675
70675
  return es(this, null, function* () {
70676
70676
  let l = yield getFileBuffer(e, n), u = getMd5(l);
70677
70677
  return new Promise((d, p) => {
70678
- getData(l, function(y, o) {
70678
+ getData(l.buffer, function(y, o) {
70679
70679
  if (o)
70680
70680
  return o.message === "Offset is outside the bounds of the DataView" && n < 3 ? d(_formatMetadata(e, n + 1)) : p(o);
70681
70681
  let { exif: j, xmp: Re } = getAllTags(y);