CNLLocationCoordinate2DRect

public struct CNLLocationCoordinate2DRect

Sperical rectangle struct

  • Bottom left coordinate

    Declaration

    Swift

    public var bottomLeft: CLLocationCoordinate2D
  • Bottom right coordinate

    Declaration

    Swift

    public var bottomRight: CLLocationCoordinate2D
  • Top left coordinate

    Declaration

    Swift

    public var topLeft: CLLocationCoordinate2D
  • Top right coordinate

    Declaration

    Swift

    public var topRight: CLLocationCoordinate2D
  • Default initializer

    Declaration

    Swift

    public init(bottomLeft: CLLocationCoordinate2D, bottomRight: CLLocationCoordinate2D, topLeft: CLLocationCoordinate2D, topRight: CLLocationCoordinate2D)

    Parameters

    bottomLeft

    Bottom left coordinate

    bottomRight

    Bottom right coordinate

    topLeft

    Top left coordinate

    topRight

    Top right coordinate

  • Default initializer. All coordinates sets to zero

    Declaration

    Swift

    public init()