Other Type Aliases

The following type aliases are available globally.

  • NumericCongestionLevel is the level of traffic congestion along a road segment in numeric form, from 0-100. A value of 0 indicates no congestion, a value of 100 indicates maximum congestion.

    Declaration

    Swift

    public typealias NumericCongestionLevel = Int
  • The velocity (measured in meters per second) at which the device is moving.

    This is a compatibility shim to keep the library’s public interface consistent between Apple and non-Apple platforms that lack Core Location. On Apple platforms, you can use CLLocationSpeed anywhere you see this type.

    Declaration

    Swift

    public typealias LocationSpeed = CLLocationSpeed
  • The accuracy of a geographical coordinate.

    This is a compatibility shim to keep the library’s public interface consistent between Apple and non-Apple platforms that lack Core Location. On Apple platforms, you can use CLLocationAccuracy anywhere you see this type.

    Declaration

    Swift

    public typealias LocationAccuracy = CLLocationAccuracy
  • The velocity (measured in meters per second) at which the device is moving.

  • The accuracy of a geographical coordinate.

  • Options determining the primary mode of transportation for the routes.

    Declaration

    Swift

    @available(*, deprecated, renamed: "ProfileIdentifier")
    public typealias DirectionsProfileIdentifier = ProfileIdentifier
  • An image scale factor.

    Declaration

    Swift

    public typealias Scale = CGFloat
  • An image scale factor.