fromScreenPoint method

  1. @override
Future fromScreenPoint(
  1. int x,
  2. int y
)
override

Implementation

@override
Future<dynamic> fromScreenPoint(int x, int y) async {
  final protection = controller.getProjection();
  return protection
      .coordsFromContainerPoint(WebPoint(x.toDouble(), y.toDouble()))
      .toLatLng()
      .toMessageable();
}