Skip to content

Commit

Permalink
Update documentation for road classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
azarovalex committed Mar 14, 2022
1 parent 466e41d commit 8da8838
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/MapboxDirections/RoadClasses.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ public struct RoadClasses: OptionSet, CustomStringConvertible {
The road segment has access restrictions.
A road segment may have this class if there are [general access restrictions](https://wiki.openstreetmap.org/wiki/Key:access) or a [high-occupancy vehicle](https://wiki.openstreetmap.org/wiki/Key:hov) restriction.
This option can only be used with `RouteOptions.roadClassesToAvoid`.
*/
public static let restricted = RoadClasses(rawValue: 1 << 2)

Expand All @@ -48,8 +46,6 @@ public struct RoadClasses: OptionSet, CustomStringConvertible {

/**
The user must travel this segment of the route through a [tunnel](https://wiki.openstreetmap.org/wiki/Key:tunnel).
This option can only be used with `RouteOptions.roadClassesToAvoid`.
*/
public static let tunnel = RoadClasses(rawValue: 1 << 5)

Expand Down

0 comments on commit 8da8838

Please sign in to comment.