MRPlacemarkAnnotationView Class Reference

Inherits from MRAnnotationView : UIView
Declared in MRPlacemarkAnnotationView.h

Overview

A subclass of MRAnnotationView specialized for representing MRPlacemark instances.

The properties of MRPlacemarkAnnotationView override values set automatically by the MRPlacemark annotation assigned to this view. Getting them retrieves the default values. Setting them stores the overriden value separately.

  icon

Overrides icon fetched based on MRPlacemark.type. will be tinted according to iconColor

@property (nullable, nonatomic, strong) UIImage *icon

Declared In

MRPlacemarkAnnotationView.h

  text

Overrides MRPlacemark.name.

@property (null_resettable, nonatomic, copy) NSString *text

Declared In

MRPlacemarkAnnotationView.h

  font

Overrides default font of Helvetica Neue.

@property (null_resettable, nonatomic, strong) UIFont *font

Declared In

MRPlacemarkAnnotationView.h

  textColor

Overrides the default text color derived from MRPlacemark.type.

@property (null_resettable, nonatomic, strong) UIColor *textColor

Declared In

MRPlacemarkAnnotationView.h

  iconColor

Overrides the default icon color derived from MRPlacemark.type.

@property (null_resettable, nonatomic, strong) UIColor *iconColor

Declared In

MRPlacemarkAnnotationView.h

  iconBackgroundColor

Overrides default, which is to match titleColor.

@property (null_resettable, nonatomic, strong) UIColor *iconBackgroundColor

Declared In

MRPlacemarkAnnotationView.h

  shadowColor

Overrides the default shadow color.

@property (null_resettable, nonatomic, strong) UIColor *shadowColor

Declared In

MRPlacemarkAnnotationView.h