PWBuildingAnnotationView Class Reference

Inherits from MKAnnotationView
Declared in PWBuildingAnnotationView.h

Overview

The PWBuildingAnnotationView class is responsible for presenting visual building annotations in a map view. Annotation views are loosely coupled with a corresponding building annotation object that conforms to the PWMapPoint protocol. When an annotation’s coordinate is in the visible region, the map view asks its delegate to provide a corresponding annotation view. Annotation views may be recycled later and put into a reuse queue maintained by the map view.

  containerView

The annotation containerView associated with the view. The annotation containerView contains both the label and imageView.

@property (nonatomic, weak) UIView *containerView

Discussion

The annotation containerView is automatically displayed or hidden based on whether or not it occludes other annotation view images or labels.

Declared In

PWBuildingAnnotationView.h

  label

The annotation label associated with the view. The annotation label stroke color and stroke width can be customized.

@property (nonatomic, weak) PWAnnotationLabel *label

Discussion

The annotation label is automatically displayed or hidden based on whether or not it occludes other annotation view images or labels.

Declared In

PWBuildingAnnotationView.h

  imageView

The annotation imageView associated with the view.

@property (nonatomic, weak) UIImageView *imageView

Discussion

The annotation imageView is automatically displayed or hidden based on whether or not it occludes other annotation view images or labels.

Declared In

PWBuildingAnnotationView.h