diff options
Diffstat (limited to 'platform/ios/uitest/MGLTViewController.m')
-rw-r--r-- | platform/ios/uitest/MGLTViewController.m | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/platform/ios/uitest/MGLTViewController.m b/platform/ios/uitest/MGLTViewController.m deleted file mode 100644 index 451dea9292..0000000000 --- a/platform/ios/uitest/MGLTViewController.m +++ /dev/null @@ -1,34 +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)tinyMapView -{ - _mapView.frame = CGRectMake(20, self.topLayoutGuide.length, self.view.frame.size.width / 2, self.view.frame.size.height / 2); -} - -- (void)resetMapView -{ - _mapView.frame = self.view.bounds; -} - -@end |