X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535..ea40d1c5cf15d991bc3d2bc0a10a87f5505336f6:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 9bc5090..c1d3c18 100644 --- a/src/components/SearchSection.svelte +++ b/src/components/SearchSection.svelte @@ -7,8 +7,9 @@ export let bStructuredSearch = false; export let api_request_params = {}; let sViewBox; - let lat; - let lon; + // lat,lon are later set in update_reverse_link() + let lat; // eslint-disable-line no-unused-vars + let lon; // eslint-disable-line no-unused-vars function map_viewbox_as_string(map) { var bounds = map.getBounds(); @@ -69,7 +70,7 @@ } function set_dedupe(e) { - document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : ''; + document.querySelector('input[name=dedupe]').value = e.target.checked ? 1 : 0; } function set_api_param(e) { @@ -79,147 +80,215 @@
-