The answer is: you can have up to 5 Fusion Tables layers, but only one
can have styles. In my case, both layers had styles, so the "second"
layer (to be drawn) did not appear.
It looks like I'll need to use layer.setOptions to replace all of the
options when I want to turn a "layer" (now just a style) on or off.
- Jeff
On Aug 15, 1:32 pm, JKurtock <
jkurt...@gmail.com> wrote:
>
www.grizz.org/db/c/FTDisplayTest.html
>
> I am trying to display two Fusion Tables layers (same table, different
> WHERE clause) with the ability to switch the layers on and off (so I
> chose to not use styles). The first-created layer displays correctly,
> but the second layer does not display. If the first layer is switched
> off (with layer1.setMap(null) ), the second layer can be turned on.
> But I cannot get them both on at the same time. (The test page above
> has buttons for switching the layers.)
>
> The documentation says that I should be able to get 5 layers on a map,
http://code.google.com/intl/en/apis/maps/documentation/javascript/ove...,