Close imagery tile seams

(closes #3053)
This commit is contained in:
Bryan Housel
2016-04-06 09:38:50 -04:00
parent 2ff7fd92a0
commit f11f4bb58e

View File

@@ -9,7 +9,8 @@ iD.TileLayer = function() {
source = d3.functor('');
function tileSizeAtZoom(d, z) {
return (tileSize * Math.pow(2, z - d[2])) / tileSize;
var epsilon = 0.002;
return ((tileSize * Math.pow(2, z - d[2])) / tileSize) + epsilon;
}
function atZoom(t, distance) {