pointToLatLng method

LatLng pointToLatLng(
  1. CustomPoint<num> point,
  2. double zoom
)

Converts a map point to the sphere coordinate (at a certain zoom).

Implementation

LatLng pointToLatLng(CustomPoint point, double zoom) => projection
    .unproject(transformation.untransform(point, scale(zoom).toDouble()));