selectedMapFeatures property

List<String> get selectedMapFeatures
override

List of currently selected map feature IDs.

Example:

// Get list of selected map features
List<String> selectedFeatures = _locationWindow!.selectedMapFeatures;
print("Currently selected map features: ${selectedFeatures.length} features");
for (String feature in selectedFeatures) {
 print("  - $feature");
}

Implementation

List<String> get selectedMapFeatures {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>)
      >('navigine_sdk_flutter_LocationWindow_selectedMapFeatures_get'));

    final _selectedMapFeaturesHandle = _getFfi(this.ptr);
    final _result = ListStringImpl.fromNativePtr(_selectedMapFeaturesHandle);
    exception.checkCallResult();
    return _result;
}