leave fix
This commit is contained in:
parent
6a135e52df
commit
39e946a682
1 changed files with 2 additions and 2 deletions
|
@ -1061,13 +1061,13 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
if (baseZoom > getMaxZoom()) {
|
if (baseZoom > getMaxZoom()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (baseZoom > getMaxZoom() - 1 && dz > 1) {
|
if (baseZoom > getMaxZoom() - 1 && dz >= 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (baseZoom < getMinZoom()) {
|
if (baseZoom < getMinZoom()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (baseZoom < getMinZoom() + 1 && dz < -1) {
|
if (baseZoom < getMinZoom() + 1 && dz <= -1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue