title: How can you submit departure date and transit mode to google map direction?
body: <p>Actually I have a form that use the Place API to determine the right address for start address and arrival address </p>
  
  <pre><code>&lt;section class="itineraire section"&gt;
      &lt;h2 class="sectiontitle"&gt;&lt;?php _e( 'Itinéraire', 'mlog_regim' ); ?&gt;&lt;/h2&gt;
      &lt;form method="get" action="https://www.google.com/maps/" target="https://www.google.com/maps/"&gt;
          &lt;div class="form-group"&gt;
              &lt;input name="saddr" type="text" id="saddr" class="form-control" placeholder="Adresse de départ" onFocus="geolocate()" &gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              &lt;input name="daddr" type="text" id="daddr" class="form-control" placeholder="Adresse d'arrivée"&gt;
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              &lt;input name="txtDate" type="date" id="txtDate" class="form-control" placeholder="Date'"&gt;
          &lt;/div&gt;
          &lt;input type="hidden" name="travel_mode" value="3"&gt;
          &lt;button type="submit" class="btn btn-default"&gt;Rechercher&lt;/button&gt;
      &lt;/form&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>And I would like to force the google map to display travel_mode 3 (transit) and the date to be set at the txtDate value. I can't find in the doc how to do it, but I've found some website that do it and it look not that hard... Do someone could give me some advice ? </p>
  
  <p><a href="http://www.gotransit.com/public/en/schedules/google.aspx" rel="nofollow">Go Transit</a></p>
  
  <p><a href="http://rtcquebec.ca/Default.aspx?tabid=56&amp;language=en-CA" rel="nofollow">RTC Quebec (Your itinerary)</a></p>
  
  <p>Fill the form with theses inforamtion</p>
  
  <p>Start point : 2220 Boulevard Pie-IX, Montréal, QC H1V 2E2, Canada</p>
  
  <p>End point : Pointe-aux-Trembles, Montréal, QC, Canada</p>
  
  <p>Choose any random date... for Go Transit, RTC Quebec only prove the travel mode.</p>
  
  <p>Thank's for anyone help it will be appreciated !</p>