X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/2f8b33afce5cd34432db91fbd4d6950bd38359a3..16f28ac4d03efe2e5e53766f26a6d6b0e4974c5f:/src/components/SearchSection.svelte diff --git a/src/components/SearchSection.svelte b/src/components/SearchSection.svelte index e50bbdf..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(); @@ -79,10 +80,14 @@ @@ -95,19 +100,25 @@ type="text" class="form-control form-control-sm" placeholder="Search" - value="{api_request_params.q || ''}" - autofocus /> + value="{api_request_params.q || ''}" />
- - - - - - - + + + + + + +
@@ -145,14 +156,21 @@
- - - - - - - + + + + + + +
@@ -181,14 +199,18 @@
  • - +
  • - @@ -196,15 +218,18 @@
  • -
  • - @@ -212,7 +237,8 @@
  • -