DownloadMapHelper

class DownloadMapHelper

Installs base map on the device and shows DownloadMapDialogFragment if needed.

Constructors

Link copied to clipboard
fun DownloadMapHelper()

Functions

Link copied to clipboard
fun downloadMapIfNecessary(activity: AppCompatActivity, onDownloadFinishedAction: () -> Unit)

Extracts an empty base map and downloads nearby regions if needed.

Link copied to clipboard
fun isDownloadEnabled(context: Context): Boolean
Link copied to clipboard
fun showDownloadMapDialog(    fragmentManager: FragmentManager,     finishButtonAction: () -> Unit = {},     skipButtonAction: () -> Unit = {})

Displays download map dialog.