onPolylineEdited method

  1. @override
Stream<PolylineEditEvent> onPolylineEdited({
  1. required int mapId,
})

A Polyline path has been edited by the user.

Polyline editing is currently only supported on web; platforms that do not support it return an empty stream by default rather than throwing, so the app-facing package can subscribe unconditionally on every platform.

Implementation

@override
Stream<PolylineEditEvent> onPolylineEdited({required int mapId}) {
  return _events(mapId).whereType<PolylineEditEvent>();
}