iOS SDK

API Reference

On This Page

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.

topLeft

Coordinate at the top left corner.

Declaration

Objective-C

CLLocationCoordinate2D topLeft

Swift

var topLeft: CLLocationCoordinate2D

bottomLeft

Coordinate at the bottom left corner.

Declaration

Objective-C

CLLocationCoordinate2D bottomLeft

Swift

var bottomLeft: CLLocationCoordinate2D

bottomRight

Coordinate at the bottom right corner.

Declaration

Objective-C

CLLocationCoordinate2D bottomRight

Swift

var bottomRight: CLLocationCoordinate2D

topRight

Coordinate at the top right corner.

Declaration

Objective-C

CLLocationCoordinate2D topRight

Swift

var topRight: CLLocationCoordinate2D