hide panoramax markers in low zoom overview (#10386)

fixes #10377
This commit is contained in:
Mattia Pezzotti
2024-08-07 09:08:54 +02:00
committed by GitHub
parent 309735c25e
commit 9f643aaae1

View File

@@ -211,7 +211,7 @@ export function svgPanoramaxImages(projection, context, dispatch) {
const service = getService();
let sequences = (service ? service.sequences(projection, zoom) : []);
let images = (service ? service.images(projection) : []);
let images = (service && zoom >= imageMinZoom ? service.images(projection) : []);
images = await filterImages(images);
sequences = await filterSequences(sequences, service);