koishi-plugin-ets2-tools-tmp 3.1.3 → 3.1.5

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.
@@ -586,13 +586,13 @@
586
586
  let mapConfig = {
587
587
  ets: {
588
588
  tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/ets2/05102019/{z}/{x}/{y}.png',
589
- multipliers: { x: 71282, y: 56532 },
589
+ multipliers: { x: 70272, y: 76157 },
590
590
  breakpoints: { uk: { x: -31056.8, y: -5832.867 } },
591
591
  bounds: { y: 131072, x: 131072 },
592
592
  maxZoom: 8,
593
593
  minZoom: 2,
594
594
  calculateMapCoordinate (x, y) {
595
- return [x / 1.325928 + mapConfig.ets.multipliers.x, y / 1.325928 + mapConfig.ets.multipliers.y];
595
+ return [x / 1.609055 + mapConfig.ets.multipliers.x, y / 1.609055 + mapConfig.ets.multipliers.y];
596
596
  }
597
597
  },
598
598
  promods: {
@@ -256,7 +256,7 @@
256
256
  }
257
257
  },
258
258
  promods: {
259
- tileUrl: 'https://ets6-map.oss-cn-beijing.aliyuncs.com/promods/05102019/{z}/{x}/{y}.png',
259
+ tileUrl: 'https://ets-map.oss-cn-beijing.aliyuncs.com/promods/05102019/{z}/{x}/{y}.png',
260
260
  multipliers: { x: 51953, y: 76024 },
261
261
  breakpoints: { uk: { x: -31056.8, y: -5832.867 } },
262
262
  bounds: { y: 131072, x: 131072 },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ets2-tools-tmp",
3
3
  "description": "欧卡2 TruckersMP信息查询、车队平台查询及活动提醒",
4
- "version": "3.1.3",
4
+ "version": "3.1.5",
5
5
  "contributors": [
6
6
  "opwop <slhp1013@qq.com>",
7
7
  "bot_actions <168329908@qq.com>"