? ? NSIntegercountIndex = array.count;
? ? CLLocationCoordinate2Dcoor[countIndex];
? ? for(NSIntegeri =0;i
? ? ? ? NSDictionary*dict = array[i];
? ? ? ? coor[i].latitude= [dict[@"latitude"]floatValue];
? ? ? ? coor[i].longitude= [dict[@"longitude"]floatValue];
? ? ? ? mapView.centerCoordinate= coor[i];
? ? }
? ? BMKPolyline*polyline = [BMKPolylinepolylineWithCoordinates:coorcount:countIndex];
? ? [mapViewaddOverlay:polyline];
//? ? free(coor);