and Niantic revert the changes to tile sizes a few days later...

This commit is contained in:
Jon Atkins 2014-03-18 22:14:10 +00:00
parent 16cabd89bc
commit e1752954a1

View File

@ -24,9 +24,9 @@ window.getMapZoomTileParameters = function(zoom) {
} catch(e) {
console.warn(e);
// known correct as of 2014-03-14
ZOOM_TO_TILES_PER_EDGE = [32, 32, 32, 32, 256, 256, 256, 1024, 1024, 1536, 4096, 4096, 6500, 6500, 6500];
MAX_TILES_PER_EDGE = 9000;
// known correct as of 2014-03-18
ZOOM_TO_TILES_PER_EDGE = [32, 32, 32, 32, 256, 256, 256, 1024, 1024, 1536, 4096, 4096, 16384, 16384, 16384];
MAX_TILES_PER_EDGE = 65536;
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