MGLCoordinateQuad

struct MGLCoordinateQuad {}

A quadrilateral area as measured on a two-dimensional map projection. MGLCoordinateQuad differs from MGLCoordinateBounds in that it allows representation of non-axis aligned bounds and non-rectangular quadrilaterals. The coordinates are described in counter clockwise order from top left.

  • Coordinate at the top left corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D topLeft

    Swift

    var topLeft: CLLocationCoordinate2D
  • Coordinate at the bottom left corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D bottomLeft

    Swift

    var bottomLeft: CLLocationCoordinate2D
  • Coordinate at the bottom right corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D bottomRight

    Swift

    var bottomRight: CLLocationCoordinate2D
  • Coordinate at the top right corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D topRight

    Swift

    var topRight: CLLocationCoordinate2D