@maptiler/geocoding-control 1.4.2-dev.3 → 2.0.0

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.
Files changed (52) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +70 -35
  2. package/leaflet-controller.d.ts +1 -1
  3. package/leaflet-controller.js +407 -398
  4. package/leaflet-controller.js.map +1 -1
  5. package/leaflet-controller.umd.js +3 -3
  6. package/leaflet-controller.umd.js.map +1 -1
  7. package/leaflet.d.ts +52 -16
  8. package/leaflet.js +654 -638
  9. package/leaflet.js.map +1 -1
  10. package/leaflet.umd.js +3 -3
  11. package/leaflet.umd.js.map +1 -1
  12. package/maplibregl-controller.d.ts +7 -7
  13. package/maplibregl-controller.js +421 -413
  14. package/maplibregl-controller.js.map +1 -1
  15. package/maplibregl-controller.umd.js +3 -3
  16. package/maplibregl-controller.umd.js.map +1 -1
  17. package/maplibregl.d.ts +29 -5
  18. package/maplibregl.js +1352 -1346
  19. package/maplibregl.js.map +1 -1
  20. package/maplibregl.umd.js +3 -3
  21. package/maplibregl.umd.js.map +1 -1
  22. package/maptilersdk.d.ts +29 -5
  23. package/maptilersdk.js +1315 -1303
  24. package/maptilersdk.js.map +1 -1
  25. package/maptilersdk.umd.js +3 -3
  26. package/maptilersdk.umd.js.map +1 -1
  27. package/openlayers.js +1 -1
  28. package/openlayers.js.map +1 -1
  29. package/openlayers.umd.js +1 -1
  30. package/openlayers.umd.js.map +1 -1
  31. package/package.json +5 -5
  32. package/react.js +1 -1
  33. package/react.js.map +1 -1
  34. package/react.umd.js +1 -1
  35. package/react.umd.js.map +1 -1
  36. package/svelte/GeocodingControl.svelte +1 -1
  37. package/svelte/MapLibreBasedGeocodingControl.d.ts +70 -35
  38. package/svelte/MapLibreBasedGeocodingControl.js +69 -66
  39. package/svelte/leaflet-controller.d.ts +1 -1
  40. package/svelte/leaflet-controller.js +47 -24
  41. package/svelte/leaflet.d.ts +52 -16
  42. package/svelte/leaflet.js +14 -2
  43. package/svelte/maplibregl-controller.d.ts +7 -7
  44. package/svelte/maplibregl-controller.js +55 -34
  45. package/svelte/maplibregl.d.ts +29 -5
  46. package/svelte/maplibregl.js +3 -8
  47. package/svelte/maptilersdk.d.ts +29 -5
  48. package/svelte/maptilersdk.js +15 -18
  49. package/vanilla.js +1 -1
  50. package/vanilla.js.map +1 -1
  51. package/vanilla.umd.js +1 -1
  52. package/vanilla.umd.js.map +1 -1
package/openlayers.js CHANGED
@@ -2070,7 +2070,7 @@ function Cr(n, e, t) {
2070
2070
  "poi.restaurant": 18,
2071
2071
  "poi.aerodrome": 13
2072
2072
  };
2073
- let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: m = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: b = "Something went wrong…" } = e, { filter: v = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: _ = !0 } = e, { language: x = void 0 } = e, { limit: C = void 0 } = e, { mapController: S = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "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!" } = e, { placeholder: k = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: A = y === "always" } = e, { reverseButtonTitle: D = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: U = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: oe = !0 } = e, { flyToSelected: dt = !1 } = e, { markerOnSelected: Ye = !0 } = e, { types: Me = void 0 } = e, { exhaustiveReverseGeocoding: ht = !1 } = e, { excludeTypes: Xe = !1 } = e, { zoom: Ie = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: gt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: mt = {} } = e, { iconsBaseUrl: zt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.3/icons/" } = e, { adjustUrlQuery: yt = () => {
2073
+ let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: m = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: b = "Something went wrong…" } = e, { filter: v = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: _ = !0 } = e, { language: x = void 0 } = e, { limit: C = void 0 } = e, { mapController: S = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "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!" } = e, { placeholder: k = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: A = y === "always" } = e, { reverseButtonTitle: D = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: U = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: oe = !0 } = e, { flyToSelected: dt = !1 } = e, { markerOnSelected: Ye = !0 } = e, { types: Me = void 0 } = e, { exhaustiveReverseGeocoding: ht = !1 } = e, { excludeTypes: Xe = !1 } = e, { zoom: Ie = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: gt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: mt = {} } = e, { iconsBaseUrl: zt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.0.0/icons/" } = e, { adjustUrlQuery: yt = () => {
2074
2074
  } } = e;
2075
2075
  function Qi() {
2076
2076
  ue.focus();