title: How to calculate the estimated time of arrival between two points - Swift/Google Maps
body: <p>I was wondering if there was a way to calculate the estimated time of arrival between two points the user chooses using Google Maps. I have read through on Stack Overflow, however most of the ones that I have seen talking about estimated time of arrival, refer to the Google Maps documentation which I find rather confusing. I would appreciate it if someone could give me an explanation along with their code so I can see how to replicate the same thing myself. </p>
  
  <p>Below shows an example of what I want.(I want the time of arrival which in this case is 1 hour and 17 minutes)</p>
  
  <p><a href="https://i.stack.imgur.com/Y3UTf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y3UTf.jpg" alt="Example"></a></p>