AWFWeatherMapViewController

@interface AWFWeatherMapViewController
    : UIViewController <AWFWeatherMapDataSource>

An AWFWeatherMapViewController provides a easy way to display a fully-functional weather map that automatically sets up the necessary map view and control views associated with a weather map.

  • The base map type to use for the weather map.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWFWeatherMapType weatherMapType;

    Swift

    var weatherMapType: AWFWeatherMapType { get set }
  • The configuration for the weather map.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) AWFWeatherMapConfig *config;

    Swift

    var config: AWFWeatherMapConfig? { get set }
  • The weather map that is displayed.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) AWFWeatherMap *_Nonnull weatherMap;

    Swift

    var weatherMap: AWFWeatherMap { get }
  • The timeline view for the weather map. This view displays a timeline control allowing the user to scrub between the start and end times.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) AWFTimelineView *_Nonnull timelineView;

    Swift

    var timelineView: AWFTimelineView { get }
  • The basic control view for the weather map. This view displays a basic play/stop button and current date and time of the timeline.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        AWFBasicControlView *_Nonnull controlView;

    Swift

    var controlView: AWFBasicControlView { get }
  • The legend view for the weather map, which is dynamic based on the data layers currently visible on the map.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) AWFLegendView *_Nonnull legendView;

    Swift

    var legendView: AWFLegendView { get }
  • Whether or not the weather map should auto-refresh its active data layers at regular intervals. The default is YES.

    Declaration

    Objective-C

    @property (getter=isAutorefreshEnabled, assign, readwrite, nonatomic)
        BOOL autorefreshEnabled;

    Swift

    var isAutorefreshEnabled: Bool { get set }