Google Maps announced this back in October:
> Drive , walk and ride : support for mixed-mode commutes
> There’s a new feature for people whose commutes involve both driving and public transit. You can see helpful information about when to leave, and for each leg of your trip: you’ll know if there’s traffic on your drive, when the next train departs, and how long it’ll take to walk from the train station to the office. We do the work for you and automatically factor this into your ETA so you can anticipate exactly when you’ll get to work.
https://www.blog.google/products/maps/take-control-your-comm...