I'm trying to add multiple map layers to the same map but I can currently only display one or the other. I've narrowed it down to the "map: map" line and when I comment out one, the other shows. I have to have two layers in this case so how do I get them both to display? Thanks in advance.
//Add layers
layer1 = new google.maps.FusionTablesLayer({
query: {select: 'Address', from: tableid1},
styles: styles[0],
//map: map <-- When commented, the other one displays
});
layer2 = new google.maps.FusionTablesLayer({
query: {select: 'Address',from: tableid2},
styles: styles[0],
map: map
});