anchor.diff:  
     function performSearch(){
       var request = {
  -      radius: radius/2,
  +      radius: radius / 2,
         location: midpoint,
         name: (document.getElementById("activity").value)
       }
  
positive.code:   }
          //***this is for the search of activity. Uncomment to have search markers show on map***
      activity = new google.maps.places.PlacesService(map);
      google.maps.event.addListenerOnce(map, 'bounds_changed', performSearch)
          }
  
        });
  
negative.code:   var midpoint;
  
  // Assigns an info window to every marker==========================================
    function handleSearchResults(results, status){
  
      var markers = []
      for(var i = 0; i < results.length; i++) {
        var marker = new google.maps.Marker({
          position: results[i].geometry.location,
          map: map,
        });
        markers.push(marker)
        contentString = '<p><a href=http://www.'+ results[i].name +'.com>' + results[i].name + '</a></p>' +
                        '<p>' + results[i].vicinity+ '</p>' +
                        '<p>' + results[i].rating + '</p>'
        
        var infoWindow = new google.maps.InfoWindow({
          content: contentString
        });
        google.maps.event.addListener(marker, 'click', (function(marker, i){
          infoWindow.open(map, marker);
  
        })(marker));
      }
    }
  
            // Allow each marker to have an info window    
          // google.maps.event.addListener(marker, 'click', (function(marker, i) {
          //     return function() {
          //         infoWindow.setContent(infoWindowContent[i][0]);
          //         infoWindow.open(map, marker);
          //     }
          // })(marker, i));
  
  
  
  