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:
Jason Davies 2012-09-26 14:47:21 +01:00
Родитель e8b3ac10bc
Коммит 9c7e3a8d9a
3 изменённых файлов: 3 добавлений и 3 удалений

2
d3.v2.js поставляемый
Просмотреть файл

@ -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();

2
d3.v2.min.js поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -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();