queryExtent method
- QueryParameters queryParameters
Determines the minimum bounding envelope that contains features satisfying the provided query parameters.
If no features meet the query criteria, an empty envelope is returned.
Parameters:
queryParameters
— The parameters of the query.
Return Value: A task that represents the asynchronous query of feature extent. The value of the task result contains an Envelope object.
Implementation
Future<Envelope> queryExtent(
QueryParameters queryParameters,
) {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureTable_queryExtent(
_handle,
queryParameters._handle,
errorHandler,
);
});
return taskHandle.toFuture(
(element) => element.getValueAsEnvelope()!,
);
}