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'
};
- if (api_request_params.lat || api_request_params.lat) {
+ if (api_request_params.lat && api_request_params.lon) {
fetch_from_api('reverse', api_request_params, function (data) {
position_marker = [api_request_params.lat, api_request_params.lon];
</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">