Interface Corridor.Builder

    • Method Detail

      • lineString

        Corridor.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

        Corridor.Builder lineString​(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.
      • radius

        Corridor.Builder radius​(Integer radius)

        Radius that defines the width of the corridor.

        Parameters:
        radius - Radius that defines the width of the corridor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.