@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/geocoding-control",
|
|
3
|
-
"version": "2.1.
|
|
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.
|
|
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) {
|