function addMiningLayerFT() { return( new google.maps.FusionTablesLayer({ query: { select: '\'geometry\'', from: '1Chpxt_nOZsb3aEe2kvGpOLd9xJAhXmdDpQ3aXu7C' } ,styles: [ { where: 'year > 2011', polygonOptions: { strokeColor: '#BD0026', fillColor: '#BD0026', fillOpacity: 1.0 } } ,{ where: 'year > 2005 and year <= 2011', polygonOptions: { strokeColor: '#F03B20', fillColor: '#F03B20', fillOpacity: 0.6 } } ,{ where: 'year > 1999 and year <= 2005', polygonOptions: { strokeColor: '#FD8C3C', fillColor: '#FD8C3C', fillOpacity: 0.5 } } ,{ where: 'year > 1993 and year <= 1999', polygonOptions: { strokeColor: '#FDB24C', fillColor: '#FDB24C', fillOpacity: 0.4 } } ,{ where: 'year > 1987 and year <= 1993', polygonOptions: { strokeColor: '#FFD976', fillColor: '#FFD976', fillOpacity: 0.2 } } ,{ where: 'year <= 1987', polygonOptions: { strokeColor: '#FEFFB3', fillColor: '#FEFFB3', fillOpacity: 0.1 } } ] }) ) }