1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #import <Foundation/Foundation.h>
- #import <MapKit/MapKit.h>
- @class CCHMapClusterAnnotation;
- @class CCHMapClusterController;
- MKMapRect CCHMapClusterControllerAlignMapRectToCellSize(MKMapRect mapRect, double cellSize);
- CCHMapClusterAnnotation *CCHMapClusterControllerFindVisibleAnnotation(NSSet *annotations, NSSet *visibleAnnotations);
- #if TARGET_OS_IPHONE
- double CCHMapClusterControllerMapLengthForLength(MKMapView *mapView, UIView *view, double length);
- #else
- double CCHMapClusterControllerMapLengthForLength(MKMapView *mapView, NSView *view, double length);
- #endif
- double CCHMapClusterControllerAlignMapLengthToWorldWidth(double mapLength);
- BOOL CCHMapClusterControllerCoordinateEqualToCoordinate(CLLocationCoordinate2D coordinate0, CLLocationCoordinate2D coordinate1);
- CCHMapClusterAnnotation *CCHMapClusterControllerClusterAnnotationForAnnotation(MKMapView *mapView, id<MKAnnotation> annotation, MKMapRect mapRect);
- void CCHMapClusterControllerEnumerateCells(MKMapRect mapRect, double cellSize, void (^block)(MKMapRect cellMapRect));
- MKMapRect CCHMapClusterControllerMapRectForCoordinateRegion(MKCoordinateRegion coordinateRegion);
- NSSet *CCHMapClusterControllerClusterAnnotationsForAnnotations(NSArray *annotations, CCHMapClusterController *mapClusterController);
- double CCHMapClusterControllerZoomLevelForRegion(CLLocationDegrees longitudeCenter, CLLocationDegrees longitudeDelta, CGFloat width);
- NSArray *CCHMapClusterControllerAnnotationSetsByUniqueLocations(NSSet *annotations, NSUInteger maxUniqueLocations);
- BOOL CCHMapClusterControllerIsUniqueLocation(NSSet *annotations);
|