getLatLng method
Returns the LatLng
for a screenCoordinate
(in pixels) of the viewport.
Implementation
Future<MFLatLng> getLatLng(MFScreenCoordinate screenCoordinate) async {
final List<dynamic> latLng = (await _channel.invokeListMethod<dynamic>(
'map#getLatLng',
<String, dynamic>{'coordinate': screenCoordinate.toJson()}))!;
return MFLatLng.fromJson(latLng)!;
}