AWFAnimatableOverlay
@protocol AWFAnimatableOverlay <MKOverlay, AWFAnimationDataSource>
The AWFAnimatableOverlay
protocol defines an overlay object that can be animated and provides a required
animation
property to store the animation object.
-
The animation object associated with the overlay.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) AWFAnimation *_Nonnull animation;
Swift
var animation: AWFAnimation { get set }
-
The maximum number of intervals to show during an animation. This value is typically only used for image and tile data animations.
Declaration
Objective-C
@optional @property (assign, readwrite, nonatomic) NSInteger maximumIntervalsForAnimation;
Swift
optional var maximumIntervalsForAnimation: Int { get set }