diff --git a/code/map_data_calc_tools.js b/code/map_data_calc_tools.js index a2c3369c..ea89c959 100644 --- a/code/map_data_calc_tools.js +++ b/code/map_data_calc_tools.js @@ -38,18 +38,6 @@ window.pointToTileId = function(level, x, y) { return level + "_" + x + "_" + y; } -// given tile id and bounds, returns the format as required by the -// Ingress API to request map data. -window.generateBoundsParams = function(tile_id, minLat, minLng, maxLat, maxLng) { - return { - id: tile_id, - qk: tile_id, - minLatE6: Math.round(minLat * 1E6), - minLngE6: Math.round(minLng * 1E6), - maxLatE6: Math.round(maxLat * 1E6), - maxLngE6: Math.round(maxLng * 1E6) - }; -} window.getResonatorLatLng = function(dist, slot, portalLatLng) { // offset in meters