diff --git a/www/js/map.js b/www/js/map.js index dba4d182a0f33525ed32174667966def02234452..86498347ae67f63b16123bcc3ecbfe8717f395b1 100644 --- a/www/js/map.js +++ b/www/js/map.js @@ -26,7 +26,6 @@ UNLTourMap = (function() { // Set up hash change monitoring $(window).bind('hashchange', function(e) { var code = location.hash.replace('#', ''); - WDN.log("we have a hash: "+code); if (WDN.analytics) { WDN.analytics.callTrackEvent('UNL_Map', 'showBuilding', code); @@ -84,7 +83,6 @@ UNLTourMap = (function() { url: UNL_TOUR_URL+'?view=search&q='+encodeURIComponent(request.term)+'&format=json', dataType: "json", success: function(data) { - WDN.log('Caught search result data'); var rows = []; var result = 0; for (var code in data['buildings']) { @@ -237,11 +235,9 @@ UNLTourMap = (function() { if (typeof(display) == 'undefined') { display = true; } - WDN.log('time to setup the markers for '+ markerType); if (typeof(UNLTourMap.markerData[markerType]) == 'undefined') { $.getJSON(UNLTourMap.getMarkersJSONURL(markerType, campus), function (data) { - WDN.log('we\'ve got the JSON'); UNLTourMap.markerData[markerType] = data[markerType]; UNLTourMap.handleJSONMarkers(markerType, UNLTourMap.markerData, true); if (callback) { @@ -258,8 +254,6 @@ UNLTourMap = (function() { }, handleJSONMarkers : function(markerType, data, display) { - WDN.log('time to handle the JSON markers for '+ markerType); - WDN.log('we want the be displayed? '+ display); for (var code in data[markerType]){ UNLTourMap.addLocation(data[markerType][code], markerType, display); } @@ -314,10 +308,8 @@ UNLTourMap = (function() { }, toggleMarkers : function(markerType) { - WDN.log('toggleMarkers('+markerType+')'); if (typeof(UNLTourMap.markers[markerType]) == 'undefined') { UNLTourMap.setUpMarkers(markerType); - WDN.log('setting up markers for '+markerType+', baby'); } else { if ($("#check_" + markerType).hasClass('on')){ UNLTourMap.hideAllMarkers(markerType); @@ -372,7 +364,6 @@ UNLTourMap = (function() { map : UNLTourMap.map, title : loc.name, icon : UNL_TOUR_URL+'images/markers/google/'+markerIcon+'.png', - shadow : UNL_TOUR_URL+'images/markers/google/shadow.png', visible : display }); @@ -478,7 +469,6 @@ UNLTourMap = (function() { url: UNL_TOUR_URL+'busproxy.php', dataType: 'json', success: function(data) { - WDN.log('Bus json retuned; UNLCacheTimeStamp: '+data.UNLCacheTimeStamp); WDN.jQuery.each(data.VehicleArray, function(key, value) { if (UNLTourMap.buses[value.vehicle.id] == undefined) { var marker = new google.maps.Marker({