title: How to pass latitude-longitude to Google Maps JavaScript API v3 Directions service?
body: <p>I want to use <strong>Google Maps JavaScript API v3</strong> in my Java Application.
  For this I create <strong>HttpGet</strong> object with <strong><a href="http://maps.googleapis.com/maps/api/directions/json?origin=Toronto&amp;destination=Montreal&amp;sensor=false" rel="noreferrer">http://maps.googleapis.com/maps/api/directions/json?origin=Toronto&amp;destination=Montreal&amp;sensor=false</a></strong>  url.</p>
  
  <p>I get the proper response, but instead of passing <strong>Station name</strong> I want to pass the <strong>latitude-longitude</strong> of the stations. </p>
  
  <p>A documentation can be found at <strong><a href="https://developers.google.com/maps/documentation/javascript/directions" rel="noreferrer">Here</a></strong></p>
  
  <p>How can I pass latitude-longitude to this service?</p>
  
  <p><strong>EDIT :</strong> </p>
  
  <p>When I give the URL as - <strong><a href="http://maps.googleapis.com/maps/api/directions/json?origin=Jackson+Av&amp;destination=Prospect+Av&amp;sensor=false" rel="noreferrer">http://maps.googleapis.com/maps/api/directions/json?origin=Jackson+Av&amp;destination=Prospect+Av&amp;sensor=false</a></strong>    I get the proper response, but when I give URL as - </p>
  
  <p><strong><a href="http://maps.googleapis.com/maps/api/directions/json?origin=40.81649,73.907807&amp;destination=40.819585,-73.90177&amp;sensor=false" rel="noreferrer">http://maps.googleapis.com/maps/api/directions/json?origin=40.81649,73.907807&amp;destination=40.819585,-73.90177&amp;sensor=false</a></strong>  I get the response as - <strong><em>ZERO RESULT</em></strong></p>