X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/blobdiff_plain/a842f6ab66cb2ae6024ea26675fe2e01407ab0b7..1e4c08dcf8369732a0f3da72ed4ef1a99c9618dd:/src/pages/ReversePage.svelte

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([]);
