pointToLatLng method

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

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

Implementation

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