From b51052ca0b79fac46bc3eefda03770ac0ad35a17 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sun, 28 Jun 2015 21:57:42 +0100 Subject: [PATCH] remove 'show-more-portals' config case - not currently needed, so not messing with zoom level is more stock-like --- code/map_data_calc_tools.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/code/map_data_calc_tools.js b/code/map_data_calc_tools.js index 43d8d414..b1b9b304 100755 --- a/code/map_data_calc_tools.js +++ b/code/map_data_calc_tools.js @@ -120,13 +120,15 @@ window.getDataZoomForMapZoom = function(zoom) { zoom = 21; } - if (window.CONFIG_ZOOM_SHOW_MORE_PORTALS) { - // as of 2015-06-25 stock site update, all zoom levels that retrieve portals (15+) use the same tile size - // therefore, it's no more load on the servers to fake it always to show unclaimed rather than L1+ - if (zoom >= 15 && zoom <= 16) { - zoom = 17; - } - } +// as of the 2015-06-26 niantic update, unclaimed portals are returned when we ask for L1+ - so this +// is not needed at all +// if (window.CONFIG_ZOOM_SHOW_MORE_PORTALS) { +// // as of 2015-06-25 stock site update, all zoom levels that retrieve portals (15+) use the same tile size +// // therefore, it's no more load on the servers to fake it always to show unclaimed rather than L1+ +// if (zoom >= 15 && zoom <= 16) { +// zoom = 17; +// } +// } if (!window.CONFIG_ZOOM_DEFAULT_DETAIL_LEVEL) {