Animated annotation clustering MKMapView subclass based off of ADClusterMapView.
To run the example project, clone the repo, and run pod install
from the Example directory first.
TSClusterMapView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TSClusterMapView"
Subclass TSClusterMapView with your new or existing MKMapView
#import "TSClusterMapView.h"
@interface YourMapView : TSClusterMapView <MKMapViewDelegate, TSClusterMapViewDelegate>
Add annotations to be clustered using the add clustered annotation methods and single annotations using the standard add annotation.
- (void)addClusteredAnnotation:(id<MKAnnotation>)annotation;
- (void)addClusteredAnnotations:(NSArray *)annotations;
Adam Share, [email protected]
TSClusterMapView is available under the MIT license. See the LICENSE file for more info.