Other Enumerations
The following enumerations are available globally.
- 
                  
                  A See moreCongestionLevelindicates 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.DeclarationSwift public enum CongestionLevel : String, Codable
- 
                  
                  An error that occurs when calculating directions. See moreDeclarationSwift public enum DirectionsError : LocalizedErrorextension DirectionsError: Equatable
- 
                  
                  An error that occurs when encoding or decoding a type defined by the MapboxDirections framework. See moreDeclarationSwift public enum DirectionsCodingError : Error
- 
                  
                  A See moreRouteShapeFormatindicates the format of a route or match shape in the raw HTTP response.DeclarationSwift public enum RouteShapeFormat : String, Codable
- 
                  
                  A See moreRouteShapeResolutionindicates the level of detail in a route’s shape, or whether the shape is present at all.DeclarationSwift public enum RouteShapeResolution : String, Codable
- 
                  
                  A system of units of measuring distances and other quantities. See moreDeclarationSwift public enum MeasurementSystem : String, Codable
- 
                  
                  A See moreDrivingSideindicates which side of the road cars and traffic flow.DeclarationSwift public enum DrivingSide : String, Codable
- 
                  
                  A Weightenum represents the weight given to a specificMatchby the Directions API. The default metric is a compound index called “routability”, which is duration-based with additional penalties for less desirable maneuvers.DeclarationSwift public enum Weight : Equatable
- 
                  
                  A See moreTransportTypespecifies the mode of transportation used for part of a route.DeclarationSwift public enum TransportType : String, Codable
- 
                  
                  A ManeuverTypespecifies the type of maneuver required to complete the route step. You can pair a maneuver type with aManeuverDirectionto choose an appropriate visual or voice prompt to present the user.To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction. See moreDeclarationSwift public enum ManeuverType : String, Codable
- 
                  
                  A See moreManeuverDirectionclarifies aManeuverTypewith directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see theManeuverTypedocumentation for details.DeclarationSwift public enum ManeuverDirection : String, Codable
- 
                  
                  A road sign design standard. A sign standard can affect how a user interface should display information related to the road. For example, a speed limit from the See moreRouteLeg.segmentMaximumSpeedLimitsproperty may appear in a different-looking view depending on theRouteStep.speedLimitSignproperty.DeclarationSwift public enum SignStandard : String, Codable
 Install in Dash
              Install in Dash
             Other Enumerations  Reference
        Other Enumerations  Reference