enterCalibrationMode method

void enterCalibrationMode(
  1. OnCalibrationPointClickedCallback pointsCallback,
  2. OnCalibrationFinishedCallback finishedCallback
)

Modifies the state of the underlying MapView so it allows building calibrations.

Do not use this method as it is intended for internal use.

Implementation

void enterCalibrationMode(OnCalibrationPointClickedCallback pointsCallback,
    OnCalibrationFinishedCallback finishedCallback) {
  _setUIMode(UIMode.calibration);
  _onCalibrationFinishedCallback = finishedCallback;
  _onCalibrationPointClickedCallback = pointsCallback;
}