@besovideo/bvmap-leaflet 0.0.18 → 0.0.19

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/dist/main.js CHANGED
@@ -6405,11 +6405,11 @@ const $o = {
6405
6405
  },
6406
6406
  Google: {
6407
6407
  Normal: {
6408
- Map: "//www.google.com/maps/vt?lyrs=m@189&gl=cn&x={x}&y={y}&z={z}"
6408
+ Map: "//www.google.com/maps/vt?lyrs=m@189&hl=en&x={x}&y={y}&z={z}"
6409
6409
  },
6410
6410
  Satellite: {
6411
- Map: "//www.google.com/maps/vt?lyrs=s@189&gl=cn&x={x}&y={y}&z={z}",
6412
- Annotion: "//www.google.com/maps/vt?lyrs=y@189&gl=cn&x={x}&y={y}&z={z}"
6411
+ Map: "//www.google.com/maps/vt?lyrs=s@189&hl=en&x={x}&y={y}&z={z}",
6412
+ Annotion: "//www.google.com/maps/vt?lyrs=y@189&hl=en&x={x}&y={y}&z={z}"
6413
6413
  },
6414
6414
  Subdomains: ["0", "1", "2", "3"]
6415
6415
  },
@@ -10280,13 +10280,11 @@ class ph {
10280
10280
  this.passedLine.SetCurrentTime(n[0].time);
10281
10281
  const h = this.map.wrapLatLng(n[0].latlng), a = this.map.wrapLatLng(n[1].latlng);
10282
10282
  if (h && a) {
10283
- const l = this.passedLine.calculateAngle(h, a);
10284
- console.log("angle", l);
10285
- const u = this.passedLine.markerCurrent.getElement();
10286
- if (console.log("iconEle", u), u) {
10283
+ const l = this.passedLine.calculateAngle(h, a), u = this.passedLine.markerCurrent.getElement();
10284
+ if (u) {
10287
10285
  this.passedLine.rotateAngle = l;
10288
10286
  const f = u.style.transform;
10289
- console.log("currentTransform", f), u.style.transform = `${f} rotate(${l + 90}deg)`;
10287
+ u.style.transform = `${f} rotate(${l + 90}deg)`;
10290
10288
  }
10291
10289
  }
10292
10290
  (r = this.timeCallback) == null || r.call(this, n[0].time, 0, 1);