@ -40,12 +41,12 @@ public class GeoJsonMultiPoint implements GeoJson<Iterable<Point>> {
@@ -40,12 +41,12 @@ public class GeoJsonMultiPoint implements GeoJson<Iterable<Point>> {
Assert.notNull(points,"Points must not be null.");
Assert.isTrue(points.size()>=2,"Minimum of 2 Points required.");
Assert.isTrue(points.size()>=1,"Minimum of 1 Point required.");
this.points=newArrayList<Point>(points);
}
@ -69,6 +70,19 @@ public class GeoJsonMultiPoint implements GeoJson<Iterable<Point>> {
@@ -69,6 +70,19 @@ public class GeoJsonMultiPoint implements GeoJson<Iterable<Point>> {