mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
If there are broken matrix limits, ignore them
This commit is contained in:
parent
2bd25dd9b0
commit
62aabe0c56
@ -223,8 +223,6 @@ void WMTS::createZooms(const CTX &ctx)
|
||||
mi != ctx.matrixes.constEnd(); ++mi) {
|
||||
QSet<MatrixLimits>::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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user