TTCalloutView
@protocol TTCalloutView <NSObject>
TTCalloutView base protocol fro view displays additional information.
-
The annotation object currently associated with the view. Property is not null only when callout is attached to anotation. @deprecated This property is deprecated, use coordinate instead.
Declaration
Objective-C
@optional @property (readwrite, strong, nonatomic) TTAnnotation *_Nullable annotation;
Swift
optional var annotation: TTAnnotation? { get set }
-
When callout is attached to map either to annotation or any other displayable object provides coordinates anchor point. If callout is not attached to map is kCLLocationCoordinate2DInvalid
Declaration
Objective-C
@optional @property (assign, readwrite, nonatomic) CLLocationCoordinate2D coordinate;
Swift
optional var coordinate: CLLocationCoordinate2D { get set }