projectLat static method

double projectLat(
  1. double latitude
)

Project the latitude for this Crs

Implementation

static double projectLat(double latitude) {
  final lat = _clampSym(latitude, maxLatitude);
  final sin = math.sin(lat * math.pi / 180);

  return r / 2 * math.log((1 + sin) / (1 - sin));
}