title: How to check user is in rout between source and destination in map
body: <p>I am trying to check user is in given source and destination rout
  <a href="https://i.stack.imgur.com/YcA82.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YcA82.png" alt="enter image description here"></a></p>
  
  <p>if user is out of rout give alert user on wrong rout(missing rout)
  I searched on google and and stack overflow but not found any solution</p>