码迷,mamicode.com
首页 > 其他好文 > 详细

MKMapViewDelegate

时间:2014-09-18 16:23:04      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:des   blog   io   os   ar   for   div   art   sp   

Responding to Map Position Changes

- (void)mapView:(MKMapView *)mapView regionWillChangeAnimated:(BOOL)animated
- (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated

 

Loading the Map Data

- (void)mapViewWillStartLoadingMap:(MKMapView *)mapView
- (void)mapViewDidFinishLoadingMap:(MKMapView *)mapView
- (void)mapViewDidFailLoadingMap:(MKMapView *)mapView withError:(NSError *)error
- (void)mapViewWillStartRenderingMap:(MKMapView *)mapView
- (void)mapViewDidFinishRenderingMap:(MKMapView *)mapView fullyRendered:(BOOL)fullyRendered

 

Tracking the User Location

- (void)mapViewWillStartLocatingUser:(MKMapView *)mapView
- (void)mapViewDidStopLocatingUser:(MKMapView *)mapView
- (void)mapView:(MKMapView *)mapView didUpdateUserLocation:(MKUserLocation *)userLocation
- (void)mapView:(MKMapView *)mapView didFailToLocateUserWithError:(NSError *)error
- (void)mapView:(MKMapView *)mapView didChangeUserTrackingMode:(MKUserTrackingMode)mode animated:(BOOL)animated

 

Managing Annotation Views

- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id<MKAnnotation>)annotation
- (void)mapView:(MKMapView *)mapView didAddAnnotationViews:(NSArray *)views
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control

 

Dragging an Annotation View

- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)annotationView
didChangeDragState:(MKAnnotationViewDragState)newState fromOldState:(MKAnnotationViewDragState)oldState

 

Selecting Annotation Views

- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view
- (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view

 

Managing the Display of Overlays

- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id<MKOverlay>)overlay
- (void)mapView:(MKMapView *)mapView didAddOverlayRenderers:(NSArray *)renderers
- (MKOverlayView *)mapView:(MKMapView *)mapView viewForOverlay:(id<MKOverlay>)overlay
- (void)mapView:(MKMapView *)mapView didAddOverlayViews:(NSArray *)overlayViews

 

MKMapViewDelegate

标签:des   blog   io   os   ar   for   div   art   sp   

原文地址:http://www.cnblogs.com/zhongriqianqian/p/3979352.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!