高德地图加载

1.申请app id, 并在工程中执行

[AMapServicessharedServices].apiKey=@"8ae43d7811585e49739f79f7e661e787";

2.引入相关库

3.设置App Transport

4.要导入的系统库


高德地图加载_第1张图片

5.[self.viewaddSubview:self.aMapView];

-(MAMapView*)aMapView

{

if(!_aMapView) {

_aMapView= [[MAMapViewalloc]initWithFrame:self.view.bounds];

_aMapView.delegate=self;

}

return_aMapView;

}

你可能感兴趣的:(高德地图加载)