mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Fixed broken tile bounds
This commit is contained in:
parent
f9abf21e6d
commit
9bd79a4104
@ -193,6 +193,7 @@ bool TREFile::load(int idx)
|
|||||||
|
|
||||||
width &= 0x7FFF;
|
width &= 0x7FFF;
|
||||||
width = LS(width, 24 - level.bits);
|
width = LS(width, 24 - level.bits);
|
||||||
|
height &= 0x7FFF;
|
||||||
height = LS(height, 24 - level.bits);
|
height = LS(height, 24 - level.bits);
|
||||||
|
|
||||||
s = new SubDiv(offset, lon, lat, level.level, level.bits, objects);
|
s = new SubDiv(offset, lon, lat, level.level, level.bits, objects);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user