unproject method

  1. @override
LatLng unproject(
  1. UPoint point
)
override

Given a projected coordinate returns the corresponding GeoPosition. The inverse of project.

Implementation

@override
LatLng unproject(UPoint point) {
  pj4.Point position = pj4Projection.transform(
    epsg4326,
    pj4.Point(x: point.x, y: point.y),
  );
  return LatLng(
    wrapLat(position.y),
    wrapLng(position.x),
  );
}