Skip to content

Commit 0b386f4

Browse files
author
Edouard Siegel
committed
Merge branch 'release/1.2.0'
Change-Id: I426a342fde38e7a2b45e6641062b2cf87fb3e4d1
2 parents fac0af1 + 5796b53 commit 0b386f4

File tree

4 files changed

+216
-235
lines changed

4 files changed

+216
-235
lines changed

ADClusterMapView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'ADClusterMapView'
3-
spec.version = '1.1.1'
3+
spec.version = '1.2.0'
44
spec.authors = 'Applidium'
55
spec.license = { :type => 'BSD' }
66
spec.homepage = 'http://applidium.github.io/ADClusterMapView/'

ADClusterMapView/ADClusterMapView.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@
2424
@end
2525

2626
@interface ADClusterMapView : MKMapView <MKMapViewDelegate>
27+
@property (nonatomic, readonly) NSArray * displayedAnnotations;
28+
@property (nonatomic, readonly) NSArray * displayedClusterAnnotations;
29+
- (void)addAnnotation:(id<MKAnnotation>)annotation NS_UNAVAILABLE;
30+
- (void)addAnnotations:(NSArray<id<MKAnnotation>> *)annotations NS_UNAVAILABLE;
2731
- (ADClusterAnnotation *)clusterAnnotationForOriginalAnnotation:(id<MKAnnotation>)annotation; // returns the ADClusterAnnotation instance containing the annotation originally added.
2832
- (void)selectClusterAnnotation:(ADClusterAnnotation *)annotation animated:(BOOL)animated;
2933
- (void)setAnnotations:(NSArray *)annotations; // entry point for the annotations that you want to cluster
30-
- (void)addNonClusteredAnnotations:(NSArray *)annotations;
3134
- (void)addNonClusteredAnnotation:(id<MKAnnotation>)annotation;
32-
- (void)removeNonClusteredAnnotations:(NSArray *)annotations;
35+
- (void)addNonClusteredAnnotations:(NSArray *)annotations;
3336
- (void)removeNonClusteredAnnotation:(id<MKAnnotation>)annotation;
34-
@property (weak, nonatomic, readonly) NSArray * displayedAnnotations;
35-
@end
37+
- (void)removeNonClusteredAnnotations:(NSArray *)annotations;
38+
@end

0 commit comments

Comments
 (0)