]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/pages/ReversePage.svelte
Revert "Add build output into dist/ for immediate use"
[nominatim-ui.git] / src / pages / ReversePage.svelte
index 7d1fe609075d9809e5f4add0c1a5fb9a1a534b37..987f206e53406b8cf1e8260a8ddeaea2aa5675a5 100644 (file)
@@ -20,6 +20,7 @@
       zoom: (search_params.get('zoom') > 1
         ? Number(search_params.get('zoom'))
         : Number(Nominatim_Config.Reverse_Default_Search_Zoom)),
+      layer: search_params.get('layer'),
       format: 'jsonv2'
     };
 
 </script>
 
 <Header>
-  <SearchSectionReverse {...api_request_params} />
+  <SearchSectionReverse lat={api_request_params.lat}
+                        lon={api_request_params.lon}
+                        zoom={api_request_params.zoom}
+                        api_request_params={api_request_params} />
 </Header>
 
 <div id="content">