Reputation: 636
I've noticed that the maps app integrated in iOS can show the traffic, but is there a way to do that using MKMapView? or that functionality only appears in that app?.
Any help please?
Upvotes: 2
Views: 1485
Reputation: 16467
The data Apple uses appears to be sourced from TomTom and others. If you can find an API that provides traffic data, you can use a MKPolyline
to render the data.
Upvotes: 1
Reputation: 73658
As far as I know you can't show the traffic information using the MK
framework.
To achieve the results you want I would offer to use the third party resources, Google Maps API for example, and use UIWebView
to present a customized map. Google Maps JavaScript API v3 TrafficLayer
Upvotes: 0