removeCircleMapObject method
Removes a circle map object from the location view.
circleMapObject The circle map object instance CircleMapObject.
Returns true if the operation is successful, false otherwise.
Example:
// Remove circle map object
if (_circleMapObject != null) {
bool removed = _locationWindow!.removeCircleMapObject(_circleMapObject!);
print("Removed circle map object: $removed");
_circleMapObject = null;
}
Implementation
@override
bool removeCircleMapObject(CircleMapObject circleMapObject) {
final _removeCircleMapObjectFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Uint8 Function(Pointer<Void>, Pointer<Void>),
int Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_LocationWindow_removeCircleMapObject__CircleMapObject'));
final __resultHandle = _removeCircleMapObjectFfi(this.ptr, CircleMapObject$Impl.getNativePtr(circleMapObject));
final _result = (__resultHandle != 0);
exception.checkCallResult();
return _result;
}