Class MultiPoint

java.lang.Object
com.mongodb.client.model.geojson.Geometry
com.mongodb.client.model.geojson.MultiPoint

public final class MultiPoint extends Geometry
A representation of a GeoJSON MultiPoint.
Since:
3.1
  • Constructor Details

    • MultiPoint

      public MultiPoint(List<Position> coordinates)
      Construct an instance with the given coordinates.
      Parameters:
      coordinates - the coordinates
    • MultiPoint

      public MultiPoint(@Nullable CoordinateReferenceSystem coordinateReferenceSystem, List<Position> coordinates)
      Construct an instance with the given coordinates and coordinate reference system.
      Parameters:
      coordinateReferenceSystem - the coordinate reference system
      coordinates - the coordinates
  • Method Details