MKMapView 添加图片

以下为两张图片。如下:


适当的代码段添加如下annotation. MapAnnotation是实现了MKAnnotation的NSObject类。
CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake(latitude, longitude);
MapAnnotation *annotation = [[MapAnnotationalloc] initWithcoordiante:coordinate];
[map_view addAnnotations: annotation];
[annotation release];





图片:3292_120201133909_122.jpg
图片:3292_120201133945_1.jpg
图片:3292_120201134053_1.png
 
posted @ 2015-12-28 14:41  Bo-tree  阅读(68)  评论(0)    收藏  举报