createDefaultExportTileCacheParametersCancelable method
Cancelable version of createDefaultExportTileCacheParameters. See that method for more information.
Implementation
CancelableOperation<ExportTileCacheParameters>
createDefaultExportTileCacheParametersCancelable(
{required Geometry areaOfInterest,
required double minScale,
required double maxScale}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ExportTileCacheTask_createDefaultExportTileCacheParametersAsync(
_handle,
areaOfInterest._handle,
minScale,
maxScale,
errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsExportTileCacheParameters()!);
}