2011-03-15 49 views

回答

2
MKPolyline *line = ....; 

for(i = 0; i < line.pointCount; i++) { 
    CLLocationCoordinate2D coord = MKCoordinateForMapPoint(line.points[i]); 
    // use coord.latitude && coord.longitude 
} 
+0

感謝您的幫助! – Katherine 2011-03-15 16:11:39