lineStringSeries method
BoundedSeries<LineString<PointType> >
lineStringSeries(
- Iterable lineStrings, {
- LineStringType type = LineStringType.any,
Parses a series of line strings.
Throws FormatException if cannot create a series of line strings.
Implementation
BoundedSeries<LineString<PointType>> lineStringSeries(
Iterable<dynamic> lineStrings, {
LineStringType type = LineStringType.any,
}) =>
BoundedSeries<LineString<PointType>>.from(
lineStrings.map<LineString<PointType>>(
(dynamic points) => lineString(points as Iterable, type: type),
),
);