@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/openlayers.js
CHANGED
|
@@ -953,7 +953,7 @@ function Ar(i) {
|
|
|
953
953
|
}
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
|
-
const pn = devicePixelRatio > 1.25, ui = pn ? "@2x" : "", _e = pn ? 2 : 1;
|
|
956
|
+
const pn = typeof devicePixelRatio > "u" ? 1 : devicePixelRatio > 1.25, ui = pn ? "@2x" : "", _e = pn ? 2 : 1;
|
|
957
957
|
let ke, kt;
|
|
958
958
|
function Br(i, e, t) {
|
|
959
959
|
let n, r, u, { feature: a } = e, { style: o = "default" } = e, { showPlaceType: g } = e, { missingIconsCache: h } = e, { iconsBaseUrl: v } = e;
|
|
@@ -2248,7 +2248,7 @@ function us(i, e, t) {
|
|
|
2248
2248
|
const fe = [];
|
|
2249
2249
|
let { reverseGeocodingTypes: Ge = fe } = e, { exhaustiveReverseGeocoding: Je = !1 } = e, { excludeTypes: $e = !1 } = e;
|
|
2250
2250
|
const be = void 0;
|
|
2251
|
-
let { reverseGeocodingExcludeTypes: Oe = be } = e, { zoom: ge = g } = e, { apiUrl: ce = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: yi = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.
|
|
2251
|
+
let { reverseGeocodingExcludeTypes: Oe = be } = e, { zoom: ge = g } = e, { apiUrl: ce = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: J = {} } = e, { iconsBaseUrl: yi = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.4/icons/" } = e, { adjustUrlQuery: Vt = () => {
|
|
2252
2252
|
} } = e, { adjustUrl: Ht = () => {
|
|
2253
2253
|
} } = e;
|
|
2254
2254
|
function _n(L) {
|