selectFeature method

void selectFeature(
  1. {required Feature feature}
)

Selects the given feature and adds it to the current collection of selected features.

Selected features are rendered according to the GeoViewController.selectionProperties.

Parameters:

  • feature — The feature.

Implementation

void selectFeature({required Feature feature}) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_FeatureLayer_selectFeature(
        _handle, feature._handle, errorHandler);
  });
}