Set precision to 0.

Mitigates a performance regression with D3 3.2.
This commit is contained in:
John Firebaugh
2013-06-20 13:58:28 -07:00
parent 9f8df295bd
commit d63f9c8381
+2 -1
View File
@@ -36,7 +36,8 @@ iD.Entity.key = function(entity) {
iD.Entity.areaPath = d3.geo.path()
.projection(d3.geo.mercator()
.scale(12016420.517592335));
.scale(12016420.517592335)
.precision(0));
iD.Entity.prototype = {
tags: {},