addPoints method

List<PowerGeoPoint> addPoints(
  1. List<PowerGeoPoint> geoJSONPoint
)

Adds a list of PowerGeoPoint instances to the collection.

  • geoJSONPoint: List of PowerGeoPoint instances to add.

Returns the updated list of PowerGeoPoint instances in the collection.

Implementation

List<PowerGeoPoint> addPoints(List<PowerGeoPoint> geoJSONPoint) {
  geoJSONPoints.addAll(geoJSONPoint);
  return geoJSONPoints;
}