MKPolygon does not render on MKMapView
| Originator: | martin.j.nash | ||
| Number: | rdar://17928050 | Date Originated: | August 5, 2012 |
| Status: | Fixed | Resolved: | Yosemite DP 6 |
| Product: | Yosemite DP 5 | Product Version: | DP 5 |
| Classification: | Bug | Reproducible: | Always |
Summary: MKPolygon is not drawn on MKMapView in Yosemite Developer Preview 5. It was working on DP 4. However, the map is able to correctly zoom into the same polygon's boundingMapRect with `setVisibleMapRect` Steps to Reproduce: 1. In an NSViewController create an MKMapView. 2. Make the view controller the delegate of the map view. 3. Create an MKPolygon and call addOverlay on the map view 4. Return a valid MKPolygonRenderer from the delegate method mapView:rendererForOverlay: As a bonus zoom the map up to the polygon's boundingMapRect with setVisibleMapRect:animated:. Note that this works, while the polygon is not rendered. Expected Results: A polygon should be drawn on the map. Actual Results: A polygon is not drawn on the map. Version: Yosemite DP 5 Xcode 6 Beta 5 Notes: N/A Configuration: Did not occur on Yosemite DP 4.
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!