             window.marker.setPosition location
             window.marker.setVisible true
             $('#address_selection').show()
+        if destination == "to"
+          if !directionsDisplay?
+            directionsDisplay = new google.maps.DirectionsRenderer()
+          if !directionsService?
+            directionsService = new google.maps.DirectionsService()
+
+          setNewRoute($("#trip_from").val(), $("#trip_to"))
+
   return
-

window.geocoder = null
window.marker = null
window.infowindow = null

window.init_address_map = ->
  if google?

              if results[x]
                full_address = results[x].formatted_address
                link_to = "<a href='#' data-full-address='#{full_address}' class='set_map_search'>#{full_address}</a><br />"
                $(suggest_field).append link_to
            $(suggest_field).show()
        else
          $(suggest_field).hide()
          location = results[0].geometry.location
          window.map.setCenter location
          $("input#trip_#{destination}_lat").val location.lat()
          $("input#trip_#{destination}_lng").val location.lng()
          address_components = results[0].address_components
          if address_components.length > 0
            for x in [0..address_components.length-1]
