Interface IsolineOriginOptions.Builder

  • Method Details

    • avoidActionsForDistance

      IsolineOriginOptions.Builder avoidActionsForDistance(Long avoidActionsForDistance)

      The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the starting point.

      Parameters:
      avoidActionsForDistance - The distance in meters from the origin point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the starting point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • heading

      Initial direction of travel in degrees (0-360, where 0 is north). This affects which road segments are considered accessible from the starting point and is particularly useful when the origin is on a divided road or at a complex intersection.

      Parameters:
      heading - Initial direction of travel in degrees (0-360, where 0 is north). This affects which road segments are considered accessible from the starting point and is particularly useful when the origin is on a divided road or at a complex intersection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matching

      Controls how the origin point is matched to the road network, including search radius and matching strategy.

      Parameters:
      matching - Controls how the origin point is matched to the road network, including search radius and matching strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matching

      Controls how the origin point is matched to the road network, including search radius and matching strategy.

      This is a convenience method that creates an instance of the IsolineMatchingOptions.Builder avoiding the need to create one manually via IsolineMatchingOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to matching(IsolineMatchingOptions).

      Parameters:
      matching - a consumer that will call methods on IsolineMatchingOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sideOfStreet

      Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.

      Parameters:
      sideOfStreet - Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sideOfStreet

      Controls which side of the street is considered accessible from the origin point, particularly important for divided roads where building entrances or parking access may only be available from one direction.

      This is a convenience method that creates an instance of the IsolineSideOfStreetOptions.Builder avoiding the need to create one manually via IsolineSideOfStreetOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sideOfStreet(IsolineSideOfStreetOptions).

      Parameters:
      sideOfStreet - a consumer that will call methods on IsolineSideOfStreetOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: