From 98589408bdb0ad3e29d43038c05e550ca033c798 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 5 Mar 2013 15:36:24 -0800 Subject: [PATCH] Remove unused --- js/id/renderer/background.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/id/renderer/background.js b/js/id/renderer/background.js index 014212033..d184a1eb6 100644 --- a/js/id/renderer/background.js +++ b/js/id/renderer/background.js @@ -52,11 +52,7 @@ iD.Background = function() { .scaleExtent((source.data && source.data.scaleExtent) || [1, 17]) .translate(projection.translate())(), requests = [], - scaleExtent = tile.scaleExtent(), z = Math.max(Math.log(projection.scale()) / Math.log(2) - 8, 0), - rz = Math.max(scaleExtent[0], - Math.min(scaleExtent[1], Math.floor(z))), - ts = tileSize[0] * Math.pow(2, z - rz), tile_origin = [ projection.scale() / 2 - projection.translate()[0], projection.scale() / 2 - projection.translate()[1]];