function noFoursquareData(passedPlace) {
					// Organises the content to be displayed in the infowindow when there is no information on Foursquare, and displays it
			            var html_str = html_title;
			            html_str += "<div id='info'>Sorry, no information about " + passedPlace.name + " was found on Foursquare.</div>";

			        	if (flickr_error === "") {
			            	html_str += "</br><em><a href = 'https://www.flickr.com/search?text='" + passedPlace.marker.title + "'&structured=yes' target = '_blank'>Photos by Flickr</a></em></br><div id='photos'>" + flickr_str + "</div>";
			            } else {
			            	html_str += "<div id='photos'>" + flickr_error + "</div>";
			            }

						infowindow.setContent("<div id='info_window'>" + html_str + "</div>");
						map.setCenter(passedPlace.marker.getPosition());
						infowindow.open(map,passedPlace.marker);
				}
// Makes the actual first request to Foursquare

Makes the actual first request to Foursquare
Makes the actual first request to Foursquare
function noFoursquareData(passedPlace) {
			            var html_str = html_title;
			            html_str += "<div id='info'>Sorry, no information about " + passedPlace.name + " was found on Foursquare.</div>";
			        	if (flickr_error === "") {
			            	html_str += "</br><em><a href = 'https://www.flickr.com/search?text='" + passedPlace.marker.title + "'&structured=yes' target = '_blank'>Photos by Flickr</a></em></br><div id='photos'>" + flickr_str + "</div>";
			            } else {
			            	html_str += "<div id='photos'>" + flickr_error + "</div>";
			            }
						infowindow.setContent("<div id='info_window'>" + html_str + "</div>");
						map.setCenter(passedPlace.marker.getPosition());
						infowindow.open(map,passedPlace.marker);
				}
function noFoursquareData ( passedPlace ) { var html_str = html_title ; html_str += "<div id='info'>Sorry, no information about " + passedPlace . name + " was found on Foursquare.</div>" ; if ( flickr_error === "" ) { html_str += "</br><em><a href = 'https://www.flickr.com/search?text='" + passedPlace . marker . title + "'&structured=yes' target = '_blank'>Photos by Flickr</a></em></br><div id='photos'>" + flickr_str + "</div>" ; } else { html_str += "<div id='photos'>" + flickr_error + "</div>" ; } infowindow . setContent ( "<div id='info_window'>" + html_str + "</div>" ) ; map . setCenter ( passedPlace . marker . getPosition ( ) ) ; infowindow . open ( map , passedPlace . marker ) ; }
Makes the actual first request to Foursquare
Makes the actual first request to Foursquare
// Organises the content to be displayed in the infowindow when there is no information on Foursquare, and displays it
