forked from jokeruzzo/ofxMapBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapController.h
executable file
·58 lines (38 loc) · 1.26 KB
/
mapController.h
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
53
54
55
56
57
// *
// \
// \
// \
// \
// \
// *
// made by Martijn Mellema
// Interaction Designer from Arnhem, The Netherlands
// www.martijnmellema.nl
#pragma once
#import <UIKit/UIKit.h>
#import "MapBox.h"
#include "ofxiPhone.h"
#include "ofxiPhoneExtras.h"
@interface mapController : UIViewController <UIScrollViewDelegate, UIGestureRecognizerDelegate, RMMapScrollViewDelegate, RMMapViewDelegate, UIScrollViewDelegate,UITableViewDelegate, UITableViewDataSource> {
RMMapView * mapView;
UIGestureRecognizer *gestureRecognizer;
}
- (id)initWithFrame:(CGRect)frame andOnlineTilesource:onlineSource;
-(void)loadSource: (RMMBTilesSource *) source;
- (id)initWithFrame:(CGRect)frame andTilesource:source;
-(RMMapView*) getMapView;
-(bool)allowZoom;
-(bool)setZoom:(bool) value;
-(void) searchName : (NSString*) name;
-(void)viewDidLoad;
-(float)getZoom;
-(void)setZoomValue:(float) value;
-(bool)isMoving;
@property (nonatomic, strong) RMTileCache *tileCache;
@property (nonatomic, strong) RMMapView * mapView;
@property (nonatomic, strong) UITapGestureRecognizer *tapGestureRecognizer;
@property (nonatomic) bool setZoom;
@property (nonatomic) float valueZoom;
@property (nonatomic) bool tapping;
@property (nonatomic) CGPoint viewOffset;
@end