Other Type Definitions

The following type definitions are available globally.

  • The AWFMapLayer type defines the supported weather layers for a weather map.

    Note

    When using Swift, reference these values as their enumerated types instead of the Objective-C constants: let layer = AWFMapLayer.rivers

    Declaration

    Objective-C

    typedef NSString *AWFMapLayer

    Swift

    struct AWFMapLayer : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The AWFRasterBlendMode type defines the supported color and alpha blend modes supported by raster map layers.

    Note

    When using Swift, reference these values as their enumerated types instead of the Objective-C constants: let blend = AWFRasterBlendMode.sourceOver

    Declaration

    Objective-C

    typedef NSString *AWFRasterBlendMode

    Swift

    struct AWFRasterBlendMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The AWFRasterMask type defines the supported masks that can be applied to a raster map layer.

    Note

    When using Swift, reference these values as their enumerated types instead of the Objective-C constants: let mask = AWFRasterMask.waterFlat

    Declaration

    Objective-C

    typedef NSString *AWFRasterMask

    Swift

    struct AWFRasterMask : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • The AWFLayerGroup type defines the various groups a layer type can belong to.

    Note

    When using Swift, reference these values as their enumerated types instead of the Objective-C constants: let group = AWFLayerGroup.raster

    Declaration

    Objective-C

    typedef NSString *AWFLayerGroup

    Swift

    typealias AWFLayerGroup = NSString