From 9048c6d710bde2699039e3375a1dd817a77dfdea Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sun, 1 Dec 2013 18:22:53 +0000 Subject: [PATCH] tweaked default portal detail levels to show L7 portals one more step out. this helps seeing the larger-scale links and fields IITC still switches to L8 portals one level sooner than default intel though - and this seems about right for the current level of portals commonly seen --- code/utils_misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils_misc.js b/code/utils_misc.js index 11ed6545..75d213e8 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -281,7 +281,7 @@ window.getMinPortalLevelForZoom = function(z) { // these values are from the stock intel map. however, they're too detailed for reasonable speed, and increasing // detail at a higher zoom level shows enough detail still, AND speeds up IITC considerably //var ZOOM_TO_LEVEL = [8, 8, 8, 8, 7, 7, 6, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1]; - var ZOOM_TO_LEVEL = [8, 8, 8, 8, 8, 8, 7, 7, 6, 5, 4, 4, 3, 2, 2, 1, 1]; + var ZOOM_TO_LEVEL = [8, 8, 8, 8, 8, 7, 7, 7, 6, 5, 4, 4, 3, 2, 2, 1, 1]; var l = ZOOM_TO_LEVEL[z] || 0; return l;