Files
MapLibreParticleLab/test/ios/MGLTViewController.m
2015-04-23 17:54:08 -07:00

19 lines
538 B
Objective-C

#import "MGLTViewController.h"
#import "MapboxGL.h"
@implementation MGLTViewController
- (void)viewDidLoad
{
[super viewDidLoad];
MGLMapView *mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds
accessToken:@"pk.eyJ1IjoianVzdGluIiwiYSI6Ik9RX3RRQzAifQ.dmOg_BAp1ywuDZMM7YsXRg"];
mapView.viewControllerForLayoutGuides = self;
mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self.view addSubview:mapView];
}
@end