Skip to content

bloom/TSClusterMapView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSClusterMapView - MKMapView with clustering

Animated annotation clustering MKMapView subclass based off of ADClusterMapView.

CI Status Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

TSClusterMapView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TSClusterMapView"

Quick start

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;

Author

Adam Share, [email protected]

License

TSClusterMapView is available under the MIT license. See the LICENSE file for more info.

About

MKMapView with clustering

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.8%
  • Ruby 1.2%