In iOS, that’s a function of the Calendar app, not Maps. Create a new event, set the location & start time, then “Time to Leave” should be the first option in the Alert dropdown.
I don't care about iphones much but I hate that if this comes true Samsung will probably copy it excessively and that'll end the dream of a comfortable to hold (not too thin, not too sharp) Samsung phone