selectFeaturesWithQueryCancelable method
- {required QueryParameters parameters,
- required SelectionMode mode}
Cancelable version of selectFeaturesWithQuery. See that method for more information.
Implementation
CancelableOperation<FeatureQueryResult> selectFeaturesWithQueryCancelable(
{required QueryParameters parameters, required SelectionMode mode}) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureLayer_selectFeaturesWithQuery(
_handle, parameters._handle, mode.coreValue, errorHandler);
});
return taskHandle.toCancelableOperation(
(element) => element.getValueAsFeatureQueryResult()!);
}