inverseMercator static method

num inverseMercator(
  1. num y
)

Returns latitude from mercator Y.

Implementation

static num inverseMercator(num y) => 2 * atan(exp(y)) - pi / 2;