toLatLng method
Implementation
@override
Future<LatLng> toLatLng(Point screenLocation) async {
var lngLat =
_map.unproject(mapbox.Point(screenLocation.x, screenLocation.y));
return LatLng(lngLat.lat as double, lngLat.lng as double);
}
@override
Future<LatLng> toLatLng(Point screenLocation) async {
var lngLat =
_map.unproject(mapbox.Point(screenLocation.x, screenLocation.y));
return LatLng(lngLat.lat as double, lngLat.lng as double);
}