addLines method

List<PowerGeoLineString> addLines(
  1. List<PowerGeoLineString> geoJSONPoint
)

Adds a list of PowerGeoLineString instances to the collection.

  • geoJSONPoint: List of PowerGeoLineString instances to add.

Returns the updated list of PowerGeoLineString instances in the collection.

Implementation

List<PowerGeoLineString> addLines(List<PowerGeoLineString> geoJSONPoint) {
  geoJSONLineStrings.addAll(geoJSONPoint);
  return geoJSONLineStrings;
}