MaplyAerisLayerInfo

@interface MaplyAerisLayerInfo : NSObject

Represents an Aeris layer.

This object contains information about an Aeris weather image layer.

Don’t construct these objects except from the MaplyAerisTiles object. Instead, get them from MaplyAerisTiles.

See

MaplyAerisTiles
  • Initialize with the attributes of the Aeris layer.

    Initialize the MaplyAerisLayerInfo object with attributes of the corresponding Aeris weather imagery layer.

    This initializer should only be called from within the MaplyAerisTiles object.

    Declaration

    Objective-C

    - (nullable instancetype)initWithCode:(NSString *_Nonnull)code
                                     name:(NSString *_Nonnull)name
                                  minZoom:(unsigned int)minZoom
                                  maxZoom:(unsigned int)maxZoom
                             updatePeriod:(unsigned int)updatePeriod;

    Swift

    init?(code: String, name: String, minZoom: UInt32, maxZoom: UInt32, updatePeriod: UInt32)

    Parameters

    code

    The code that Aeris uses to identify the layer.

    name

    The name of the layer.

    minZoom

    The minimum valid zoom level for the layer.

    maxZoom

    The maximum valid zoom level for the layer.

    updatePeriod

    How often the layer imagery is updated by Aeris, in minutes.

  • The code that Aeris uses to identify the layer.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull layerCode;

    Swift

    var layerCode: String { get set }
  • The name of the layer.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull layerName;

    Swift

    var layerName: String { get set }
  • The minimum valid zoom level for the layer.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) unsigned int minZoom;

    Swift

    var minZoom: UInt32 { get set }
  • The maximum valid zoom level for the layer.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) unsigned int maxZoom;

    Swift

    var maxZoom: UInt32 { get set }
  • How often the layer imagery is updated by Aeris, in minutes.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) unsigned int updatePeriod;

    Swift

    var updatePeriod: UInt32 { get set }