Interface Geometry.Builder

    • Method Detail

      • coordinates

        Geometry.Builder coordinates​(Collection<? extends Collection<? extends Collection<Double>>> coordinates)

        The coordinates of the GeoJson Geometry.

        Parameters:
        coordinates - The coordinates of the GeoJson Geometry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • coordinates

        Geometry.Builder coordinates​(Collection<? extends Collection<Double>>... coordinates)

        The coordinates of the GeoJson Geometry.

        Parameters:
        coordinates - The coordinates of the GeoJson Geometry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Geometry.Builder type​(String type)

        GeoJson Geometry types like Polygon and MultiPolygon.

        Parameters:
        type - GeoJson Geometry types like Polygon and MultiPolygon.
        Returns:
        Returns a reference to this object so that method calls can be chained together.