diff --git a/js/id/renderer/background.js b/js/id/renderer/background.js index cb8136214..a2621eca3 100644 --- a/js/id/renderer/background.js +++ b/js/id/renderer/background.js @@ -30,8 +30,8 @@ iD.Background = function() { Math.round((d[0] * ts) - tile_origin[0]) + ',' + Math.round((d[1] * ts) - tile_origin[1]) + ')'; }) - .attr("width", ts) - .attr("height", ts); + .attr("width", Math.ceil(ts)) + .attr("height", Math.ceil(ts)); } background.projection = function(_) { diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index bfd11d1ac..4c9238125 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -10,7 +10,7 @@ iD.Map = function() { zoom = d3.behavior.zoom() .translate(projection.translate()) .scale(projection.scale()) - .scaleExtent([256, 256 * Math.pow(2, 20)]) + .scaleExtent([1024, 256 * Math.pow(2, 20)]) .on('zoom', zoomPan), only, dblclickEnabled = true,