@besovideo/bvmap-leaflet 0.0.19 → 0.0.20

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
@@ -7595,31 +7595,31 @@ function th(e) {
7595
7595
  }
7596
7596
  if (e.iconCustom) {
7597
7597
  r(e.iconCustom.className ? e.iconCustom.className : "");
7598
- const l = e.iconCustom.title.length * 12;
7599
- typeof e.iconCustom.imgUrl == "string" && e.iconCustom.imgUrl, n.innerHTML = `
7600
- <img src='${e.iconCustom.imgUrl}' style="width: 32px; height: 32px"/>
7598
+ const l = e.iconCustom.title.length * 12, u = typeof e.iconCustom.imgUrl == "string" ? e.iconCustom.imgUrl : Yo;
7599
+ n.innerHTML = `
7600
+ <img src='${u}' style="width: 32px; height: 32px"/>
7601
7601
  <div style='position: absolute; text-align: center; pointer-events: none; width: ${l}px; left: -${(l - 32) / 2}px;'>
7602
7602
  <span style='border: 1px solid grey; background-color: white; color: black; padding: 2px 5px; pointer-events: auto;'>
7603
7603
  ${e.iconCustom.title}
7604
7604
  </span>
7605
7605
  </div>
7606
- `, typeof e.iconCustom.imgUrl != "string" && e.iconCustom.imgUrl.then((f) => {
7607
- var m;
7608
- f && (n.innerHTML = `
7609
- <img src='${f}' style="width: 32px; height: 32px"/>
7606
+ `, typeof e.iconCustom.imgUrl != "string" && e.iconCustom.imgUrl.then((m) => {
7607
+ var y;
7608
+ m && (n.innerHTML = `
7609
+ <img src='${m}' style="width: 32px; height: 32px"/>
7610
7610
  <div style='position: absolute; text-align: center; pointer-events: none; width: ${l}px; left: -${(l - 32) / 2}px;'>
7611
7611
  <span style='border: 1px solid grey; background-color: white; color: black; padding: 2px 5px; pointer-events: auto;'>
7612
- ${(m = e.iconCustom) == null ? void 0 : m.title}
7612
+ ${(y = e.iconCustom) == null ? void 0 : y.title}
7613
7613
  </span>
7614
7614
  </div>
7615
7615
  `);
7616
7616
  });
7617
- const u = rt.divIcon({
7617
+ const f = rt.divIcon({
7618
7618
  html: n,
7619
7619
  iconSize: [32, 32],
7620
7620
  className: ""
7621
7621
  });
7622
- i.icon = u;
7622
+ i.icon = f;
7623
7623
  }
7624
7624
  const h = rt.marker(e.latlng, {
7625
7625
  ...e.options,