newLatLngZoom static method

CameraUpdate newLatLngZoom(
  1. LatLng latLng,
  2. double zoom
)

Returns a camera update that moves the camera target to the specified geographical location and zoom level.

Implementation

static CameraUpdate newLatLngZoom(LatLng latLng, double zoom) {
  return CameraUpdate._(
    <dynamic>['newLatLngZoom', latLng.toJson(), zoom],
  );
}