@maptiler/geocoding-control 0.0.59 → 0.0.61
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 +926 -235
- package/dist/leaflet.umd.js +21 -1
- package/dist/lib/types.d.ts +1 -1
- package/dist/maplibregl.js +926 -235
- package/dist/maplibregl.umd.js +21 -1
- package/package.json +2 -2
- package/src/lib/GeocodingControl.svelte +4 -3
- package/src/lib/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/geocoding-control",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Martin Ždila",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"svelte-preprocess": "^5.0.1",
|
|
73
73
|
"tslib": "^2.5.0",
|
|
74
74
|
"typescript": "^4.9.5",
|
|
75
|
-
"vite": "^4.
|
|
75
|
+
"vite": "^4.1.1"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"leaflet": "^1.9.3",
|
|
@@ -387,8 +387,6 @@
|
|
|
387
387
|
let res: Response;
|
|
388
388
|
|
|
389
389
|
try {
|
|
390
|
-
console.log("fetch");
|
|
391
|
-
|
|
392
390
|
res = await fetch(url, { signal: ac.signal }).finally(() => {
|
|
393
391
|
if (ac === abortController) {
|
|
394
392
|
abortController = undefined;
|
|
@@ -601,7 +599,10 @@
|
|
|
601
599
|
<span>
|
|
602
600
|
<span>{feature.place_name.replace(/,.*/, "")}</span>
|
|
603
601
|
{#if showPlaceType}
|
|
604
|
-
<span
|
|
602
|
+
<span
|
|
603
|
+
>{feature.properties?.place_type_name?.[0] ??
|
|
604
|
+
feature.place_type[0]}</span
|
|
605
|
+
>
|
|
605
606
|
{/if}
|
|
606
607
|
</span>
|
|
607
608
|
</span>
|