Chris
I have tried this but it only seems to work for 4 queries eg in the example
below I have commented out two "where polygonOptions"
This means D = 06 works
But if I remove the comment for '01' then '06' stops working ;(
layer = new google.maps.FusionTablesLayer({
query: {
select: 'g',
from: '642752'
},
styles: [{
polygonOptions: {
fillOpacity: 0.3
}
},
//{
// where: "D = '01'",
// polygonOptions: {
// fillColor: "#00FF00"
// }
//},
//{
// where: "D = '02'",
// polygonOptions: {
// fillColor: "#00FF00"
// }
//},
{
where: "D = '03'",
polygonOptions: {
fillColor: "#0000FF"
}
},
{
where: "D = '04'",
polygonOptions: {
fillColor: "#0000FF"
}
},
{
where: "D = '05'",
polygonOptions: {
fillColor: "#0000FF"
}
},
{
where: "D = '06'",
polygonOptions: {
fillColor: "#00FF00"
}
}
]
});
layer.setMap(map)
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.