latLngToScreenPoint method

  1. @override
  2. @Deprecated('Prefer `controller.camera.latLngToScreenPoint()`. ' 'This method is now accessible via the camera. ' 'This method is deprecated since v6.')
Point<double> latLngToScreenPoint(
  1. LatLng mapCoordinate
)
override

Convert a map coordinate (lat/lng) to its corresponding screen point (x/y), based on the map's current screen positioning

Implementation

@override
@Deprecated(
  'Prefer `controller.camera.latLngToScreenPoint()`. '
  'This method is now accessible via the camera. '
  'This method is deprecated since v6.',
)
Point<double> latLngToScreenPoint(LatLng mapCoordinate) =>
    camera.latLngToScreenPoint(mapCoordinate);