-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNewMapViewController.h
More file actions
52 lines (38 loc) · 1.3 KB
/
NewMapViewController.h
File metadata and controls
52 lines (38 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// NewMapViewController.h
// CapitolBuddy
//
// Created by Paul Rolfe on 5/6/14.
// Copyright (c) 2014 Paul Rolfe. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "DataLoader.h"
#import "DetailViewManager.h"
#import "MFSideMenu.h"
@interface NewMapViewController : UIViewController<MKMapViewDelegate,CLLocationManagerDelegate,SubstitutableDetailViewController>{
BOOL showHouse;
NSArray * currentOverlays;
NSMutableArray * overlayData;
NSString * filePath;
NSMutableDictionary * disDic;
CLLocationManager * manager;
UIActivityIndicatorView * spinner;
}
@property (weak, nonatomic) IBOutlet MKMapView *mapView;
@property (nonatomic, strong) UIBarButtonItem *navigationPaneBarButtonItem;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *switchLabel;
- (IBAction)switchMaps:(id)sender;
- (IBAction)showLeftMenuPressed:(id)sender;
@end
@interface MyCustomAnnotation : MKPlacemark {
CLLocationCoordinate2D coordinate_;
NSString *title_;
NSString *subtitle_;
}
// Re-declare MKAnnotation's readonly property 'coordinate' to readwrite.
@property (nonatomic, readwrite, assign) CLLocationCoordinate2D coordinate;
@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) NSString *subtitle;
@property MKMapItem * mapItem;
@end