MaplyWMSLayerBoundingBox

Objective-C

@interface MaplyWMSLayerBoundingBox : NSObject

Swift

class MaplyWMSLayerBoundingBox : NSObject

A bounding box for a specific CRS in that coordinate system. This is part of the Web Map Server parser.

  • crs

    Coordinate Reference System

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *crs;

    Swift

    var crs: String? { get set }
  • Left side of the bounding box

    Declaration

    Objective-C

    @property (nonatomic) double minx;

    Swift

    var minx: Double { get set }
  • Bottom of the bounding box

    Declaration

    Objective-C

    @property (nonatomic) double miny;

    Swift

    var miny: Double { get set }
  • Right side of the bounding box

    Declaration

    Objective-C

    @property (nonatomic) double maxx;

    Swift

    var maxx: Double { get set }
  • Top of the bounding box

    Declaration

    Objective-C

    @property (nonatomic) double maxy;

    Swift

    var maxy: Double { get set }
  • Generate the coordinate system, if we can

    Declaration

    Objective-C

    - (nullable MaplyCoordinateSystem *)buildCoordinateSystem;

    Swift

    func buildCoordinateSystem() -> MaplyCoordinateSystem?