Search code examples
google-mapsgoogle-maps-sdk-ios

Google Maps Traffic Flow


I am developing a iOS application and I intend to use Google Maps API and I have couple of questions:

Can we display Google Maps Traffic Flow-Red, Yellow and Green lines- Information on our application?

Is Traffic Flow is live one?

Can we get Historical Traffic Flow? Like I want to show what is the usual traffic flow at a given period of time, i-e at 9 AM it's usually red traffic flow at a certain location based on history?

Thanks,

Attiqe


Solution

  • Yes you can GMSMapView Class have a property named trafficEnabled, This property Controls whether the map is drawing traffic data, if available. Defaults to NO.

    More - Link

    Yes it is live one, with a latency.

    No Google doesn't expose historical data.