createDefaultExportVectorTilesParametersCancelable method
Cancelable version of createDefaultExportVectorTilesParameters. See that method for more information.
Implementation
CancelableOperation<ExportVectorTilesParameters>
createDefaultExportVectorTilesParametersCancelable(
{required Geometry areaOfInterest, required double maxScale}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ExportVectorTilesTask_createDefaultExportVectorTilesParametersAsync(
_handle, areaOfInterest._handle, maxScale, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsExportVectorTilesParameters()!);
}