onCameraMove method

void onCameraMove(
  1. CameraPosition position, {
  2. bool forceUpdate = false,
})

Method called on camera move

Implementation

void onCameraMove(CameraPosition position, {bool forceUpdate = false}) {
  _zoom = position.zoom;
  if (forceUpdate) {
    updateMap();
  }
}