AdministrativeRegion
public struct AdministrativeRegion : Codable, Equatable, ForeignMemberContainer
AdministrativeRegion
describes corresponding object on the route.
You can also use Intersection.regionCode
or RouteStep.regionCode(atStepIndex:, intersectionIndex:)
to retrieve ISO 3166-1 country code
-
Declaration
Swift
public var foreignMembers: JSONObject
-
ISO 3166-1 alpha-3 country code
Declaration
Swift
public var countryCodeAlpha3: String?
-
ISO 3166-1 country code
Declaration
Swift
public var countryCode: String
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws