非自定义,简单的一个大头针
//地图中心位置,大头针位子
CLLocationCoordinate2D corrdinate=CLLocationCoordinate2DMake(23.357352,116.698285);
MKCoordinateSpan span=MKCoordinateSpanMake(0.1,0.1);
MKCoordinateRegion regin=MKCoordinateRegionMake(corrdinate,span);
_Enterprise_map.region=regin;
MKPointAnnotation *annotation=[[MKPointAnnotationalloc]init];
annotation.coordinate=corrdinate;
annotation.title=@"title";
annotation.subtitle=@"subtitle";
[_Enterprise_map addAnnotation:annotation];
[annotation release];
制定一大头针……待续