mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-26 19:19:16 +02:00
Fixed broken handling of maps with basemaps
This commit is contained in:
@ -290,7 +290,7 @@ void TREFile::clear()
|
||||
int TREFile::level(int bits, bool baseMap)
|
||||
{
|
||||
if (baseMap) {
|
||||
if (!_isBaseMap && _levels.first().bits > bits)
|
||||
if (!_isBaseMap && _levels.at(_firstLevel).bits > bits)
|
||||
return -1;
|
||||
if (_isBaseMap && bits > _levels.last().bits)
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user