anchor.diff:    if(navigator.geolocation)
       navigator.geolocation.getCurrentPosition(displayOnMap);
     directionsDisplay.setMap(handler.getMap());
  +  directionRenderers[0].setMap(handler.getMap());
  +  directionRenderers[1].setMap(handler.getMap());
  +  directionRenderers[2].setMap(handler.getMap());
   });
   
   // Add the search bar
  
positive.code:     origin: from,
      destination: to,
      travelMode: google.maps.DirectionsTravelMode.DRIVING,
      unitSystem: google.maps.UnitSystem.METRIC
    };
    directionsService.route(directionsRequest, function(response, status) {
      if (status == google.maps.DirectionsStatus.OK) {    
        directionsDisplay.setDirections(response);
      }
    });
  }
  
negative.code: function calcRoute(position, destination) {
    var origin      = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
    var request = {
      origin:      origin,
      destination: destination,
      travelMode: google.maps.DirectionsTravelMode.DRIVING,
      unitSystem: google.maps.UnitSystem.METRIC,
      provideRouteAlternatives: true,
    };
    directionsService.route(request, function(response, status) {
        // Clear the old routes
        for (var i = 0, len = directionRenderers.length; i < len; i++){
          directionRenderers[i].setMap(null);
        }
        for (var i = 0, len = response.routes.length; i < len; i++) {
          // Display at most 3 routes
          if (i< 3) {
            directionRenderers[i] = new google.maps.DirectionsRenderer({
              map: map,
              directions: response,
              routeIndex: i
            });  
          }
        }
    });
  }
  
  