diff options
Diffstat (limited to 'test/ios/MGLTViewController.m')
-rw-r--r-- | test/ios/MGLTViewController.m | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/ios/MGLTViewController.m b/test/ios/MGLTViewController.m deleted file mode 100644 index 09c60bf614..0000000000 --- a/test/ios/MGLTViewController.m +++ /dev/null @@ -1,29 +0,0 @@ -#import "MGLTViewController.h" -#import <Mapbox/Mapbox.h> - -@implementation MGLTViewController -{ - MGLMapView *_mapView; -} - -- (void)viewDidLoad -{ - [super viewDidLoad]; - - _mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds]; - _mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; - - [self.view addSubview:_mapView]; -} - -- (void)insetMapView -{ - _mapView.frame = CGRectInset(_mapView.frame, 50, 50); -} - -- (void)resetMapView -{ - _mapView.frame = self.view.bounds; -} - -@end |