X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/6e68f11776a8f6f5a62b989f13ebf7438ef32476..1e4c08dcf8369732a0f3da72ed4ef1a99c9618dd:/src/pages/ReversePage.svelte?ds=inline diff --git a/src/pages/ReversePage.svelte b/src/pages/ReversePage.svelte index b43750f..7d1fe60 100644 --- a/src/pages/ReversePage.svelte +++ b/src/pages/ReversePage.svelte @@ -26,8 +26,8 @@ if (api_request_params.lat || api_request_params.lat) { fetch_from_api('reverse', api_request_params, function (data) { + position_marker = [api_request_params.lat, api_request_params.lon]; if (data && !data.error) { - position_marker = [api_request_params.lat, api_request_params.lon]; results_store.set([data]); } else { results_store.set([]);