JoelGerboreLaser / TSClusterMapView

MKMapView with animated clustering for iOS and OSX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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, adam@tapshield.com

License

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

About

MKMapView with animated clustering for iOS and OSX

License:MIT License


Languages

Language:Objective-C 98.8%Language:Ruby 1.2%