X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/047b306f7b94f9faef31fa9da61f5e99e6c3e7ae..c5c43376267646abaa0bcfacc135a841fc2edd26:/src/assets/js/searchpage.js diff --git a/src/assets/js/searchpage.js b/src/assets/js/searchpage.js index a539422..3528f19 100755 --- a/src/assets/js/searchpage.js +++ b/src/assets/js/searchpage.js @@ -265,7 +265,7 @@ jQuery(document).ready(function(){ // lon: typeof(search_params.get('lon') !== 'undefined') ? search_params.get('lon') : get_config_value('Map_Default_Lon'), lat: search_params.get('lat'), lon: search_params.get('lon'), - zoom: (search_params.get('zoom') !== '' ? search_params.get('zoom') : get_config_value('Map_Default_Zoom')), + zoom: (search_params.get('zoom') !== '' ? search_params.get('zoom') : get_config_value('Reverse_Default_Search_Zoom')), format: 'jsonv2' } @@ -273,7 +273,7 @@ jQuery(document).ready(function(){ // aPlace: aPlace, fLat: api_request_params.lat, fLon: api_request_params.lon, - iZoom: (search_params.get('zoom') !== '' ? api_request_params.zoom : undefined) + iZoom: (search_params.get('zoom') !== '' ? api_request_params.zoom : get_config_value('Reverse_Default_Search_Zoom')) };