feat(street-level): restore Mapillary's nearest-image lookup for show_street_level and sl= links

The slim Street Level core (#974) removed nearestImage from the Mapillary
provider. show_street_level and sl=mapillary links need it to open the
photo closest to a point, so this restores it on the slim core: Graph API
/images within 50 m, sorted by distance, first one that passes the imagery
filter. Kept as its own commit so it can be dropped if #974's removal
should stand.
This commit is contained in:
Said Turksever committed 2026-11-03 14:32:03 +00:00
1 parent 98de41c94a
commit ed2703d345
7 files changed
+142

No files matched your search

+1
View File
@@ -100,6 +100,7 @@ export function fakeMapillarySource(overrides = {}) {
return new Uint8Array(0);
},
getSequenceImages: async () => [],
nearestImages: async () => [],
...overrides,
};
}