forked from infinum/FBAnnotationClustering
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFBAnnotationCluster.h
More file actions
30 lines (22 loc) · 812 Bytes
/
FBAnnotationCluster.h
File metadata and controls
30 lines (22 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// FBAnnotationCluster.h
// AnnotationClustering
//
// Created by Filip Bec on 06/01/14.
// Copyright (c) 2014 Infinum Ltd. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
/**
Class that is used to display annotation clusters.
*/
@interface FBAnnotationCluster : NSObject <MKAnnotation>
/// Coordinate of the annotation. It will always be set.
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
/// Title of the annotation. Default is @c nil, but can be set.
@property (nonatomic, copy) NSString *title;
/// Subtitle of the annotation. Default is @c nil, but can be set.
@property (nonatomic, copy) NSString *subtitle;
/// Array of the annotations that are representer with this cluster.
@property (nonatomic, strong) NSArray *annotations;
@end