@maptiler/geocoding-control 1.0.0-rc.2 → 1.0.0-rc.3
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 +2 -2
- 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 +1 -1
- package/react.umd.js.map +1 -1
- package/svelte/GeocodingControl.svelte +2 -2
- package/svelte/types.d.ts +2 -2
- package/types.d.ts +2 -2
- package/vanilla.js +2 -2
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- package/vanilla.umd.js.map +1 -1
package/maptilersdk.js
CHANGED
|
@@ -1420,7 +1420,7 @@ function wa(r) {
|
|
|
1420
1420
|
return t[2] < t[0] && (t[2] += 360), t;
|
|
1421
1421
|
}
|
|
1422
1422
|
function Cc(r, t, e) {
|
|
1423
|
-
let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: d = "Something went wrong…" } = t, { filter: v = () => !0 } = t, { flyTo: E = !0 } = t, { fuzzyMatch: _ = !0 } = t, { language: C = void 0 } = t, { limit: S = void 0 } = t, { mapController: N = void 0 } = t, { minLength: L = 2 } = t, { noResultsMessage: M = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: A = "Search" } = t, { proximity: w = [{ type: "server-geolocation" }] } = t, { reverseActive: F = p === "always" } = t, { reverseButtonTitle: X = "toggle reverse geocoding" } = t, { searchValue: R = "" } = t, { showFullGeometry: Y = !0 } = t, { showPlaceType: D = "ifNeeded" } = t, { showResultsWhileTyping: H = !0 } = t, { types: rt = void 0 } = t, { zoom: wt = 16 } = t, { maxZoom: Bt = 18 } = t, { apiUrl: ge = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: sr = {} } = t, { iconsBaseUrl: $e = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.0.0-rc.
|
|
1423
|
+
let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: d = "Something went wrong…" } = t, { filter: v = () => !0 } = t, { flyTo: E = !0 } = t, { fuzzyMatch: _ = !0 } = t, { language: C = void 0 } = t, { limit: S = void 0 } = t, { mapController: N = void 0 } = t, { minLength: L = 2 } = t, { noResultsMessage: M = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = t, { placeholder: A = "Search" } = t, { proximity: w = [{ type: "server-geolocation" }] } = t, { reverseActive: F = p === "always" } = t, { reverseButtonTitle: X = "toggle reverse geocoding" } = t, { searchValue: R = "" } = t, { showFullGeometry: Y = !0 } = t, { showPlaceType: D = "ifNeeded" } = t, { showResultsWhileTyping: H = !0 } = t, { types: rt = void 0 } = t, { zoom: wt = 16 } = t, { maxZoom: Bt = 18 } = t, { apiUrl: ge = "https://api.maptiler.com/geocoding" } = t, { fetchParameters: sr = {} } = t, { iconsBaseUrl: $e = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.0.0-rc.3/icons/" } = t;
|
|
1424
1424
|
const Gn = (x) => {
|
|
1425
1425
|
};
|
|
1426
1426
|
function Nn() {
|
|
@@ -1458,7 +1458,7 @@ function Cc(r, t, e) {
|
|
|
1458
1458
|
e(18, jr = xr);
|
|
1459
1459
|
try {
|
|
1460
1460
|
const tn = ca(), Oe = new URLSearchParams();
|
|
1461
|
-
if (C
|
|
1461
|
+
if (C !== void 0 && Oe.set("language", Array.isArray(C) ? C.join(",") : C ?? ""), rt && Oe.set("types", rt.join(",")), u && Oe.set("bbox", u.map((_s) => _s.toFixed(6)).join(",")), h && Oe.set("country", Array.isArray(h) ? h.join(",") : h), !Gt && !tn) {
|
|
1462
1462
|
async function _s() {
|
|
1463
1463
|
const mi = N == null ? void 0 : N.getCenterAndZoom();
|
|
1464
1464
|
for (const ze of w ?? [])
|