Interface RoadSnapSnappedGeometry.Builder

  • Method Details

    • lineString

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

      An ordered list of positions used to plot a route on a map.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      lineString - An ordered list of positions used to plot a route on a map.

      LineString and Polyline are mutually exclusive properties.

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

      An ordered list of positions used to plot a route on a map.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      lineString - An ordered list of positions used to plot a route on a map.

      LineString and Polyline are mutually exclusive properties.

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

      An ordered list of positions used to plot a route on a map in a lossy compression format.

      LineString and Polyline are mutually exclusive properties.

      Parameters:
      polyline - An ordered list of positions used to plot a route on a map in a lossy compression format.

      LineString and Polyline are mutually exclusive properties.

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