toScreenPoint method

  1. @override
Future toScreenPoint(
  1. LatLng position
)
override

Implementation

@override
Future<dynamic> toScreenPoint(LatLng position) async {
  final protection = controller.getProjection();
  return protection
      .containerPointFromCoords(WebLatLng.fromLatLng(position))
      .toPoint()
      .toMessageable();
}