getLatLng method

Future<LatLng> getLatLng(
  1. ScreenCoordinate screenCoordinate, {
  2. required int mapId,
})

Returns LatLng corresponding to the ScreenCoordinate in the current map view.

A projection is used to translate between on screen location and geographic coordinates. Screen location is in screen pixels (not display pixels) with respect to the top left corner of the map, not necessarily of the whole screen.

Implementation

Future<LatLng> getLatLng(
  ScreenCoordinate screenCoordinate, {
  required int mapId,
}) {
  throw UnimplementedError('getLatLng() has not been implemented.');
}