MatchSideOfStreet

public enum MatchSideOfStreet : UInt32, CaseIterable, Codable

Specifies how the location set by Waypoint.sideOfStreetHint should be handled. This setting might affect the geometry of the resulting route.

  • Always prefer the given side of street regardless if the street has dividers. Use this value if you know that the user is willing to take a longer route in order to ensure arriving at the correct side of the street.

    Declaration

    Swift

    case always
  • Only prefer using side of street set by street hint in case the street has dividers. This is the default setting and it is recommended for most use cases.

    Declaration

    Swift

    case onlyIfDivided