DownloadPreplannedOfflineMapParameters constructor
- {PreplannedMapArea? preplannedMapArea}
Creates a download preplanned offline map parameters object with the given offline map area.
Parameters:
preplannedMapArea
— preplanned map area representing area to be downloaded for offline use.
Implementation
factory DownloadPreplannedOfflineMapParameters(
{PreplannedMapArea? preplannedMapArea}) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_DownloadPreplannedOfflineMapParameters_createCombined(
preplannedMapArea?._handle ?? ffi.nullptr, errorHandler);
});
final DownloadPreplannedOfflineMapParameters object =
DownloadPreplannedOfflineMapParameters._withHandle(handle);
object._preplannedMapArea.cache(preplannedMapArea);
return object;
}