@maptiler/geocoding-control 0.0.52 → 0.0.54
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/dist/leaflet.js +169 -169
- package/dist/leaflet.umd.js +3 -3
- package/dist/maplibregl.js +169 -169
- package/dist/maplibregl.umd.js +3 -3
- package/package.json +2 -2
- package/src/lib/GeocodingControl.svelte +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/geocoding-control",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Ždila",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"prettier-plugin-svelte": "^2.9.0",
|
|
56
56
|
"svelte": "^3.55.1",
|
|
57
57
|
"svelte-check": "^3.0.2",
|
|
58
|
-
"svelte-preprocess": "^5.0.
|
|
58
|
+
"svelte-preprocess": "^5.0.1",
|
|
59
59
|
"tslib": "^2.4.1",
|
|
60
60
|
"typescript": "^4.9.4",
|
|
61
61
|
"vite": "^4.0.4"
|
|
@@ -338,15 +338,17 @@
|
|
|
338
338
|
sp.set("bbox", bbox.map((c) => c.toFixed(6)).join(","));
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
if (
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
if (!byId) {
|
|
342
|
+
if (proximity) {
|
|
343
|
+
sp.set("proximity", proximity.map((c) => c.toFixed(6)).join(","));
|
|
344
|
+
}
|
|
344
345
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
if (exact || !showResultsWhileTyping) {
|
|
347
|
+
sp.set("autocomplete", "false");
|
|
348
|
+
}
|
|
348
349
|
|
|
349
|
-
|
|
350
|
+
sp.set("fuzzyMatch", String(fuzzyMatch));
|
|
351
|
+
}
|
|
350
352
|
}
|
|
351
353
|
|
|
352
354
|
if (limit !== undefined) {
|
|
@@ -510,8 +512,6 @@
|
|
|
510
512
|
}
|
|
511
513
|
|
|
512
514
|
function pick(feature: Feature) {
|
|
513
|
-
console.log(feature);
|
|
514
|
-
|
|
515
515
|
picked = feature;
|
|
516
516
|
searchValue = feature.place_name;
|
|
517
517
|
selectedItemIndex = -1;
|