change the commented out list of zoom to portal level mappings to match those in the intel site update of 2014-01-06

IITC still drops a zoom level slightly sooner at this time, but not so much now
(were niantic inspired by IITC here?)
This commit is contained in:
Jon Atkins
2014-01-07 08:12:20 +00:00
parent ba89f9a665
commit 7997c9c8e3

View File

@ -282,7 +282,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, 7, 7, 7, 6, 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;