zoomBy static method

dynamic zoomBy(
  1. double amount
)

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 zoomBy(double amount) {
  if (Platform.isIOS) {
    return appleMaps.CameraUpdate.zoomBy(amount);
  } else if (Platform.isAndroid) {
    return googleMaps.CameraUpdate.zoomBy(amount);
  }
}