Class GeoJsonMultiPoint

java.lang.Object
org.springframework.data.mongodb.core.geo.GeoJsonMultiPoint
All Implemented Interfaces:
GeoJson<Iterable<org.springframework.data.geo.Point>>
Direct Known Subclasses:
GeoJsonLineString

public class GeoJsonMultiPoint extends Object implements GeoJson<Iterable<org.springframework.data.geo.Point>>
GeoJsonMultiPoint is defined as list of Points.
Since:
1.7
Author:
Christoph Strobl, Ivan Volzhev
See Also:
  • Constructor Details

    • GeoJsonMultiPoint

      public GeoJsonMultiPoint(org.springframework.data.geo.Point point)
      Creates a new GeoJsonMultiPoint for the given Point.
      Parameters:
      point - must not be null.
      Since:
      3.2.5
    • GeoJsonMultiPoint

      public GeoJsonMultiPoint(List<org.springframework.data.geo.Point> points)
      Creates a new GeoJsonMultiPoint for the given Points.
      Parameters:
      points - points must not be null and not empty
    • GeoJsonMultiPoint

      public GeoJsonMultiPoint(org.springframework.data.geo.Point first, org.springframework.data.geo.Point second, org.springframework.data.geo.Point... others)
      Creates a new GeoJsonMultiPoint for the given Points.
      Parameters:
      first - must not be null.
      second - must not be null.
      others - must not be null.
  • Method Details