MaplyWMSLayer
Objective-C
@interface MaplyWMSLayer : NSObject
Swift
class MaplyWMSLayer : NSObject
Description of a WMS layer as returned by a GetCapabilities call. This is part of the Web Map Service parser.
-
The name as returned by the service
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *name;
Swift
var name: String? { get set }
-
The title as returned by the service
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *title;
Swift
var title: String? { get set }
-
The abstract as returned by the service
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSString *abstract;
Swift
var abstract: String? { get set }
-
Coordinate reference systems supported by the layer
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray *coordRefSystems;
Swift
var coordRefSystems: [Any]? { get set }
-
Styles we can choose
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray *styles;
Swift
var styles: [Any]? { get set }
-
Bounding boxes for zero or more of the CRS’
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray *boundingBoxes;
Swift
var boundingBoxes: [Any]? { get set }
-
Lower left corner in longitude/latitude
Declaration
Objective-C
@property (nonatomic) MaplyCoordinate ll;
Swift
var ll: MaplyCoordinate { get set }
-
Upper right corner in longitude/latitude
Declaration
Objective-C
@property (nonatomic) MaplyCoordinate ur;
Swift
var ur: MaplyCoordinate { get set }
-
Try to build a coordinate system we understand
Declaration
Objective-C
- (nullable MaplyCoordinateSystem *)buildCoordSystem;
Swift
func buildCoordSystem() -> MaplyCoordinateSystem?
-
Find the style with the given name
Declaration
Objective-C
- (nullable MaplyWMSStyle *)findStyle:(NSString *_Nonnull)styleName;
Swift
func findStyle(_ styleName: String) -> MaplyWMSStyle?