project method

  1. @nonVirtual
Offset project(
  1. LatLng latlng
)

Converts a LatLng to a coordinates and returns them as an Offset.

Implementation

@nonVirtual
Offset project(LatLng latlng) {
  final (x, y) = projectXY(latlng);
  return Offset(x, y);
}