offline Map Android

297
1
09-15-2021 07:45 PM
dipanshujindal
New Contributor

I am using the com.esri.arcgisruntime:arcgis-android:100.11.2 for android .

I want to check the size of offline map before downloading it. I am not able to find any method to check offline    map size before downlaoding


val downloadPreplannedOfflineMapJob = offlineMapTask.generateOfflineMap(
offlineMapParameters,
myDirectory.path
).also {
// create and update a progress dialog for the job
dialog = createProgressDialog(it)
dialog?.show()
it.addProgressChangedListener {
dialog?.progressBar?.progress = it.progress
dialog?.progressTextView?.text = "${it.progress}%"
}
// start the job
it.start()
}



0 Kudos
1 Reply
RamaChintapalli
Esri Contributor

Hi,

Unfortunately, it is not possible to check the size before download currently. 

Thanks
Rama

0 Kudos