anchor.diff:          case "location":
             $map = $("<div/>", {class: "col-md-12 graph-square map-" + input.id});
             $vizBox.append($map);
  -          PT.renderMapForLocationQuestion(responses, $map, input);
  +          PT.renderMapForLocationQuestion(responses, $map, input.id);
             break;
   
           case "text":
  
positive.code:     markers: markerData,
      interactive: true,
      click: function(event, p){
        console.log(p[0].data.data);
        PT.showResponsePopup(event, p[0].data.data);
      }
    });
  
negative.code:   })
  };
  
  PT.renderMapForLocationQuestion = function(responses, $div, inputId){
  
    // Find and format valid answers
    if(responses.length <= 0) return;  // Quit if no responses
  
    var answers = [];
    responses.forEach(function(response){
      response.answers.forEach(function(answer){
        if(answer.id == inputId){
          if(answer.value && answer.value.lat && answer.value.lon){
            answers.push({
              lon: answer.value.lon,
              lat: answer.value.lat,
              data: response
            });
          }
        }
      });
    });
  
    var markerData = [{
      color: PT.colors[1],
      points: answers
    }];
  
    $div.empty();
  