LocationInfo
public struct LocationInfo
A structure that contains a geographical coordinate.
-
Positive values indicate latitudes north of the equator. Negative values indicate latitudes south of the equator.
Declaration
Swift
public let latitude: String
-
Measurements are relative to the zero meridian, with positive values extending east of the meridian and negative values extending west of the meridian.
Declaration
Swift
public let longitude: String
-
The latitude and longitude associated with a location, specified using the WGS 84 reference frame.
Declaration
Swift
public init(latitude: String, longitude: String)
Parameters
latitude
The latitude in degrees.
longitude
The longitude in degrees.