AWFMKTextLabelAnnotationView
Objective-C
@interface AWFMKTextLabelAnnotationView : AWFMKAnnotationView
Swift
class AWFMKTextLabelAnnotationView : AWFMKAnnotationView
An AWFMKTextLabelAnnotationView
object is an AWFMKAnnotationView
subclass to represent text-related annotations on a weather map
that is configured to use the AWFWeatherMapTypeApple
type.
-
The text to display.
Declaration
Objective-C
@property (nonatomic, nullable) NSString *labelValue;
Swift
var labelValue: String? { get set }
-
Determines the padding to apply around the text label relative to the view’s bounds.
Declaration
Objective-C
@property (nonatomic) UIEdgeInsets contentEdgeInsets;
Swift
var contentEdgeInsets: UIEdgeInsets { get set }
-
Updates the text label with the specified
style
. *Declaration
Objective-C
- (void)applyStyle:(nonnull AWFTextAnnotationStyle *)style;
Swift
func applyStyle(_ style: AWFTextAnnotationStyle)
Parameters
style
The
AWFTextAnnotationStyle
to use for the text