removeIconMapObject method
@brief Removes an icon map object from the location view. @param iconMapObject The icon map object instance @see IconMapObject "IconMapObject". @return true if the operation is successful, false otherwise.
Dart code snippet: @snippet location_window_map_objects_example.dart dart_LocationWindow_removeIconMapObject
Implementation
@override
bool removeIconMapObject(IconMapObject iconMapObject) {
final _removeIconMapObjectFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Pointer<Void>),
int Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_LocationWindow_removeIconMapObject__IconMapObject'));
final _iconMapObjectHandle = navigine_sdk_flutter_IconMapObject_ToFfi(iconMapObject);
final _handle = this.handle;
final __resultHandle = _removeIconMapObjectFfi(_handle, _iconMapObjectHandle);
navigine_sdk_flutter_IconMapObject_ReleaseFfiHandle(_iconMapObjectHandle);
final _result = navigine_sdk_flutter_bool_FromFfi(__resultHandle);
navigine_sdk_flutter_bool_ReleaseFfiHandle(__resultHandle);
return _result;
}