X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535..9c4975070c1d72fd10c1dec2038f840df0026b96:/src/components/SearchSection.svelte?ds=sidebyside diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index 9bc5090..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,147 +80,204 @@ -
+
- - -
+
+ +
+
- - - - - - - + + + + + + +
- - - - - - - -
- - - - - - - - +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + + + + + +
- - -
-
-
- - - - - - -
-
- - - - -
-
- - - - -
-
-
+ +
+ Advanced options +
    +
  • +
    + + +
    +
  • + +
  • +
    + + +
    +
  • + +
  • +
    + + +
    +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • +
+
+