@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/maptilersdk.js CHANGED
@@ -942,7 +942,7 @@ function br(i) {
942
942
  }
943
943
  };
944
944
  }
945
- const un = devicePixelRatio > 1.25, si = un ? "@2x" : "", _e = un ? 2 : 1;
945
+ const un = typeof devicePixelRatio > "u" ? 1 : devicePixelRatio > 1.25, si = un ? "@2x" : "", _e = un ? 2 : 1;
946
946
  let Ne, Ct;
947
947
  function wr(i, e, t) {
948
948
  let n, r, u, { feature: h } = e, { style: o = "default" } = e, { showPlaceType: g } = e, { missingIconsCache: c } = e, { iconsBaseUrl: E } = e;
@@ -2292,7 +2292,7 @@ function Yr(i, e, t) {
2292
2292
  const ae = [];
2293
2293
  let { reverseGeocodingTypes: Ge = ae } = e, { exhaustiveReverseGeocoding: et = !1 } = e, { excludeTypes: tt = !1 } = e;
2294
2294
  const ye = void 0;
2295
- let { reverseGeocodingExcludeTypes: Oe = ye } = e, { zoom: de = g } = e, { apiUrl: fe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: di = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3/icons/" } = e, { adjustUrlQuery: Ft = () => {
2295
+ let { reverseGeocodingExcludeTypes: Oe = ye } = e, { zoom: de = g } = e, { apiUrl: fe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: di = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.4/icons/" } = e, { adjustUrlQuery: Ft = () => {
2296
2296
  } } = e, { adjustUrl: jt = () => {
2297
2297
  } } = e;
2298
2298
  function yn(_) {
@@ -5088,7 +5088,7 @@ function Ss(i, e, t) {
5088
5088
  }
5089
5089
  };
5090
5090
  }
5091
- const xs = "@maptiler/geocoding-control", Ts = "2.1.3", { MapLibreBasedGeocodingControl: Ms, events: $e } = Ss(
5091
+ const xs = "@maptiler/geocoding-control", Ts = "2.1.4", { MapLibreBasedGeocodingControl: Ms, events: $e } = Ss(
5092
5092
  Li.Evented,
5093
5093
  Li,
5094
5094
  (i, e) => {