removeLines method

  1. @Deprecated('Use removePolylines instead')
Future<void> removeLines(
  1. Iterable<Line> lines
)

Removes the specified lines from the map. The lines must be current members of the lines set.

Change listeners are notified once the lines have been removed on the platform side.

The returned Future completes once listeners have been notified.

Implementation

@Deprecated('Use removePolylines instead')
Future<void> removeLines(Iterable<Line> lines) async {
  await polylineManager?.removeAll(lines);
  notifyListeners();
}