title: Avoid some coordinates in routes using Google Directions API Android
body: <p>I want to avoid some coordinates while using directions APIs.I have read the below blog <a href="https://code.google.com/p/gmaps-api-issues/issues/detail?id=214" rel="nofollow">https://code.google.com/p/gmaps-api-issues/issues/detail?id=214</a></p>
  
  <p>Which ensures that Directions API doesn't allow if I want to avoid specific coordinate.</p>
  
  <p>Then I have tried with waypoint parameter (Which allow us to get routes that include specific coordinate) with considering same source and destination:</p>
  
  <p>1) First get the routes without adding waypoint </p>
  
  <p><a href="https://maps.googleapis.com/maps/api/directions/json?origin=25.2958001,55.436142&amp;destination=24.914744,54.968565&amp;alternatives=true&amp;mode=driving&amp;key=MYKEY" rel="nofollow">https://maps.googleapis.com/maps/api/directions/json?origin=25.2958001,55.436142&amp;destination=24.914744,54.968565&amp;alternatives=true&amp;mode=driving&amp;key=MYKEY</a></p>
  
  <p>2) Get the routes by adding waypoint (Coordinate which I want to avoid)</p>
  
  <p><a href="https://maps.googleapis.com/maps/api/directions/json?origin=25.2958001,55.436142&amp;destination=24.914744,54.968565&amp;waypoints=25.244456,55.404643&amp;alternatives=true&amp;mode=driving&amp;key=MYKEY" rel="nofollow">https://maps.googleapis.com/maps/api/directions/json?origin=25.2958001,55.436142&amp;destination=24.914744,54.968565&amp;waypoints=25.244456,55.404643&amp;alternatives=true&amp;mode=driving&amp;key=MYKEY</a></p>
  
  <p>3) Then compare results and try to remove routes from 1st step which consists by 2nd step.</p>
  
  <p>But in this case, 1st step returns multiple result which passing from the same coordinate (which I want to avoid) and that results are not included by the 2nd step.</p>
  
  <p>I'm fed up with this. And I need to solve this anyhow.</p>
  
  <p>Anyone can help me with this? Or Some other suggestions or calculation which can help me with stuff?</p>
  
  <p>Thanks,</p>