MKMapView -setVisibleMapRect:edgePadding:animated: ignores edgePadding

Originator:philip.willoughby
Number:rdar://10447549 Date Originated:15-Nov-2011 02:11 PM
Status:Open Resolved:
Product:iPad Product Version:5.0.1
Classification:UI/Usability Reproducible:Always
 
15-Nov-2011 02:11 PM Philip Willoughby:
Summary:
edgePadding is ignored by -setVisibleMapRect:edgePadding:animated: in iOS 5.0.1 and the specified rect is displayed in the centre of the view

Steps to Reproduce:
Call it with a non-zero padding structure.

Expected Results:
Specified rectangle is entirely within and in the centre of the area of the map view which is left once the edge insets have been excluded

Actual Results:
Specified rectangle is in the centre of the map view.

Regression:
Yes, worked on iOS 4.3.5.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!