I am a beginner programmer and this is my first app and am still learning, I overlayed a polygon onto a map view and it works but i set its fill color to an image because I'm trying to match an image to a satellite picture, i want to rotate it so that i can fit it on, is it possible to rotate the image, if not is there an easier way to overlay an image onto a map view
here is my code
-(MKOverlayView*)mapView:(MKMapView *)mapView viewForOverlay:(id )overlay {
MKPolygonView *polyView = [[MKPolygonView alloc] initWithOverlay:overlay];
polyView.strokeColor = [UIColor whiteColor];
polyView.fillColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"Campus-map labels.jpg"]];
return polyView;
}