getScreenCoordinate method

Future<ScreenCoordinate> getScreenCoordinate(
  1. LatLng latLng

Return ScreenCoordinate of the LatLng in the current map view.

A projection is used to translate between on screen location and geographic coordinates. Screen location is in screen pixels (not display pixels) with respect to the top left corner of the map, not necessarily of the whole screen.


Future<ScreenCoordinate> getScreenCoordinate(LatLng latLng) {
  return GoogleMapsFlutterPlatform.instance
      .getScreenCoordinate(latLng, mapId: mapId);