change zoom levels for portal level display to match stock intel site - this seems to be enforced by the backend now
fix #199
This commit is contained in:
parent
395c27a9d2
commit
be957b3435
@ -201,8 +201,8 @@ window.renderLimitReached = function(ratio) {
|
||||
|
||||
window.getMinPortalLevel = function() {
|
||||
var z = map.getZoom();
|
||||
if(z >= 16) return 0;
|
||||
var conv = ['impossible', 8,7,7,6,6,5,5,4,4,3,3,2,2,1,1];
|
||||
if(z >= 17) return 0;
|
||||
var conv = ['impossible', 8,8,8,7,7,6,6,5,4,4,3,3,2,2,1,1];
|
||||
var minLevelByRenderLimit = portalRenderLimit.getMinLevel();
|
||||
var result = minLevelByRenderLimit > conv[z]
|
||||
? minLevelByRenderLimit
|
||||
|
Loading…
x
Reference in New Issue
Block a user