Interface IsolineConnectionGeometry.Builder

  • Method Details

    • lineString

      IsolineConnectionGeometry.Builder lineString(Collection<? extends Collection<Double>> lineString)

      A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      lineString - A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation.

      LineString and Polyline are mutually exclusive properties.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineString

      A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      lineString - A series of [longitude, latitude] coordinate pairs defining the connection path when Simple geometry format is requested. These coordinates can be directly used as the coordinates array in a GeoJSON LineString without transformation.

      LineString and Polyline are mutually exclusive properties.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polyline

      An encoded representation of the connection path when FlexiblePolyline geometry format is requested. This provides a more compact representation suitable for transmission and storage. To convert to GeoJSON, first decode to obtain coordinate pairs, then use those coordinates as the coordinates array in a GeoJSON LineString.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      polyline - An encoded representation of the connection path when FlexiblePolyline geometry format is requested. This provides a more compact representation suitable for transmission and storage. To convert to GeoJSON, first decode to obtain coordinate pairs, then use those coordinates as the coordinates array in a GeoJSON LineString.

      LineString and Polyline are mutually exclusive properties.

      Returns:
      Returns a reference to this object so that method calls can be chained together.