selectMapFeature method
Selects a map feature by its feature ID.
featureId The feature ID from the mapFeaturePickResult PickListener.
Returns true if the operation is successful, false otherwise.
Example:
// Select map feature by ID
String featureId = "room_101";
bool selected = _locationWindow!.selectMapFeature(featureId);
print("Selected map feature $featureId: $selected");
Implementation
@override
bool selectMapFeature(String featureId) {
final _selectMapFeatureFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, NativeString),
int Function(Pointer<Void>, NativeString)
>('navigine_sdk_flutter_LocationWindow_selectMapFeature__FeatureId'));
final __resultHandle = _selectMapFeatureFfi(this.ptr, toNativeString(featureId));
final _result = (__resultHandle != 0);
exception.checkCallResult();
return _result;
}