mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Set precision to 0.
Mitigates a performance regression with D3 3.2.
This commit is contained in:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user