2014-05-19 102 views
0

从CLLocation Manager中调用'startUpdatingLocation'后,地图自动缩放到当前位置并为该位置设置动画。地图缩放到当前位置

但是,我不希望地图缩放但保持原始大小。我怎样才能阻止呢?请帮忙。

回答

1

例如:

mapView.userTrackingMode = MKUserTrackingModeNone; 

而且还

不要设置区域[mapView setRegion:region animated:NO];在
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)aUserLocation

相关问题