mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
update
This commit is contained in:
parent
a282a1cfc0
commit
ea612b5c27
@ -919,7 +919,8 @@ Tessellator.prototype.isTileVisible = function (dc, tile) {
|
||||
|
||||
Tessellator.prototype.tileMeetsRenderCriteria = function (dc, tile) {
|
||||
var s = this.detailControl;
|
||||
if (tile.sector.minLatitude >= 75 || tile.sector.maxLatitude <= -75) {
|
||||
var lat = WWMath.mercatorLat(75);
|
||||
if (tile.sector.minLatitude >= lat || tile.sector.maxLatitude <= -lat) {
|
||||
s *= 2;
|
||||
}
|
||||
return tile.level.isLastLevel() || !tile.mustSubdivide(dc, s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user