first

 1 //处理位置坐标更新
 2 - (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation
 3 {
 4     NSLog(@"didUpdateUserLocation lat %f,long %f",userLocation.location.coordinate.latitude,userLocation.location.coordinate.longitude);
 5     [_locService stopUserLocationService];
 6     
 7     _mapView.showsUserLocation = YES;//显示定位图层
 8 //    [_mapView updateLocationData:userLocation];
 9     _mapView.centerCoordinate = userLocation.location.coordinate;
10     
11     _location = userLocation.location.coordinate;
12     
13     [self search:userLocation];
14 }

 

posted @ 2015-10-09 12:37  kingmon  阅读(86)  评论(0)    收藏  举报