From 94f74174bee67c72f31bc22b459126932421a29a Mon Sep 17 00:00:00 2001 From: burritojustice Date: Tue, 12 May 2015 10:34:41 -0700 Subject: [PATCH] changing back to 21, which seems akin to z15 docs and discussion https://github.com/mbostock/d3/wiki/Zoom-Behavior https://github.com/d3/d3-plugins/issues/37 --- scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.js b/scripts.js index 131be5b..42aeebc 100644 --- a/scripts.js +++ b/scripts.js @@ -7,7 +7,7 @@ var tile = d3.geo.tile() .size([width, height]); var projection = d3.geo.mercator() - .scale((1 << 20) / 2 / Math.PI) + .scale((1 << 21) / 2 / Math.PI) .translate([-width / 2, -height / 2]); // just temporary var tileProjection = d3.geo.mercator();