Other Constants

The following constants are available globally.

  • Event triggered when layers are about to be added or removed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFMapURLLayersWillChange

    Swift

    let AWFMapURLLayersWillChange: String
  • Event triggered when layers are added or removed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFMapURLLayersDidChange

    Swift

    let AWFMapURLLayersDidChange: String
  • Event triggered when the URL’s date is about to change.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFMapURLDateWillChange

    Swift

    let AWFMapURLDateWillChange: String
  • Event triggered when the URL’s date changes.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFMapURLDateDidChange

    Swift

    let AWFMapURLDateDidChange: String
  • An alpha blend method that will simply return the source image, ignoring the destination image.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSource

    Swift

    static let source: AWFRasterBlendMode
  • An alpha blend method that will simply return the destination image, ignoring the source image.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDest

    Swift

    static let dest: AWFRasterBlendMode
  • An alpha blend method that will layer the source image on top of the destination image. This is the same as using no blend.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSourceOver

    Swift

    static let sourceOver: AWFRasterBlendMode
  • An alpha blend method that will layer the destination image on top of the source image.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDestOver

    Swift

    static let destOver: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the source image if they intersect with parts of the destination image. The colors of the destination image will not be drawn.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSourceIn

    Swift

    static let sourceIn: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the destination image if they intersect with parts of the source image. The colors of the source image will not be drawn.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDestIn

    Swift

    static let destIn: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the source image if they do not intersect with parts of the destination image. The colors of the destination image will not be drawn.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSourceOut

    Swift

    static let sourceOut: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the destination image if they do not intersect with parts of the source image. The colors of the source image will not be drawn.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDestOut

    Swift

    static let destOut: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the source image that intersect the destination image. These portions will be layered on top of the destination image.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSourceAtop

    Swift

    static let sourceAtop: AWFRasterBlendMode
  • An alpha blend method that will only include portions of the destination image that intersect the source image. These portions will be layered on top of the source image.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDestAtop

    Swift

    static let destAtop: AWFRasterBlendMode
  • A blend method that adds the source color to the destination, tinting the destination towards the source. The lighter the source, the lighter the result.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModePlus

    Swift

    static let plus: AWFRasterBlendMode
  • A blend method that subtracts the source color from the destination, tinting the destination opposite of the source. The lighter the source, the lighter the result.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeMinus

    Swift

    static let minus: AWFRasterBlendMode
  • A blend method that multiplies colors from the source image with the colors of the destination. The result tends to be a darker image that highlights the source.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeMultiply

    Swift

    static let multiply: AWFRasterBlendMode
  • A blend method that multiplies the inverse of the source and destination colors, resulting in a lighter color. Screening with black produces no change, while screening with white produces white.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeScreen

    Swift

    static let screen: AWFRasterBlendMode
  • A blend method that combines colors from the source image with the brightness and darkness of the destination. The overlay blend is useful for showing terrain texture within the source mage and works best with lighter destination layers.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeOverlay

    Swift

    static let overlay: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and selects the destination or source color, whichever is darker, as the result.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDarken

    Swift

    static let darken: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and selects the destination or source color, whichever is lighter, as the result.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeLighten

    Swift

    static let lighten: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and brightens the destination to reflect the source by decreasing the contrast between the two. Blending with black produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeColorDodge

    Swift

    static let colorDodge: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and darkens the destination to reflect the source by increasing the contrast between the two. Blending with white produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeColorBurn

    Swift

    static let colorBurn: AWFRasterBlendMode
  • A blend method that multiplies or screens the colors depending on the source. The effect is similar to shining a harsh spotlight on the image. If the source is lighter than 50% gray, the result is lightened. Otherwise, the result is darkened.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeHardLight

    Swift

    static let hardLight: AWFRasterBlendMode
  • A blend method that darkens or lightens the colors depending on the source. The effect is similar to shining a diffused spotlight on the image. If the source is lighter than 50% gray, the result is lightened. Otherwise, the result is darkened.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSoftLight

    Swift

    static let softLight: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and subtracts either the source from the destination or the destination from the source depending on which has the greater brightness value. Blending with white inverts the base color values, while blending with black produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDifference

    Swift

    static let difference: AWFRasterBlendMode
  • A blend method that creates an effect similar to but lower in contrast than the difference blend mode. Blending with white inverts the base color values, while blending with black produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeExclusion

    Swift

    static let exclusion: AWFRasterBlendMode
  • Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeContrast

    Swift

    static let contrast: AWFRasterBlendMode
  • Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeInvert

    Swift

    static let invert: AWFRasterBlendMode
  • Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeInvertRGB

    Swift

    static let invertRGB: AWFRasterBlendMode
  • A blend method that is useful with showing terrain texture within the source image and works well with both light and dark destination layers.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeGrainMerge

    Swift

    static let grainMerge: AWFRasterBlendMode
  • Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeGrainExtract

    Swift

    static let grainExtract: AWFRasterBlendMode
  • A blend method that creates a result with the luminance and saturation of the destination and the hue of the source.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeHue

    Swift

    static let hue: AWFRasterBlendMode
  • A blend method that creates a result with the luminance and hue of the destination and the saturation of the source. This method preserves the grey levels in the image and is useful for coloring monochrome images or tinting color images.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeSaturation

    Swift

    static let saturation: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and brightens the source color to reflect the destination color by increasing the brightness. Blending with black produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeLinearDodge

    Swift

    static let linearDodge: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and darkens the source color to reflect the destination color by decreasing the brightness. Blending with white produces no change.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeLinearBurn

    Swift

    static let linearBurn: AWFRasterBlendMode
  • A blend method that looks at the color information in each channel and divides the destination color from the source color.

    Declaration

    Objective-C

    extern const AWFRasterBlendMode _Nonnull AWFRasterBlendModeDivide

    Swift

    static let divide: AWFRasterBlendMode

Radar/sat

Forecasts

Tropical

Severe

Lightning

Air Quality

Maritime

Observations

Roads

AMP Point/Shape Layers

  • Current and future convective outlooks using the raster AMP layer.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpConvectiveOutlook

    Swift

    static let ampConvectiveOutlook: AWFMapLayer
  • Current and past drought index using the raster AMP layer.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpDroughtIndex

    Swift

    static let ampDroughtIndex: AWFMapLayer
  • Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpFireOutlook

    Swift

    static let ampFireOutlook: AWFMapLayer
  • Deprecated

    Use AWFMapLayerLightningStrikes instead.

    Deprecated. Use AWFMapLayerLightningStrikes instead.

    Alias for AWFMapLayerLightningStrikes.

    Declaration

    Objective-C

    extern DEPRECATED_MSG_ATTRIBUTE("Use `AWFMapLayerLightningStrikes` instead.")
        const AWFMapLayer AWFMapLayerAmpLightningStrikes

    Swift

    static let ampLightningStrikes: AWFMapLayer
  • Displays storm cells on a weather map using the raster AMP layer. Using this layer instead of AWFMapLayerStormCells does not allow interacting with the points as you would when selecting an annotation associated with the point layer.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpStormCells

    Swift

    static let ampStormCells: AWFMapLayer
  • Displays storm reports on a weather map using the raster AMP layer. Using this layer instead of AWFMapLayerStormCells does not allow interacting with the points as you would when selecting an annotation associated with the point layer.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpStormReports

    Swift

    static let ampStormReports: AWFMapLayer
  • Current severe weather warnings using the raster AMP layer.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerAmpWarnings

    Swift

    static let ampWarnings: AWFMapLayer
  • Prefix used for all future data layers.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFFutureLayerPrefix

    Swift

    let AWFFutureLayerPrefix: String
  • Event triggered when a property on the map layer is about to change.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFRasterMapLayerWillChange

    Swift

    let AWFRasterMapLayerWillChange: String
  • Event triggered when a property on the map layer has changed.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFRasterMapLayerDidChange

    Swift

    let AWFRasterMapLayerDidChange: String
  • Removes data over land regions by overlaying a land raster image using the flat map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskLandFlat

    Swift

    static let landFlat: AWFRasterMask
  • Removes data over land regions by overlaying a land raster image using the Blue Marble map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskLandBlueMarble

    Swift

    static let landBlueMarble: AWFRasterMask
  • Removes data over land regions by overlaying a land raster image using the terrain map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskLandTerrain

    Swift

    static let landTerrain: AWFRasterMask
  • Removes data over water regions by overlaying a water raster image using the flat map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskWaterFlat

    Swift

    static let waterFlat: AWFRasterMask
  • Removes data over water regions by overlaying a water raster image using the water depth style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskWaterDepth

    Swift

    static let waterDepth: AWFRasterMask
  • Removes data over the Continental US by overlaying a land raster image using the flat map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskLandUSFlat

    Swift

    static let landUSFlat: AWFRasterMask
  • Removes all data except for the Continental US by overlaying a land and water raster image using the flat map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskClipUSFlat

    Swift

    static let clipUSFlat: AWFRasterMask
  • Removes all data except for the Continental US by overlaying a land and water raster image using the Blue Marble map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskClipUSBlueMarble

    Swift

    static let clipUSBlueMarble: AWFRasterMask
  • Removes all data except for the Continental US by overlaying a land and water raster image using the terrain map style.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskClipUSTerrain

    Swift

    static let clipUSTerrain: AWFRasterMask
  • Removes all data over water regions by using an alpha blend method to clip data from the layer not over land. The resulting image will retain its transparency.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskRemoveWater

    Swift

    static let removeWater: AWFRasterMask
  • Removes all data over land regions by using an alpha blend method to clip data from the layer not over water. The resulting image will retain its transparency.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskRemoveLand

    Swift

    static let removeLand: AWFRasterMask
  • Removes all data not within the Continental US by using an alpha blend method to clip data from the layer outside of the Continental US. The resulting image will retain its transprency.

    Declaration

    Objective-C

    extern const AWFRasterMask _Nonnull AWFRasterMaskRemoveLandNonUS

    Swift

    static let removeLandNonUS: AWFRasterMask
  • Active tropical watch/warning breakpoints.

    Declaration

    Objective-C

    extern const AWFMapLayer _Nonnull AWFMapLayerTropicalBreakpoints

    Swift

    static let tropicalBreakpoints: AWFMapLayer
  • Event triggered when a tile associated with the tile source failed loading.

    Declaration

    Objective-C

    extern NSString *const _Nonnull AWFTileDidFailLoading

    Swift

    let AWFTileDidFailLoading: String
  • The raster data layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupRaster

    Swift

    let AWFLayerGroupRaster: String
  • The point data layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupPoint

    Swift

    let AWFLayerGroupPoint: String
  • The shape/polygon data layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupShape

    Swift

    let AWFLayerGroupShape: String
  • The future data layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupFuture

    Swift

    let AWFLayerGroupFuture: String
  • The text data layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupText

    Swift

    let AWFLayerGroupText: String
  • The base map layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupBase

    Swift

    let AWFLayerGroupBase: String
  • The map overlay layer group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupOverlay

    Swift

    let AWFLayerGroupOverlay: String
  • The layer mask group.

    Declaration

    Objective-C

    extern const AWFLayerGroup _Nonnull AWFLayerGroupMask

    Swift

    let AWFLayerGroupMask: String