backgroundMonitor = map.statusLine.progressMonitor;
}
if (backgroundMonitor != null) {
backgroundMonitor.setCurrentAction(title);
backgroundMonitor.setCustomText(customText);
backgroundMonitor.updateProgress(currentProgressValue);
backgroundMonitor.setIndeterminate(indeterminate && currentProgressValue == 0);
}
}