Is there a method for setting the default style on a multi layer fusion table map, currently the API just uses the default style which is a Red Fill and Black Border line which is quite annoying. The code I currently have for single layer is working fine but it doesn't work for a multi-layer map.
Below the code I am using:
for multiple: layer = new google.maps.FusionTablesLayer(table, {
// suppressInfoWindows: true,
query: "select " + "*" + " from " + table,
styles: [{
polylineOptions: {
strokeColor: "#rrggbb",
strokeWeight: "1" ,
fillOpacity: 1
},
polygonOptions: {
fillColor: "#rrggbb",
fillOpacity: 1,
strokeColor: "#rrggbb",
strokeWeight: "1"
}
}]
Thank you.