SYAnnotationView Class Reference

Implements a native view connected to a specific map location using SYAnnotation. More...

#import <SYMapAnnotations.h>

Inheritance diagram for SYAnnotationView:
Collaboration diagram for SYAnnotationView:

Instance Methods

(nonnull instancetype) - initWithAnnotation:reuseIdentifier:
 
(void) - prepareForReuse
 Called when SYAnnotationView is being reused. Classes that override must call super. More...
 

Properties

NSString * reuseIdentifier
 
SYAnnotationannotation
 
CGPoint anchorPoint
 Defines the anchor point of the layer's bounds rectangle. By default, SYAnnotationView [0,0] point is placed over the coordinate of the annotation. Valid values from <0..1> interval should be used. More...
 

Detailed Description

Implements a native view connected to a specific map location using SYAnnotation.

Method Documentation

◆ initWithAnnotation:reuseIdentifier:

- (nonnull instancetype) initWithAnnotation: (nullable SYAnnotation *)  annotation
reuseIdentifier: (nullable NSString *)  reuseIdentifier 

◆ prepareForReuse

- (void) prepareForReuse

Called when SYAnnotationView is being reused. Classes that override must call super.

Property Documentation

◆ reuseIdentifier

- (NSString*) reuseIdentifier
readnonatomicassign

◆ annotation

- (SYAnnotation*) annotation
readwritenonatomicstrong

◆ anchorPoint

- (CGPoint) anchorPoint
readwritenonatomicassign

Defines the anchor point of the layer's bounds rectangle. By default, SYAnnotationView [0,0] point is placed over the coordinate of the annotation. Valid values from <0..1> interval should be used.


The documentation for this class was generated from the following file: