selectFeatures method

void selectFeatures(
  1. List<Feature> features
)

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

Use the FeatureLayer.getSelectedFeatures: Future<FeatureQueryResult> to retrieve all of the selected features.

Parameters:

  • features — A collection of features to be selected. Contents of the List are copied.