title: Google Maps Api button for "route to marker" / go to Google Maps
body: <p>I'd like to know if it is possible to have a button on a Google Map that redirects you to Google Maps, submitting the destination address, so that the user just needs to enter his/her own address to calculate the route.</p>
  
  <p>Edit: If there is a method to directly implement a custom button with a simple link (that leads to the shared map on Google) that would work just as fine as well.</p>
  
  <p>Edit 2: Managed to solve it myself with the help of the google doc <a href="https://developers.google.com/maps/documentation/javascript/examples/control-custom" rel="nofollow">https://developers.google.com/maps/documentation/javascript/examples/control-custom</a> </p>
  
  <p>took a lot of js fiddling around but it works now</p>