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
|



浙公网安备 33010602011771号