unproject method

  1. @override
LatLng unproject(
  1. CustomPoint<num> point
)
override

Implementation

@override
LatLng unproject(CustomPoint point) {
  var d = 180 / math.pi;
  return LatLng(
      inclusiveLat(
          (2 * math.atan(math.exp(point.y / r)) - (math.pi / 2)) * d),
      inclusiveLng(point.x * d / r));
}