createDefaultExportVectorTilesParametersCancelable method

CancelableOperation<ExportVectorTilesParameters> createDefaultExportVectorTilesParametersCancelable(
  1. {required Geometry areaOfInterest,
  2. required double maxScale}
)

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()!);
}