X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535..2f8b33afce5cd34432db91fbd4d6950bd38359a3:/src/components/SearchSectionReverse.svelte diff --git a/src/components/SearchSectionReverse.svelte b/src/components/SearchSectionReverse.svelte index 108e3b6..e8f1a47 100644 --- a/src/components/SearchSectionReverse.svelte +++ b/src/components/SearchSectionReverse.svelte @@ -9,6 +9,8 @@ export let zoom = ''; function gotoCoordinates(newlat, newlon, newzoom) { + if (newlat === null || newlon === null) return; + let params = new URLSearchParams(); params.set('lat', newlat); params.set('lon', newlon); @@ -37,45 +39,58 @@ -
- +
+
+
+
+ +
+
+
+
+
- {#each zoomLevels() as zoomTitle, i} {/each} - +
+
+