对于3D矢量舆图,在 viewDidLoad 方法中添加代码:
#import <MAMapKit/MAMapKit.h>-(void) viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.///初始化舆图MAMapView *_mapView = [[MAMapView alloc] initWithFrame:self.view.bounds];///把舆图添加至view [self.view addSubview:_mapView];}4.实现连续定位