From 40b74f7dbaac76ec97406a56d67bcf6321e498b2 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 14 Mar 2014 23:28:12 +0000 Subject: [PATCH] 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 --- code/map_data_calc_tools.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/map_data_calc_tools.js b/code/map_data_calc_tools.js index db56ebbf..07fb01e1 100755 --- a/code/map_data_calc_tools.js +++ b/code/map_data_calc_tools.js @@ -24,9 +24,9 @@ window.getMapZoomTileParameters = function(zoom) { } catch(e) { console.warn(e); - // known correct as of 2014-03-11 - 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; + // 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; 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