project method

Point<double> project(
  1. LatLng latlng, [
  2. double? zoom
])

Calculates point value for the given latLng using this camera's crs and zoom (or the provided zoom).

Implementation

Point<double> project(LatLng latlng, [double? zoom]) =>
    crs.latLngToPoint(latlng, zoom ?? this.zoom);