@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.
- package/MapLibreBasedGeocodingControl.d.ts +70 -35
- package/leaflet-controller.d.ts +1 -1
- package/leaflet-controller.js +407 -398
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js +3 -3
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.d.ts +52 -16
- package/leaflet.js +654 -638
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.d.ts +7 -7
- package/maplibregl-controller.js +421 -413
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +3 -3
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.d.ts +29 -5
- package/maplibregl.js +1352 -1346
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.d.ts +29 -5
- package/maptilersdk.js +1315 -1303
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +3 -3
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers.js +1 -1
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +1 -1
- package/openlayers.umd.js.map +1 -1
- package/package.json +5 -5
- package/react.js +1 -1
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/svelte/GeocodingControl.svelte +1 -1
- package/svelte/MapLibreBasedGeocodingControl.d.ts +70 -35
- package/svelte/MapLibreBasedGeocodingControl.js +69 -66
- package/svelte/leaflet-controller.d.ts +1 -1
- package/svelte/leaflet-controller.js +47 -24
- package/svelte/leaflet.d.ts +52 -16
- package/svelte/leaflet.js +14 -2
- package/svelte/maplibregl-controller.d.ts +7 -7
- package/svelte/maplibregl-controller.js +55 -34
- package/svelte/maplibregl.d.ts +29 -5
- package/svelte/maplibregl.js +3 -8
- package/svelte/maptilersdk.d.ts +29 -5
- package/svelte/maptilersdk.js +15 -18
- package/vanilla.js +1 -1
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- 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": "
|
|
3
|
+
"version": "2.0.0",
|
|
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": {
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
"@tsconfig/svelte": "^5.0.4",
|
|
109
109
|
"@types/geojson": "^7946.0.14",
|
|
110
110
|
"@types/leaflet": "^1.9.12",
|
|
111
|
-
"@types/node": "^22.7.
|
|
111
|
+
"@types/node": "^22.7.6",
|
|
112
112
|
"@types/react": "^18.3.11",
|
|
113
113
|
"@types/react-dom": "^18.3.1",
|
|
114
114
|
"concurrently": "^9.0.1",
|
|
115
115
|
"dotenv": "^16.4.5",
|
|
116
116
|
"eslint": "^9.12.0",
|
|
117
|
-
"eslint-plugin-svelte": "^2.
|
|
117
|
+
"eslint-plugin-svelte": "^2.45.1",
|
|
118
118
|
"esm-env": "^1.0.0",
|
|
119
119
|
"globals": "^15.11.0",
|
|
120
120
|
"husky": "^9.1.6",
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
"react": "^18.3.1",
|
|
129
129
|
"react-dom": "^18.3.1",
|
|
130
130
|
"replace-in-file": "^8.2.0",
|
|
131
|
-
"sass": "^1.
|
|
131
|
+
"sass": "^1.80.2",
|
|
132
132
|
"svelte": "^4.2.19",
|
|
133
133
|
"svelte-check": "^4.0.5",
|
|
134
134
|
"svelte-preprocess": "^6.0.3",
|
|
135
135
|
"tslib": "^2.8.0",
|
|
136
136
|
"typescript": "^5.6.3",
|
|
137
|
-
"typescript-eslint": "^8.
|
|
137
|
+
"typescript-eslint": "^8.10.0",
|
|
138
138
|
"vite": "^5.4.9"
|
|
139
139
|
},
|
|
140
140
|
"peerDependencies": {
|
package/react.js
CHANGED
|
@@ -2055,7 +2055,7 @@ function gn(i, e, t) {
|
|
|
2055
2055
|
"poi.restaurant": 18,
|
|
2056
2056
|
"poi.aerodrome": 13
|
|
2057
2057
|
};
|
|
2058
|
-
let { class: r = void 0 } = e, { apiKey: d } = e, { bbox: c = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: h = !1 } = e, { collapsed: v = !1 } = e, { country: _ = void 0 } = e, { debounceSearch: w = 200 } = e, { enableReverse: W = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: E = () => !0 } = e, { flyTo: C = !0 } = e, { fuzzyMatch: R = !0 } = e, { language: p = void 0 } = e, { limit: q = void 0 } = e, { mapController: b = void 0 } = e, { minLength: g = 2 } = e, { 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!" } = e, { placeholder: k = "Search" } = e, { proximity: H = [{ type: "server-geolocation" }] } = e, { reverseActive: X = W === "always" } = e, { reverseButtonTitle: Y = "toggle reverse geocoding" } = e, { searchValue: j = "" } = e, { showFullGeometry: L = !0 } = e, { showPlaceType: F = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ne = !0 } = e, { flyToSelected: He = !1 } = e, { markerOnSelected: We = !0 } = e, { types: fe = void 0 } = e, { exhaustiveReverseGeocoding: je = !1 } = e, { excludeTypes: Re = !1 } = e, { zoom: Le = a } = e, { maxZoom: Oe = void 0 } = e, { apiUrl: Pe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: Ze = {} } = e, { iconsBaseUrl: ot = "https://cdn.maptiler.com/maptiler-geocoding-control/
|
|
2058
|
+
let { class: r = void 0 } = e, { apiKey: d } = e, { bbox: c = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: h = !1 } = e, { collapsed: v = !1 } = e, { country: _ = void 0 } = e, { debounceSearch: w = 200 } = e, { enableReverse: W = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: E = () => !0 } = e, { flyTo: C = !0 } = e, { fuzzyMatch: R = !0 } = e, { language: p = void 0 } = e, { limit: q = void 0 } = e, { mapController: b = void 0 } = e, { minLength: g = 2 } = e, { 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!" } = e, { placeholder: k = "Search" } = e, { proximity: H = [{ type: "server-geolocation" }] } = e, { reverseActive: X = W === "always" } = e, { reverseButtonTitle: Y = "toggle reverse geocoding" } = e, { searchValue: j = "" } = e, { showFullGeometry: L = !0 } = e, { showPlaceType: F = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ne = !0 } = e, { flyToSelected: He = !1 } = e, { markerOnSelected: We = !0 } = e, { types: fe = void 0 } = e, { exhaustiveReverseGeocoding: je = !1 } = e, { excludeTypes: Re = !1 } = e, { zoom: Le = a } = e, { maxZoom: Oe = void 0 } = e, { apiUrl: Pe = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: Ze = {} } = e, { iconsBaseUrl: ot = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.0.0/icons/" } = e, { adjustUrlQuery: Ge = () => {
|
|
2059
2059
|
} } = e;
|
|
2060
2060
|
function Ft() {
|
|
2061
2061
|
ee.focus();
|