Increase resampling recursion depth.
Otherwise Albers shows some graticule artefacts near the North Pole for rotate([0, 0, 45]). It may be worth investigating what happens to k near the poles, in case we need to override it.
This commit is contained in:
Родитель
e8b3ac10bc
Коммит
9c7e3a8d9a
|
@ -2047,7 +2047,7 @@
|
|||
},
|
||||
lineTo: function(λ, φ) {
|
||||
var point = projectPoint(λ, φ);
|
||||
lineTo(x0, y0, x0 = point[0], y0 = point[1], λ0, φ0, λ0 = λ, φ0 = φ, 10);
|
||||
lineTo(x0, y0, x0 = point[0], y0 = point[1], λ0, φ0, λ0 = λ, φ0 = φ, 32);
|
||||
},
|
||||
closePath: function() {
|
||||
context.closePath();
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -124,7 +124,7 @@ function d3_geo_projectionMutator(projectAt) {
|
|||
},
|
||||
lineTo: function(λ, φ) {
|
||||
var point = projectPoint(λ, φ);
|
||||
lineTo(x0, y0, x0 = point[0], y0 = point[1], λ0, φ0, λ0 = λ, φ0 = φ, 10);
|
||||
lineTo(x0, y0, x0 = point[0], y0 = point[1], λ0, φ0, λ0 = λ, φ0 = φ, 32);
|
||||
},
|
||||
closePath: function() {
|
||||
context.closePath();
|
||||
|
|
Загрузка…
Ссылка в новой задаче