@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/leaflet.js +2 -2
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +1 -1
- package/leaflet.umd.js.map +1 -1
- package/maplibregl.js +2 -2
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +1 -1
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +3 -3
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +1 -1
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers.js +2 -2
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +1 -1
- package/openlayers.umd.js.map +1 -1
- package/package.json +1 -1
- package/react.js +2 -2
- package/react.js.map +1 -1
- package/react.umd.js +3 -3
- package/react.umd.js.map +1 -1
- package/svelte/FeatureItem.svelte +1 -1
- package/svelte/GeocodingControl.svelte +1 -1
- package/svelte/info.json +1 -1
- package/vanilla.js +58 -58
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +2 -2
- package/vanilla.umd.js.map +1 -1
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.
|
|
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-rc1/icons/" } = e, { adjustUrlQuery: Zt = () => {
|
|
2296
2296
|
} } = e, { adjustUrl: jt = () => {
|
|
2297
2297
|
} } = e;
|
|
2298
2298
|
function Ln(E) {
|