var map;
function initialize() {
  var mapOptions = {
    zoom: 9,
    center: new google.maps.LatLng(34.708, -77.959)
  };
  google.maps.visualRefresh=true;
  map = new google.maps.Map(document.getElementById('map-canvas'),
      mapOptions);

  // Load a GeoJSON from the same server as our demo.
  map.data.loadGeoJson('data/ncVacationData.json');

}

google.maps.event.addDomListener(window, 'load', initialize);
@@ -343,16 +343,436 @@
 .json');
+%0A  %0A  // listen for click events%0A  map.data.addListener(%22click%22, function(event) %7B%0A    // show an infowindow on click%0A    infowindow.setContent('%3Cdiv style=%22line-height:1.35;overflow:hidden;white-space:nowrap;%22%3E' event.feature.getName() %22%3Cbr%3E%22 + event.feature.getAddress() + %22%3C/div%3E%22);%0A%0A    var anchor = new google.maps.MVCObject();%0A        anchor.set(%22position%22,event.latLng);%0A        infoWindow.open(map,anchor);%0A  %7D);
 %0A%0A%7D%0A%0Agoo
@@ -829,8 +829,9 @@
 ialize);
+%0A

add click event