zoom level 0 isn't impossible - so make it display L8 only portals, like the next few closer zoom levels
This commit is contained in:
parent
43254bb31c
commit
a3b957c967
@ -229,7 +229,7 @@ window.renderLimitReached = function(ratio) {
|
||||
window.getMinPortalLevel = function() {
|
||||
var z = map.getZoom();
|
||||
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 conv = [8,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