@maptiler/geocoding-control 2.1.3 → 2.1.4-rc1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "2.1.3",
3
+ "version": "2.1.4-rc1",
4
4
  "description": "The Javascript & TypeScript Map Control component for MapTiler Geocoding service. Easy to be integrated into any JavaScript mapping application.",
5
5
  "type": "module",
6
6
  "author": {
package/react.js CHANGED
@@ -938,7 +938,7 @@ function gn(i) {
938
938
  }
939
939
  };
940
940
  }
941
- const ai = devicePixelRatio > 1.25, yt = ai ? "@2x" : "", ie = ai ? 2 : 1;
941
+ const ai = typeof devicePixelRatio > "u" ? 1 : devicePixelRatio > 1.25, yt = ai ? "@2x" : "", ie = ai ? 2 : 1;
942
942
  let re, Xe;
943
943
  function hn(i, e, t) {
944
944
  let n, r, c, { feature: l } = e, { style: o = "default" } = e, { showPlaceType: d } = e, { missingIconsCache: u } = e, { iconsBaseUrl: f } = e;
@@ -2233,7 +2233,7 @@ function Gn(i, e, t) {
2233
2233
  const pt = [];
2234
2234
  let { reverseGeocodingTypes: Ze = pt } = e, { exhaustiveReverseGeocoding: it = !1 } = e, { excludeTypes: nt = !1 } = e;
2235
2235
  const Tt = void 0;
2236
- let { reverseGeocodingExcludeTypes: qe = Tt } = e, { zoom: Qe = d } = e, { apiUrl: rt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: ot = {} } = e, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3/icons/" } = e, { adjustUrlQuery: st = () => {
2236
+ let { reverseGeocodingExcludeTypes: qe = Tt } = e, { zoom: Qe = d } = e, { apiUrl: rt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: ot = {} } = e, { iconsBaseUrl: kt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.4-rc1/icons/" } = e, { adjustUrlQuery: st = () => {
2237
2237
  } } = e, { adjustUrl: at = () => {
2238
2238
  } } = e;
2239
2239
  function li(s) {