projectAtZoom method

Offset projectAtZoom(
  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

Offset projectAtZoom(LatLng latlng, [double? zoom]) =>
    crs.latLngToOffset(latlng, zoom ?? this.zoom);