Skip to content

Commit

Permalink
Add CaseIterable protocol conformance in CongestionLevel.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximAlien committed Nov 18, 2020
1 parent 8d421c7 commit 34b2140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MapboxDirections/Congestion.swift
Expand Up @@ -3,7 +3,7 @@ import Foundation
/**
A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
*/
public enum CongestionLevel: String, Codable {
public enum CongestionLevel: String, Codable, CaseIterable {
/**
There is not enough data to determine the level of congestion along the road segment.
*/
Expand Down

0 comments on commit 34b2140

Please sign in to comment.