Please provide a MKTrafficPolyline

Originator:futuretap
Number:rdar://37666494 Date Originated:19-Feb.-2018 12:59 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.3
Classification:Feature (New) Reproducible:Always
 
Summary:
It would be useful to display an MKPolyline for driving directions which is colored according to the traffic at that line. Otherwise, the polyline covers the traffic information.

Steps to Reproduce:
I'd like to display a driving directions route polyline which is colored according to the traffic.

Expected Results:
I should be able to display a driving route line exactly as in Maps.app.

Actual Results:
There's no way to access the underlying traffic information of the map (if `showsTraffic` is enabled) in order to use them for a polyline.

Version:
11.3

Notes:
It would be desirable that the polyline renderer can still configure a base color for the line which is used in case there's no or green traffic. Only for orange or red traffic, the traffic color should override.

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!