X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/23d68e84c00ba741a29e4e088ef12aa7b23e045c..455b3fd8634b07667051506a623e8fb7f309209a:/src/components/SearchSectionReverse.svelte diff --git a/src/components/SearchSectionReverse.svelte b/src/components/SearchSectionReverse.svelte index 1861902..46bb2b9 100644 --- a/src/components/SearchSectionReverse.svelte +++ b/src/components/SearchSectionReverse.svelte @@ -29,7 +29,7 @@ // common mistake is to copy&paste latitude and longitude into the 'lat' search box function maybeSplitLatitude(e) { - var coords_split = e.target.value.split(','); + var coords_split = e.target.value.split(/,|%2C/); if (coords_split.length === 2) { document.querySelector('input[name=lat]').value = L.Util.trim(coords_split[0]); document.querySelector('input[name=lon]').value = L.Util.trim(coords_split[1]); @@ -39,25 +39,29 @@ -
+
+
+
- -
+
+
+
-
+
- {#each zoomLevels() as zoomTitle, i} {/each}
-
+