Sha256: 268ef5a4e7fe25333235d2d062383a3600933d3b161cf1c9c3e7fcc53b7d2d43
Contents?: true
Size: 343 Bytes
Versions: 4
Compression:
Stored size: 343 Bytes
Contents
import "projection"; function kavrayskiy7(λ, φ) { return [ 3 * λ / (2 * π) * Math.sqrt(π * π / 3 - φ * φ), φ ]; } kavrayskiy7.invert = function(x, y) { return [ 2 / 3 * π * x / Math.sqrt(π * π / 3 - y * y), y ]; }; (d3.geo.kavrayskiy7 = function() { return projection(kavrayskiy7); }).raw = kavrayskiy7;
Version data entries
4 entries across 4 versions & 1 rubygems