From 62aabe0c564889a9be07f81c075129766e4a9f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 27 Apr 2023 00:16:54 +0200 Subject: [PATCH] If there are broken matrix limits, ignore them --- src/map/wmts.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/map/wmts.cpp b/src/map/wmts.cpp index 1b7af8c3..205f48c3 100644 --- a/src/map/wmts.cpp +++ b/src/map/wmts.cpp @@ -223,8 +223,6 @@ void WMTS::createZooms(const CTX &ctx) mi != ctx.matrixes.constEnd(); ++mi) { QSet::const_iterator li = ctx.limits.find( MatrixLimits(mi->id)); - if (!ctx.limits.isEmpty() && li == ctx.limits.constEnd()) - continue; _zooms.append(Zoom(mi->id, mi->scaleDenominator, mi->topLeft, mi->tile, mi->matrix, li == ctx.limits.constEnd() ? QRect() : li->rect)); }