Other Protocols

The following protocols are available globally.

  • The AWFAmpTileSourceProviderDelegate protocol defines a set of optional methods that can be used to receive messages from the provider when tile sources should be added and/or removed from the weather map.

    See more

    Declaration

    Objective-C

    @protocol AWFAmpTileSourceProviderDelegate <NSObject>

    Swift

    protocol AWFAmpTileSourceProviderDelegate : NSObjectProtocol
  • The AWFAnimatableOverlay protocol defines an overlay object that can be animated and provides a required animation property to store the animation object.

    See more

    Declaration

    Objective-C

    @protocol AWFAnimatableOverlay <MKOverlay, AWFAnimationDataSource>

    Swift

    protocol AWFAnimatableOverlay : MKOverlay, AWFAnimationDataSource
  • The AWFAnimationDataSource protocol is adopted by an object that provides basic information that is needed for an animation object.

    See more

    Declaration

    Objective-C

    @protocol AWFAnimationDataSource <NSObject>

    Swift

    protocol AWFAnimationDataSource : NSObjectProtocol
  • The AWFAnimationDelegate protocol defines a set of optional methods that can be used to receive animation-related update messages. These methods notify your application of changes to the state of the animation, such as when playback starts or stops.

    See more

    Declaration

    Objective-C

    @protocol AWFAnimationDelegate <NSObject>

    Swift

    protocol AWFAnimationDelegate : NSObjectProtocol
  • The AWFAnnotation protocol represents an annotation object on a weather map and provides the common set of properties and methods for annotation items across different mapping libraries.

    See more

    Declaration

    Objective-C

    @protocol AWFAnnotation <AWFDataRepresentable>

    Swift

    protocol AWFAnnotation : AWFDataRepresentable
  • The AWFOverlayStylable protocol is adopted by an object that provides the style specifications for a map overlay.

    See more

    Declaration

    Objective-C

    @protocol AWFOverlayStylable <NSObject>

    Swift

    protocol AWFOverlayStylable : NSObjectProtocol
  • The AWFAnnotationView protocol represents an annotation renderer, typically an instance of UIView or MKAnnotationView, that manages animating the annotation while displayed on a map.

    See more

    Declaration

    Objective-C

    @protocol AWFAnnotationView <NSObject>

    Swift

    protocol AWFAnnotationView : NSObjectProtocol
  • The AWFDataAnimationDataSource is adopted by an object that provides the necessary data for an point-based overlay to complete its animation.

    See more

    Declaration

    Objective-C

    @protocol AWFDataAnimationDataSource <AWFAnimationDataSource>

    Swift

    protocol AWFDataAnimationDataSource : AWFAnimationDataSource
  • The AWFDataAnimationDelegate protocol defines a set of optional methods that can be used to be notified when the point data animation data changes.

    See more

    Declaration

    Objective-C

    @protocol AWFDataAnimationDelegate <AWFAnimationDelegate>

    Swift

    protocol AWFDataAnimationDelegate : AWFAnimationDelegate
  • The AWFDataLoading protocol defines the required properties and methods for an object that performs the necessary data loading required for map elements.

    See more

    Declaration

    Objective-C

    @protocol AWFDataLoading

    Swift

    protocol AWFDataLoading
  • The AWFDataRepresentableStyleProvider protocol is adopted by an object that provides the style specifications for multiple map representable types.

    See more

    Declaration

    Objective-C

    @protocol AWFDataRepresentableStyleProvider <NSObject>

    Swift

    protocol AWFDataRepresentableStyleProvider : NSObjectProtocol
  • The AWFImageAnimationDataSource is adopted by an object that provides the necessary data for an image-based overlay to complete its animation.

    See more

    Declaration

    Objective-C

    @protocol AWFImageAnimationDataSource <AWFAnimationDataSource>

    Swift

    protocol AWFImageAnimationDataSource : AWFAnimationDataSource
  • The AWFImageAnimationDelegate protocol defines a set of optional methods that can be used to be notified when the image animation data changes.

    See more

    Declaration

    Objective-C

    @protocol AWFImageAnimationDelegate <AWFAnimationDelegate>

    Swift

    protocol AWFImageAnimationDelegate : AWFAnimationDelegate
  • The AWFLegendRenderer protocol defines the required properties and methods for an object that renders a legend.

    See more

    Declaration

    Objective-C

    @protocol AWFLegendRenderer <NSObject>

    Swift

    protocol AWFLegendRenderer : NSObjectProtocol
  • The AWFLegendViewDelegate protocol defines a set of optional methods that you can use to receive messages related to changes to the legend view.

    See more

    Declaration

    Objective-C

    @protocol AWFLegendViewDelegate <NSObject>

    Swift

    protocol AWFLegendViewDelegate : NSObjectProtocol
  • The AWFMKTileProvider protocol defines the properties required by overlay sources rendered on an MKMapView instance.

    See more

    Declaration

    Objective-C

    @protocol AWFMKTileProvider <NSObject>

    Swift

    protocol AWFMKTileProvider : NSObjectProtocol
  • The AWFMapArrow protocol defines the required properties and methods for an object that defines a directional arrow element on a map.

    See more

    Declaration

    Objective-C

    @protocol AWFMapArrow

    Swift

    protocol AWFMapArrow
  • The AWFMapCalloutDelegate protocol defines a set of optional methods that you can use to receive messages related to changes to or interactions with a map callout and it’s assocated callout view.

    See more

    Declaration

    Objective-C

    @protocol AWFMapCalloutDelegate <NSObject>

    Swift

    protocol AWFMapCalloutDelegate : NSObjectProtocol
  • The AWFMapContentDelegate protocol defines a set of optional methods that can be used to receive messages related to data changes for a particular map content source. The delegate should handle any data cleanup on the map that is required in response to these messages.

    See more

    Declaration

    Objective-C

    @protocol AWFMapContentDelegate <NSObject>

    Swift

    protocol AWFMapContentDelegate : NSObjectProtocol
  • The AWFMapOverlayFactory protocol is adopted by an object that provides the necessary overlay and annotation objects required for rendering elements using a specific mapping strategy.

    See more

    Declaration

    Objective-C

    @protocol AWFMapOverlayFactory <NSObject>

    Swift

    protocol AWFMapOverlayFactory : NSObjectProtocol
  • An AWFMapStrategy object provides a common interface between a specific map SDK and the application. This object is responsible for determining how to add and remove overlay and annotation objects on the map, as well as providing other basic information about the state of its internal map view, such as bounding coordinates, zoom level, etc.

    The base implementation of this class doesn’t do anything and should be subclassed for each supported map SDK. Subclasses should override the methods to manage adding and removing overlays and annotations from the map.

    This object must remain the primary delegate of its internal map view regardless of map SDK since it manages all overlays. However, the same map delegates for the specific map SDK are also proxied to other map view delegates as necessary.

    See more

    Declaration

    Objective-C

    @protocol AWFMapStrategy <NSObject>

    Swift

    protocol AWFMapStrategy : NSObjectProtocol
  • The AWFMapStrategyDelegate protocol defines a set of optional methods that you can use to receive messages related to the internal map view being managed by a map strategy.

    See more

    Declaration

    Objective-C

    @protocol AWFMapStrategyDelegate <NSObject>

    Swift

    protocol AWFMapStrategyDelegate : NSObjectProtocol
  • The AWFMultiShapeOverlay protocol defines the properties and methods required by an overlay instance that renders multiple types of elements into a single overlay renderer, such as both polygon and polylines.

    See more

    Declaration

    Objective-C

    @protocol AWFMultiShapeOverlay <NSObject>

    Swift

    protocol AWFMultiShapeOverlay : NSObjectProtocol
  • The AWFOverlayProvider protocol defines the required properties and methods for an object that provides a map overlay object.

    See more

    Declaration

    Objective-C

    @protocol AWFOverlayProvider <NSObject>

    Swift

    protocol AWFOverlayProvider : NSObjectProtocol
  • The AWFPolygon protocol defines the required properties and methods for polygon overlay objects for a specific mapping SDK.

    See more

    Declaration

    Objective-C

    @protocol AWFPolygon <AWFDataRepresentable>

    Swift

    protocol AWFPolygon : AWFDataRepresentable
  • The AWFPolyline protocol defines the required properties and methods for polyline overlay objects for a specific mapping SDK.

    See more

    Declaration

    Objective-C

    @protocol AWFPolyline <AWFDataRepresentable>

    Swift

    protocol AWFPolyline : AWFDataRepresentable
  • The AWFStylable protocol defines the properties and methods that represents a stylable object, typically one that is rendered on the map.

    See more

    Declaration

    Objective-C

    @protocol AWFStylable <NSObject>

    Swift

    protocol AWFStylable : NSObjectProtocol
  • The AWFStyledMapItem protocol defines the required and optional methods for a map overlay item that can be styled. This is typically used for map overlays like annotation, polygons and polylines.

    See more

    Declaration

    Objective-C

    @protocol AWFStyledMapItem <AWFStylable>

    Swift

    protocol AWFStyledMapItem : AWFStylable
  • The AWFTileDataSource protocol is adopted by an object that provides information a tile overlay needs to request and load tiles.

    See more

    Declaration

    Objective-C

    @protocol AWFTileDataSource <NSObject>

    Swift

    protocol AWFTileDataSource : NSObjectProtocol
  • The AWFTimeDependent protocol defines the properties and methods used by objects whose data is specific to a particular time and/or date.

    See more

    Declaration

    Objective-C

    @protocol AWFTimeDependent <NSObject>

    Swift

    protocol AWFTimeDependent : NSObjectProtocol
  • The AWFTimelineViewDelegate protocol defines a set of optional methods that you can use to receive messages related to updates or changes to a timeline.

    See more

    Declaration

    Objective-C

    @protocol AWFTimelineViewDelegate <NSObject>

    Swift

    protocol AWFTimelineViewDelegate : NSObjectProtocol
  • The AWFWeatherMapContainerViewDelegate protocol defines a set of optional methods that you can use to receive messages about the completion of gesture recognizers within the view.

    See more

    Declaration

    Objective-C

    @protocol AWFWeatherMapContainerViewDelegate <NSObject>

    Swift

    protocol AWFWeatherMapContainerViewDelegate : NSObjectProtocol
  • The AWFWeatherMapDataSource protocol is adopted by an object that provides a weather map with the information it needs for representing data on the map.

    See more

    Declaration

    Objective-C

    @protocol AWFWeatherMapDataSource <NSObject>

    Swift

    protocol AWFWeatherMapDataSource : NSObjectProtocol
  • The AWFWeatherMapDelegate protocol defines a set of optional methods that you can use to receive messages related to updates or changes to the weather map.

    This protocol does not receive the standard map view delegate messages that are provided with the specific mapping SDK the associated weather map uses (e.g., MKMapViewDelegate for Apple’s MapKit).

    See more

    Declaration

    Objective-C

    @protocol AWFWeatherMapDelegate <NSObject>

    Swift

    protocol AWFWeatherMapDelegate : NSObjectProtocol