getLatLng method

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

Returns the LatLng of a ScreenCoordinate of the viewport.

Implementation

@override
Future<LatLng> getLatLng(
  ScreenCoordinate screenCoordinate, {
  required int mapId,
}) {
  return _map(mapId).getLatLng(screenCoordinate);
}