On Aug 26, 7:01 am, "[email protected]" <[email protected]> wrote: > On Aug 26, 6:06 am, "[email protected]" <[email protected]> > wrote: > > > On Aug 26, 6:01 am, Satpack Travel <[email protected]> wrote: > > > > Hi Larry, > > > > [Sorry if my question was a bit confused]. > > > > I was only trying to style one layer. But for some reason I couldn't > > > style one layer and also add another (non-styled) layer from another > > > Fusion Table. > > > You should be able to do that. > > > This map fails with javascript > > errors:http://www.satpacktravel.com/API/api_v4.html > > > As does this one:http://www.satpacktravel.com/API/api_v5.html > > This seems to > work:http://www.geocodezip.com/www_satpacktravel_com_api_v5a.html
And for bonus points, the two layers share one infoWindow: http://www.geocodezip.com/www_satpacktravel_com_api_v5b.html -- Larry > > > > > In the end I fixed it by combining the Fusion Tables, so having just > > > one layer. > > > > But thanks for your help. > > > > On Aug 25, 6:11 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On Aug 25, 8:16 am, Satpack Travel <[email protected]> wrote: > > > > > > Hi, > > > > > > Am a newbie but have learned how to successfully build Google Maps > > > > > using the API and Fusion Tables. Now struggling to show multiple > > > > > layers / styles / checkboxes. > > > > > > So I can show multiple layers from 2 Fusion Tables on one > > > > > map:www.satpacktravel.com/API/api_v2.html > > > > > And I can show multiple styles with checkboxes on one > > > > > layer:www.satpacktravel.com/API/api_v4.html > > > > > > But when I try to combine to have styles, 2 layers and checkboxes it > > > > > doesn't work (no icons show):www.satpacktravel.com/API/api_v5.html > > > > > You can only style one FusionTablesLayer per map. > > > > > -- Larry > > > > > > I can't see what is going wrong? I know that am only allowed max of 5 > > > > > styles on 1 of max 5 layers but I'm not flouting that (I think) - 1 > > > > > layer has 4 styles, the other layer has none (other than the default). > > > > > > Hope this makes sense? Am I over-complicating and should just be > > > > > creating more layers from the same Fusion Table? > > > > > > Any help sincerely appreciated. > > > > > > Rob > > -- 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.
