title: Google maps route click event
body: <p>When i click on the Google Map i want to add a marker to that location. This works for one exception: when i click on one of the routes i plotted it doesn't work. Because the click event is only on the map itself and not the route. But i couldn't find any click event for the route i plotted. (I checked the documentation). <br><br>Does anyone has suggestions on how to do this? <br><br></p>
  
  <p>So i need a click function for the route as well not only the map.</p>
  
  <pre><code>google.maps.event.addListener(map, 'click', function(event) {
  placeMarker(event.latLng);
  });
  </code></pre>