]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
forward search: viewbox working
authorMarc Tobias Metten <mtmail@gmx.net>
Thu, 8 Mar 2018 14:44:38 +0000 (15:44 +0100)
committerMarc Tobias Metten <mtmail@gmx.net>
Thu, 8 Mar 2018 14:44:38 +0000 (15:44 +0100)
src/assets/js/searchpage.js

index 558b2ddf8356f06b0b9c3c417239c28d71834f0b..e0754ddc177a40c7ab71d275de2ac3f8000f3668 100755 (executable)
@@ -304,6 +304,7 @@ jQuery(document).ready(function(){
             q: search_params.get('q'),
             polygon_geojson: search_params.get('polygon_geojson') ? 1 : 0,
             polygon: search_params.get('polygon'),
+            viewbox: search_params.get('viewbox'),
             format: 'jsonv2'
         };