onCameraSettled method

void onCameraSettled()

Records that the camera came to rest.

Whatever moved it is finished, so the next move is the user's until a beginProgrammaticMove says otherwise. This is also what takes a map off MapMoveSource.unknown: until it first settles — or the app moves it — nothing has established that the camera is sitting where the user left it.

Implementation

void onCameraSettled() {
  _settleTimeout?.cancel();
  _settleTimeout = null;
  _source = MapMoveSource.gesture;
}