in scripts/layerdiff.js [89:92]
const getAreaFromRing = function (ring) { const points = ring.getCoordinates().map(c => [c.x, c.y]); return getAreaOfPolygon(points); };