http://zoofinder.us/map2.html https://www.google.com/fusiontables/DataSource?docid=1EawtHPl3kbnsXqzPPxQWPZOJeHX3i0XUOffz884
Trying to create buttons to load certain categories.
Would eventually like it to load with all Categories and have the ability to turn them on and off via buttons on the left.
My queries do not seem to be working. For testing, I was trying to load all Farms and then toggle on the Zoos (and eventually toggle back off Zoos).
var layer = new google.maps.FusionTablesLayer({
query: {
select: 'Location',
from: '3092255',
where: 'Category contains Farm',
function updateMapZoosOn() {
layer.setOption("SELECT Location FROM 3092255 WHERE Category CONTAINS Zoo");
}
Any help please?
THANKS!