anchor.diff:        map: map
       });
   
  +
       activity = new google.maps.places.PlacesService(map);
       google.maps.event.addListenerOnce(map, 'bounds_changed', performSearch)
  +
  +//directions
  +    var directionsService = new google.maps.DirectionsService;
  +    var directionsDisplay = new google.maps.DirectionsRenderer;
  +
  +    var input = (document.getElementById("address1"));
  +    var input2 = (document.getElementById("address2"));
  +
  +    var autoComplete1 = new google.maps.places.Autocomplete(input);
  +
  +    var autoComplete2 = new google.maps.places.Autocomplete(input2);
  +
  +    directionsDisplay.setMap(map)
  +
  +    var onChangeHandler = function() {
  +      calculateAndDisplayRoute(directionsService, directionsDisplay);
  +        };
  +    document.getElementById('address1').addEventListener('change', onChangeHandler);
  +    document.getElementById('address2').addEventListener('change', onChangeHandler);
  +
  +  function calculateAndDisplayRoute(directionsService, directionsDisplay){
  +    directionsService.route({
  +      origin: document.getElementById("start").value,
  +      destination: document.getElementById("end").value,
  +      travelMode: google.maps.TravelMode.DRIVING
  +    }, function(response, status){
  +      if (status === google.maps.DirectionsStatus.OK) {
  +        directionsDisplay.setDirections(response);
  +      } else {
  +        window.alert('Directions request failed due to ' + status)
  +      }
  +    });
  +  }
  +
     }
   
   // Locates current location on load
  
positive.code: <script src="https://maps.googleapis.com/maps/api/js?libraries=places" async defer></script>
  
  <div id="map"></div>
  <div class="row">
  <div class="small-12 columns button-group">
  
negative.code:   }
  //Runs all this functions during on initialization
    function initialize(location){
  
      var currentLocation = new google.maps.LatLng(location.coords.latitude, location.coords.longitude);
   
      var mapOptions = {
  