@mapcatch/util 2.0.9 → 2.0.11-a
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: ["
|
|
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=
|
|
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=
|
|
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=
|
|
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);
|
|
@@ -77144,7 +77144,9 @@ function predictObservations(e, n, l, u) {
|
|
|
77144
77144
|
function predictBeforeAT(e, n, l, u) {
|
|
77145
77145
|
let { images: d, cameras: p, coordinateSystem: y } = e;
|
|
77146
77146
|
if (y.type === 1)
|
|
77147
|
-
return {
|
|
77147
|
+
return u && d.forEach(($) => {
|
|
77148
|
+
$.predict = void 0;
|
|
77149
|
+
}), {
|
|
77148
77150
|
predicts: {}
|
|
77149
77151
|
};
|
|
77150
77152
|
let o = {};
|