From a4fe5a11ed70a4b08b6df45ff6bae6287e04783c Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 12 May 2025 15:38:58 +0200 Subject: [PATCH] UX: increase search radius, see #2417 --- src/Logic/Web/NearbyImagesSearch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logic/Web/NearbyImagesSearch.ts b/src/Logic/Web/NearbyImagesSearch.ts index 298e1e552d..544d21b742 100644 --- a/src/Logic/Web/NearbyImagesSearch.ts +++ b/src/Logic/Web/NearbyImagesSearch.ts @@ -225,7 +225,7 @@ class ImagesFromPanoramaxFetcher implements ImageFetcher { let prevRadius = 0 const nearby = this._panoramax.search({ - bbox: new BBox([[lon, lat]]).pad(0.001).toLngLatFlat() + bbox: new BBox([[lon - 0.0001, lat - 0.0001], [lon + 0.0001, lat + 0.0001]]).toLngLatFlat() }) promises.push(nearby) // We do a nearby search with bbox, see https://source.mapcomplete.org/MapComplete/MapComplete/issues/2384 for (const radiusSetting of radiusSettings) {