Interface IsolineDestinationOptions.Builder

  • Method Details

    • avoidActionsForDistance

      IsolineDestinationOptions.Builder avoidActionsForDistance(Long avoidActionsForDistance)

      The distance in meters from the destination 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 endpoint.

      Parameters:
      avoidActionsForDistance - The distance in meters from the destination 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 endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • heading

      The initial direction of travel in degrees (0-360, where 0 is north). This can affect which road segments are considered accessible from the starting point.

      Parameters:
      heading - The initial direction of travel in degrees (0-360, where 0 is north). This can affect which road segments are considered accessible from the starting point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matching

      Controls how the destination point is matched to the road network, including search radius and name-based matching preferences.

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

      Controls how the destination point is matched to the road network, including search radius and name-based matching preferences.

      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

      Specifies which side of the street should be considered accessible, which is important when building entrances or parking access points are only reachable from one side of the road.

      Parameters:
      sideOfStreet - Specifies which side of the street should be considered accessible, which is important when building entrances or parking access points are only reachable from one side of the road.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sideOfStreet

      Specifies which side of the street should be considered accessible, which is important when building entrances or parking access points are only reachable from one side of the road.

      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: