@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 +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 +8 -8
- 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/svelte/types.d.ts +1 -1
- package/types.d.ts +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/maplibregl.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.
|
|
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(_) {
|