X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/a6e3425fd49331782c847b18668ad12ee5984d08..9c4975070c1d72fd10c1dec2038f840df0026b96:/src/components/SearchSection.svelte?ds=sidebyside diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index d321eb4..70e8df6 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,62 +80,98 @@
- - - - - - - - - - +
+ +
+
+ + + + + + + + +
- - - - - - - - - - - - - - - +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + + +
@@ -162,14 +199,18 @@
  • - +
  • - @@ -177,15 +218,18 @@
  • -
  • - @@ -193,9 +237,11 @@
  • -