Interface IsolineMatchingOptions.Builder

  • Method Details

    • nameHint

      The expected street name near the point. Helps disambiguate matching when multiple roads are within range.

      Parameters:
      nameHint - The expected street name near the point. Helps disambiguate matching when multiple roads are within range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onRoadThreshold

      IsolineMatchingOptions.Builder onRoadThreshold(Long onRoadThreshold)

      The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching.

      Unit: meters

      Parameters:
      onRoadThreshold - The maximum distance in meters that a point can be from a road while still being considered "on" that road. Points further than this distance require explicit matching.

      Unit: meters

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

      The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specified Strategy

      Unit: meters

      Parameters:
      radius - The maximum distance in meters to search for roads to match to. Points with no roads within this radius will fail to match. The roads that are considered within this radius are determined by the specified Strategy

      Unit: meters

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

      Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.

      Parameters:
      strategy - Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • strategy

      Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.

      Parameters:
      strategy - Determines how points are matched to the road network. MatchAny finds the nearest viable road segment, while MatchMostSignificantRoad prioritizes major roads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: