From 2df9bdc5a742651bfd751f2ff225ebd1782952ac Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 24 Apr 2013 02:15:55 +0100 Subject: [PATCH] remove commented out code --- code/map_data_calc_tools.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/code/map_data_calc_tools.js b/code/map_data_calc_tools.js index c464d277..eca1b7e9 100644 --- a/code/map_data_calc_tools.js +++ b/code/map_data_calc_tools.js @@ -49,20 +49,6 @@ window.convertPointToLatLng = function(x, y, magic, R) { // lat/lng format. window.pointToQuadKey = function(x, y) { return window.map.getZoom() + "_" + x + "_" + y; - /*var quadkey = []; - for(var c = window.map.getZoom(); c > 0; c--) { - // +-------+ quadrants are probably ordered like this - // | 0 | 1 | - // |---|---| - // | 2 | 3 | - // |---|---| - var quadrant = 0; - var e = 1 << c - 1; - (x & e) != 0 && quadrant++; // push right - (y & e) != 0 && (quadrant++, quadrant++); // push down - quadkey.push(quadrant); - } - return quadkey.join("");*/ } // given quadkey and bounds, returns the format as required by the