GPXBounds
public final class GPXBounds : GPXElement, Codable
A value type that represents bounds based off GPX v1.1 schema’s boundsType
.
This is meant for having two pairs of longitude and latitude, signifying the maximum and minimum, defining the extent / boundaries of a particular element.
-
Minimum latitude of boundaries to a element.
Declaration
Swift
public var minLatitude: Double?
-
Maximum latitude of boundaries to a element.
Declaration
Swift
public var maxLatitude: Double?
-
Minimum longitude of boundaries to a element.
Declaration
Swift
public var minLongitude: Double?
-
Maximum longitude of boundaries to a element.
Declaration
Swift
public var maxLongitude: Double?
-
Default initializer.
Declaration
Swift
public required init()
-
Initializes with all values
Declaration
Swift
public init(minLatitude: Double, maxLatitude: Double, minLongitude: Double, maxLongitude: Double)
Parameters
minLatitude
Minimum latitude
maxLatitude
Maximum latitude
minLongitude
Minimum longitude
maxLongitude
Maximum longitude