Geometry

MGLCoordinateBounds

struct MGLCoordinateBounds {}

A rectangular area as measured on a two-dimensional map projection.

  • sw

    Coordinate at the southwest corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D sw

    Swift

    var sw: CLLocationCoordinate2D
  • ne

    Coordinate at the northeast corner.

    Declaration

    Objective-C

    CLLocationCoordinate2D ne

    Swift

    var ne: CLLocationCoordinate2D

Geometry

Geometry

Geometry

Geometry

Geometry

Geometry

Geometry

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

Geometry

Geometry

MGLCoordinateSpan

struct MGLCoordinateSpan {}

Defines the area spanned by an MGLCoordinateBounds.

Geometry

Geometry

Geometry

Geometry

Geometry

Geometry

Geometry