zoomBy static method

CameraUpdate zoomBy(
  1. double amount, [
  2. Offset? focus
])

Returns a camera update that modifies the camera zoom level by the specified amount. The optional focus is a screen point whose underlying geographical location should be invariant, if possible, by the movement.

Implementation

static CameraUpdate zoomBy(double amount, [Offset? focus]) {
  return CameraUpdateZoomBy(amount, focus);
}