X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/f695e7586420364987aaae322cbb95ce0db15ab5..93117a14df2d0aee9109d51edd7d6dad834d8ec4:/src/assets/js/searchpage.js diff --git a/src/assets/js/searchpage.js b/src/assets/js/searchpage.js index 1061712..5455f8e 100755 --- a/src/assets/js/searchpage.js +++ b/src/assets/js/searchpage.js @@ -395,7 +395,7 @@ jQuery(document).ready(function () { state: search_params.get('state'), country: search_params.get('country'), postalcode: search_params.get('postalcode'), - polygon_geojson: search_params.get('polygon_geojson') ? 1 : 0, + polygon_geojson: get_config_value('Search_AreaPolygons', false) ? 1 : 0, viewbox: search_params.get('viewbox'), exclude_place_ids: search_params.get('exclude_place_ids'), format: 'jsonv2'