coordinateForPixel method

Future<Point> coordinateForPixel(
  1. ScreenCoordinate pixel
)

Calculates a geographical coordinate (i.e., longitude-latitude pair) that corresponds to a screen coordinate.

The screen coordinate is in logical pixelsrelative to the top left corner of the map (not of the whole screen).

Implementation

Future<Point> coordinateForPixel(ScreenCoordinate pixel) =>
    _cameraManager.coordinateForPixel(pixel);