selectFeatures method
Selects the given features and adds them to the current collection of selected features.
Use the FeatureLayer.getSelectedFeatures: Future
Parameters:
features
— A collection of features to be selected. Contents of the List are copied.
Implementation
void selectFeatures({required List<Feature> features}) {
final coreFeatures =
features.toMutableArray(valueType: _ElementType.feature);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_FeatureLayer_selectFeatures(
_handle, coreFeatures._handle, errorHandler);
});
}