LocationType

public struct LocationType : Codable

LocationType

See also

LocationType
  • geo

    Geographical information about the location.

    Declaration

    Swift

    public let geo: Geo?
  • id

    The id of the location.

    Declaration

    Swift

    public let id: String!
  • The part of the queried placeid that this location matches. Only for the timeservice.

    Declaration

    Swift

    public let matchparam: String?
  • Time information about the location. Only present if requested.

    Declaration

    Swift

    public let time: TimeType?
  • Time changes (daylight savings time). Only present if requested and information is available.

    Declaration

    Swift

    public let timechanges: [Timechange]?
  • Astronomical information – sunrise and sunset times. Only for the timeservice and if requested.

    Declaration

    Swift

    public let astronomy: [AstronomyType]?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws