updated internal values due to stock site changes. by preference we detect the values in the stock site, but these are kept as a fallback

This commit is contained in:
Jon Atkins 2014-03-14 23:28:12 +00:00
parent 99324c076c
commit 40b74f7dba

View File

@ -24,9 +24,9 @@ window.getMapZoomTileParameters = function(zoom) {
} catch(e) { } catch(e) {
console.warn(e); console.warn(e);
// known correct as of 2014-03-11 // known correct as of 2014-03-14
ZOOM_TO_TILES_PER_EDGE = [32, 32, 32, 32, 256, 256, 256, 1024, 1024, 1536, 4096, 4096, 16384, 16384, 16384]; ZOOM_TO_TILES_PER_EDGE = [32, 32, 32, 32, 256, 256, 256, 1024, 1024, 1536, 4096, 4096, 6500, 6500, 6500];
MAX_TILES_PER_EDGE = 65536; MAX_TILES_PER_EDGE = 9000;
ZOOM_TO_LEVEL = [8, 8, 8, 8, 7, 7, 7, 6, 6, 5, 4, 4, 3, 2, 2, 1, 1]; ZOOM_TO_LEVEL = [8, 8, 8, 8, 7, 7, 7, 6, 6, 5, 4, 4, 3, 2, 2, 1, 1];
// for developers, let's stop in the debugger // for developers, let's stop in the debugger