Interface PolylineCorridor.Builder

    • Method Detail

      • polyline

        PolylineCorridor.Builder polyline​(String 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.
      • radius

        PolylineCorridor.Builder radius​(Integer radius)

        Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

        Unit: Meters

        Parameters:
        radius - Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

        Unit: Meters

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