Class PolylineCorridor

    • Method Detail

      • polyline

        public final 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.

        Returns:
        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.

      • radius

        public final 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

        Returns:
        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

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)