AWFAnnotationView
Objective-C
@protocol AWFAnnotationView <NSObject>
Swift
protocol AWFAnnotationView : 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.
-
The annotation object currently associated with the view.
Declaration
Objective-C
@property (nonatomic, strong) id<AWFAnnotation> _Nonnull annotation;
-
Performs the presentation animation if one has been configured with for the associated annotation
style
.If the annotation belongs to a timeline animation, this animation will be only be performed once instead of repeating.
Declaration
Objective-C
- (void)startAnimating;
Swift
func startAnimating()
-
Removes all animations from the annotation.
Declaration
Objective-C
- (void)stopAnimating;
Swift
func stopAnimating()
-
Performs the dismissal animation if one has been configured with for the associated annotation
style
.Declaration
Objective-C
- (void)animateOut;
Swift
func animateOut()