fusion table layer with styling

Custom style a fusion table layer.

var map, layer;

function initialize() {

  var australia = new google.maps.LatLng(-25, 133);

  map = new google.maps.Map(document.getElementById(\'map-canvas\'), {
    center: australia,
    zoom: 4,
    mapTypeId: google.maps.MapTypeId.ROADMAP
  });

  layer = new google.maps.FusionTablesLayer({
    query: {
      select: \'geometry\',
      from: \'1ertEwm-1bMBhpEwHhtNYT47HQ9k2ki_6sRa-UQ\'
    },
    styles: [{
      polygonOptions: {
        fillColor: \'#00FF00\',
        fillOpacity: 0.3
      }
    }, {
      where: \'birds > 300\',
      polygonOptions: {
        fillColor: \'#0000FF\'
      }
    }, {
      where: \'population > 5\',
      polygonOptions: {
        fillOpacity: 1.0
      }
    }]
  });
  layer.setMap(map);
}

google.maps.event.addDomListener(window, \'load\', initialize);