MMRestaurantMapDelegate Class Reference
| Inherits from | NSObject |
| Conforms to | CCHMapClusterControllerDelegate MKMapViewDelegate UIPopoverControllerDelegate |
| Declared in | MMRestaurantMapDelegate.h MMRestaurantMapDelegate.m |
Overview
Implements the MMMapViewDelegate protocol provided by
Apple. We implement the delegate in order to provide
custom pins for the restaurants.
Tasks
Other Methods
-
mapPopOverViewControllerproperty -
popOverControllerproperty -
containerViewproperty -
parentSplitViewControllerproperty -
mapViewproperty
Other Methods
Properties
containerView
Outlet to the popover view to detect touches.
@property (nonatomic, strong) UIView *containerViewDeclared In
MMRestaurantMapDelegate.hmapPopOverViewController
Reference to the popover controller
@property (nonatomic, strong) MMMapPopOverViewController *mapPopOverViewControllerDeclared In
MMRestaurantMapDelegate.hmapView
The map view that corresponds to the map view
@property (nonatomic, weak) MKMapView *mapViewDeclared In
MMRestaurantMapDelegate.hInstance Methods
createPopOverView:
Fills the popover view with the information needed.
- (void)createPopOverView:(MMMerchant *)merchantDeclared In
MMRestaurantMapDelegate.mmapClusterController:subtitleForMapClusterAnnotation:
Returns the subtitle for a cluster annotation.
- (NSString *)mapClusterController:(CCHMapClusterController *)mapClusterController subtitleForMapClusterAnnotation:(CCHMapClusterAnnotation *)mapClusterAnnotationParameters
- mapClusterController
The cluster controller sending the message.
- mapClusterAnnotation
The cluster annotation.
Declared In
CCHMapClusterControllerDelegate.hmapClusterController:titleForMapClusterAnnotation:
Returns the title for a cluster annotation.
- (NSString *)mapClusterController:(CCHMapClusterController *)mapClusterController titleForMapClusterAnnotation:(CCHMapClusterAnnotation *)mapClusterAnnotationParameters
- mapClusterController
The cluster controller sending the message.
- mapClusterAnnotation
The cluster annotation.
Declared In
CCHMapClusterControllerDelegate.hmapClusterController:willReuseMapClusterAnnotation:
Called before the given cluster annotation is reused for a cell.
- (void)mapClusterController:(CCHMapClusterController *)mapClusterController willReuseMapClusterAnnotation:(CCHMapClusterAnnotation *)mapClusterAnnotationParameters
- mapClusterController
The cluster controller sending the message.
- mapClusterAnnotation
The cluster annotation that’s reused. Its properties are updated to reflect the current state.
Declared In
CCHMapClusterControllerDelegate.h