v1.6.08 - Planimeter class

This commit is contained in:
Azgaar 2021-03-05 21:44:07 +03:00
parent ca1acce48c
commit 130cc7ebaf
3 changed files with 98 additions and 160 deletions

View file

@ -1028,7 +1028,7 @@ function drawCoastline() {
if (f === largestLand) {
const from = points[d3.scan(points, (a, b) => a[0] - b[0])];
const to = points[d3.scan(points, (a, b) => b[0] - a[0])];
rulers.linear([from, to]);
rulers.create(Ruler, [from, to]);
}
}