@maptiler/geocoding-control 2.1.3 → 2.1.4

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/leaflet.js CHANGED
@@ -942,7 +942,7 @@ function Sr(i) {
942
942
  }
943
943
  };
944
944
  }
945
- const an = devicePixelRatio > 1.25, oi = an ? "@2x" : "", Se = an ? 2 : 1;
945
+ const an = typeof devicePixelRatio > "u" ? 1 : devicePixelRatio > 1.25, oi = an ? "@2x" : "", Se = an ? 2 : 1;
946
946
  let Oe, Ot;
947
947
  function xr(i, e, t) {
948
948
  let n, r, u, { feature: a } = e, { style: o = "default" } = e, { showPlaceType: g } = e, { missingIconsCache: c } = e, { iconsBaseUrl: L } = e;
@@ -2292,7 +2292,7 @@ function es(i, e, t) {
2292
2292
  const ue = [];
2293
2293
  let { reverseGeocodingTypes: ze = ue } = e, { exhaustiveReverseGeocoding: tt = !1 } = e, { excludeTypes: it = !1 } = e;
2294
2294
  const pe = void 0;
2295
- let { reverseGeocodingExcludeTypes: Pe = pe } = e, { zoom: he = g } = e, { apiUrl: ae = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: pi = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3/icons/" } = e, { adjustUrlQuery: Zt = () => {
2295
+ let { reverseGeocodingExcludeTypes: Pe = pe } = e, { zoom: he = g } = e, { apiUrl: ae = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: pi = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.4/icons/" } = e, { adjustUrlQuery: Zt = () => {
2296
2296
  } } = e, { adjustUrl: jt = () => {
2297
2297
  } } = e;
2298
2298
  function Ln(E) {