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:
@ -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
|
// 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
|
// 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 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;
|
var l = ZOOM_TO_LEVEL[z] || 0;
|
||||||
|
Reference in New Issue
Block a user