jeudi 16 juin 2016

SOME MANY CHECKBOX/FILTER ON FUSION TABLE LAYER NOT WORK PLEASE HELP ME

please help me, i work with fusion table layer , this program can be filter in select query. i have some trouble, my rouble is , checkbox/filter not work . i have many checkbox on my program. some many checkbox work, and some many checbox not work. please help me,

function initialize() {
        
    google.maps.visualRefresh = true;
    var isMobile = (navigator.userAgent.toLowerCase().indexOf('android') > -1) ||
      (navigator.userAgent.match(/(iPod|iPhone|iPad|BlackBerry|Windows Phone|iemobile)/));
    if (isMobile) {
      var viewport = document.querySelector("meta[name=viewport]");
      viewport.setAttribute('content', 'initial-scale=1.0, user-scalable=no');
    }
    var mapDiv = document.getElementById('googft-mapCanvas');
  
    var map = new google.maps.Map(mapDiv, {
      center: new google.maps.LatLng(-6.1083063,106.7771597),
      zoom: 17,
      mapTypeId: google.maps.MapTypeId.ROADMAP

    });

function newLocation(newLat,newLng) {
        map.setCenter({
                lat : newLat,
                lng : newLng
        });
}



 
    var tableId = '1K9jOfK4qA_Qxw2PBjiCy4pkNt9PhgRf2etghwJMY',

    layer = new google.maps.FusionTablesLayer()
filterMap(layer, tableId, map);








google.maps.event.addDomListener(document.getElementById('Aeropolis'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1414047,106.6302033);
        });


google.maps.event.addDomListener(document.getElementById('Wisma_Adr'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.125885,106.7927557);
        });

google.maps.event.addDomListener(document.getElementById('The_Nest_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1953563,106.721768);
        });

google.maps.event.addDomListener(document.getElementById('The_Pakubuwono_View'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2366446,106.782449);
        });

google.maps.event.addDomListener(document.getElementById('The_H_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2454669,106.8705261);
        });


google.maps.event.addDomListener(document.getElementById('Sentra_Timur_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2051457,106.9461215);
        });

google.maps.event.addDomListener(document.getElementById('Mutiara_Bekasi_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2524347,106.9887202);
        });
google.maps.event.addDomListener(document.getElementById('Mitra_Sunter'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1499903,106.8834884);
        });

google.maps.event.addDomListener(document.getElementById('Puri_Garden_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                 newLocation(-6.1851828,106.7333586);
        });

google.maps.event.addDomListener(document.getElementById('Menara_Latumenten'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1533651,106.7937244);
        });

google.maps.event.addDomListener(document.getElementById('Satu_8'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1877074,106.7560977);
        });

google.maps.event.addDomListener(document.getElementById('Puri_Casablanca'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2235682,106.8364116);
        });

google.maps.event.addDomListener(document.getElementById('Paragon_Village'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2339517,106.5851526);
        });

google.maps.event.addDomListener(document.getElementById('Mediterania_Pallace_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1635207,106.8051068);
        });

google.maps.event.addDomListener(document.getElementById('Mediterania_Marina_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.128618,106.8263198);
        });

google.maps.event.addDomListener(document.getElementById('Great_Western_Serpong'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2121031,106.6214448);
                
        });
google.maps.event.addDomListener(document.getElementById('Pejaten_Park_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2983482,106.8265924);
        });
google.maps.event.addDomListener(document.getElementById('Grand_Emerald_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1546898,106.9140667);
        });
google.maps.event.addDomListener(document.getElementById('Green_Pramuka_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.18791,106.8709983);
        });
google.maps.event.addDomListener(document.getElementById('Kalibata_City'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2564754,106.8503555);
        });
google.maps.event.addDomListener(document.getElementById('The_Medina'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.3191039,106.6130937);
        });
google.maps.event.addDomListener(document.getElementById('Gading_Mediterania_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1621569,106.8902042);
        });
google.maps.event.addDomListener(document.getElementById('Grand_Central_City'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1472057,106.8133303);
        });
google.maps.event.addDomListener(document.getElementById('City_Resort_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1355088,106.7289805);
        });
google.maps.event.addDomListener(document.getElementById('Easton_Park_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2027117,106.9234762);
        });
google.maps.event.addDomListener(document.getElementById('Apartment_City_Loft'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2090627,106.8161303);
        });
google.maps.event.addDomListener(document.getElementById('East_Park'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2793304,106.6571224);
        });
google.maps.event.addDomListener(document.getElementById('Essence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2579938,106.8027857);
        });
google.maps.event.addDomListener(document.getElementById('Cibubur_Village_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.3702635,106.8855071);
        });
google.maps.event.addDomListener(document.getElementById('Centro_City_Reseidence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1636009,106.7697486);
        });
google.maps.event.addDomListener(document.getElementById('Slipi_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1914741,106.7769129);
        });

google.maps.event.addDomListener(document.getElementById('Permata_Hijau_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2231969,106.7842934);
        });
google.maps.event.addDomListener(document.getElementById('Apartment_Semanan_Indah'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1638963,106.7174661);
        });
google.maps.event.addDomListener(document.getElementById('Taman_Sari_Sudirman'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2169161,106.8162325);
        });
google.maps.event.addDomListener(document.getElementById('Kota_Wisata_Cibubur'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.372649,106.9278286);
        });
google.maps.event.addDomListener(document.getElementById('Binus'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1914741,106.7769129);
        });
google.maps.event.addDomListener(document.getElementById('Gateway_Apartment_Ciledug'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2370367,106.7458247);
        });

google.maps.event.addDomListener(document.getElementById('Cikini_6'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1937714,106.834742);
        });
google.maps.event.addDomListener(document.getElementById('Central_Park_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.163801,106.7705682);
        });
google.maps.event.addDomListener(document.getElementById('Panorama_Banjaran'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.0006847,110.3365632);
        });
google.maps.event.addDomListener(document.getElementById('Kedung_Pane'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.344397,112.7261235);
        });
google.maps.event.addDomListener(document.getElementById('Sumatra_36'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.2694644,112.7479109);
        });

google.maps.event.addDomListener(document.getElementById('Taman_Indah_Nginden'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3066614,112.7676752);
        });

google.maps.event.addDomListener(document.getElementById('Gunawangsa_Mer'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3066131,112.7523542);
        });

google.maps.event.addDomListener(document.getElementById('Gunawangsa_Manyar'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.2897444,112.7667726);
        });
google.maps.event.addDomListener(document.getElementById('Grand_Sungkono_Lagoon'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.2892087,112.7044343);
        });
google.maps.event.addDomListener(document.getElementById('Citra_Harmoni_Trosobo'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3528426,112.6425539);
        });
google.maps.event.addDomListener(document.getElementById('Graha_Pena'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3371225,112.7281391);
        });

google.maps.event.addDomListener(document.getElementById('Metropolis_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.319953,112.756628);
        });
google.maps.event.addDomListener(document.getElementById('Graha_Family_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.294699,112.6794475);
        });
google.maps.event.addDomListener(document.getElementById('Graha_Natura'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-7.2807697,112.6588901);
        });
google.maps.event.addDomListener(document.getElementById('Demmarakesh'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.964578,107.6750169);
        });
google.maps.event.addDomListener(document.getElementById('Bandung_City_view'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.8985523,107.6730065);
        });
google.maps.event.addDomListener(document.getElementById('CheryField'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9705032,107.6377258);
        });
google.maps.event.addDomListener(document.getElementById('Emerald_Bandung'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9475621,107.550216);
        });

google.maps.event.addDomListener(document.getElementById('Alamanda_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-7.0367058,110.4563696);
        });

google.maps.event.addDomListener(document.getElementById('DLK'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-7.298503,110.4811863);
        });

google.maps.event.addDomListener(document.getElementById('Candi_Land_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9866404,110.41248);
        });


 google.maps.event.addDomListener(document.getElementById('HHGreenBayPluit'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1083063,106.7771597);
        });

google.maps.event.addDomListener(document.getElementById('HHAeropolis'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1414047,106.6302033);
        });


google.maps.event.addDomListener(document.getElementById('HHThe_Nest'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1953563,106.721768);
        });

google.maps.event.addDomListener(document.getElementById('HHWisma_ADR'),
                'click', function() {
                newLocation(-6.125885,106.7927557);

        });

google.maps.event.addDomListener(document.getElementById('HHThe_Pakubowono_View'),
                'click', function() {
                newLocation(-6.1414047,106.6302033);
        });

google.maps.event.addDomListener(document.getElementById('HHThe_H_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2454669,106.8705261);
        });

google.maps.event.addDomListener(document.getElementById('HHSentra_Timur_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2051457,106.9461215);
        });
google.maps.event.addDomListener(document.getElementById('HHMutiara_Bekasi'),
                'click', function() {
                newLocation(-6.2524347,106.9887202);
});

google.maps.event.addDomListener(document.getElementById('HHMitra_Sunter'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1499903,106.8834884);
        });


google.maps.event.addDomListener(document.getElementById('HHPuri_Garden_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1851828,106.7333586);
        });


google.maps.event.addDomListener(document.getElementById('HHSeason_City'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1533651,106.7937244);
        });

google.maps.event.addDomListener(document.getElementById('HHSatu_Delapan_Apartment'),
                'click', function() {
                newLocation(-6.1877074,106.7560977);
        });

google.maps.event.addDomListener(document.getElementById('HHPuri_Casablanca'),
                'click', function() {
                 newLocation(-6.2235682,106.8364116);
        });



google.maps.event.addDomListener(document.getElementById('HHParagon_Village'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2339517,106.5851526);
        });


google.maps.event.addDomListener(document.getElementById('HHMediterania_Pallace_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1635207,106.8051068);
        });


google.maps.event.addDomListener(document.getElementById('HHMediterania_Marina_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.128618,106.8263198);
        });


google.maps.event.addDomListener(document.getElementById('HHGreat_Western_Serpong'),
                'click', function() {
                 newLocation(-6.2121031,106.6214448);

        });


google.maps.event.addDomListener(document.getElementById('HHKebagusan_IM2'), 
                'click', function() {
                 newLocation(-6.2983482,106.8265924);

        });

google.maps.event.addDomListener(document.getElementById('HHGrand_Emerlad_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1546898,106.9140667);
        });

google.maps.event.addDomListener(document.getElementById('HHGreen_Pramuka_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.18791,106.8709983);
        });

google.maps.event.addDomListener(document.getElementById('HHKalibata_City'),
                'click', function() {
                newLocation(-6.2564754,106.8503555);
        });
google.maps.event.addDomListener(document.getElementById('HHThe_Medina'),
                'click', function() {
                newLocation(-6.3191039,106.6130937);
        });

google.maps.event.addDomListener(document.getElementById('HHGading_Mediterania_Residence'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1621569,106.8902042);
        });

google.maps.event.addDomListener(document.getElementById('HHGreen_Central_City'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1472057,106.8133303);
        });


google.maps.event.addDomListener(document.getElementById('HHCity_Resort_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1355088,106.7289805);
        });

google.maps.event.addDomListener(document.getElementById('HHEast_Park_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2027117,106.9234762);
        });

google.maps.event.addDomListener(document.getElementById('HHEaston_Park'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2793304,106.6571224);
        });

google.maps.event.addDomListener(document.getElementById('HHEssence_Apartment'),
                'click', function() {
                newLocation(-6.2579938,106.8027857);
        });
google.maps.event.addDomListener(document.getElementById('HHApartment_CIty_Loft'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.2090627,106.8161303);
        });

google.maps.event.addDomListener(document.getElementById('HHCibubur_Village_Apartment'),
                'click', function() {
                newLocation(-6.3702635,106.8855071);
        });

google.maps.event.addDomListener(document.getElementById('HHCentro_City_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1636009,106.7697486);
        });

google.maps.event.addDomListener(document.getElementById('HHBinus'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1914741,106.7769129);
        });

google.maps.event.addDomListener(document.getElementById('HHPermata_Hijau_Residence'),
                'click', function() {
                newLocation(-6.2231969,106.7842934);
        });

google.maps.event.addDomListener(document.getElementById('HHSemanan_Indah_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1638963,106.7174661);
        });
google.maps.event.addDomListener(document.getElementById('HHTaman_Sari_Sudirman'),
                'click', function() {
                newLocation(-6.2169161,106.8162325);
        });


google.maps.event.addDomListener(document.getElementById('HHApartment_Slipi'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-6.1914741,106.7769129);
        });

google.maps.event.addDomListener(document.getElementById('HHGateway_Apartment_Ciledug'),
                'click', function() {
                newLocation(-6.2370367,106.7458247);
        });


google.maps.event.addDomListener(document.getElementById('HHPanorama_Banjaran'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.0006847,110.3365632);
        });
google.maps.event.addDomListener(document.getElementById('HHKedung_Pane'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.344397,112.7261235);
        });

google.maps.event.addDomListener(document.getElementById('HHSumatra_36'),
                'click', function() {
                newLocation(-7.2694644,112.7479109);
        });

google.maps.event.addDomListener(document.getElementById('HHTaman_Indah_Nginden'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3066614,112.7676752);
        });

google.maps.event.addDomListener(document.getElementById('HHGunawangsa_Mer'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3066131,112.7523542);
        });

google.maps.event.addDomListener(document.getElementById('HHGunawangsa_manyar'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.2898917,112.7666873);
        });

google.maps.event.addDomListener(document.getElementById('HHGrand_Sungkono_Lagoon'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.2892087,112.7044343);
        });

google.maps.event.addDomListener(document.getElementById('HHCitra_Harmoni_Trosobo'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3528426,112.6425539);
        });

google.maps.event.addDomListener(document.getElementById('HHGraha_Pena'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.3371225,112.7281391);
        });

google.maps.event.addDomListener(document.getElementById('HHGraha_Family_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.294699,112.6794475);
        });

google.maps.event.addDomListener(document.getElementById('HHGraha_Natura'),
                'click', function() {           
                newLocation(-7.2807697,112.6588901);
        });

google.maps.event.addDomListener(document.getElementById('HHDemarakesh'),
                'click', function() {   
                filterMap(layer, tableId, map); 
                newLocation(-6.964578,107.6750169);
        });

google.maps.event.addDomListener(document.getElementById('Bandung_City_view'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.8985523,107.6730065);
        });
google.maps.event.addDomListener(document.getElementById('HHCherry_Field'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9705032,107.6377258);
        });


google.maps.event.addDomListener(document.getElementById('HHEmerald_bandung'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9475621,107.550216);
        });


google.maps.event.addDomListener(document.getElementById('HHCandi_Land_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9475621,107.550216);
        });
 

 function filterMap(layer, tableId, map) {
    var where = generateWhere();

    if (where) {
      if (!layer.getMap()) {
        layer.setMap(map);
      }
      layer.setOptions({
        query: {
          select: "col2",
          from: tableId,
          where: where
        
        },
 styleId: 2,
templateId :3
      });
    } else {
      layer.setMap(null);
    }
  }

function generateWhere() {
        var filter = [];
        var stores = document.getElementsByName('store');
        for (var i = 0, store; store = stores[i]; i++) {
          if (store.checked) {
            var storeName = store.value.replace(/'/g, '\\\'');
            filter.push("'" + storeName + "'");
          }
        }
        var where = '';
        if (filter.length) {
          where = "'col1' IN (" + filter.join(',') + ')';
        }

        return where;
      }






if (isMobile) {
      var legend = document.getElementById('googft-legend');
      var legendOpenButton = document.getElementById('googft-legend-open');
      var legendCloseButton = document.getElementById('googft-legend-close');
      legend.style.display = 'none';
      legendOpenButton.style.display = 'block';
      legendCloseButton.style.display = 'block';
      legendOpenButton.onclick = function() {
        legend.style.display = 'block';
        legendOpenButton.style.display = 'none';
      }
      legendCloseButton.onclick = function() {
        legend.style.display = 'none';
        legendOpenButton.style.display = 'block';
      }
    }

  }

 





  google.maps.event.addDomListener(window, 'load', initialize);


(function($){
  $(window).load(function(){

    $("#scroll").mCustomScrollbar({
      axis:"yx", //set both axis scrollbars
      advanced:{autoExpandHorizontalScroll:true}, //auto-expand content to accommodate floated elements
      // change mouse-wheel axis on-the-fly 
      callbacks:{
        onOverflowY:function(){
          var opt=$(this).data("mCS").opt;
          if(opt.mouseWheel.axis!=="y") opt.mouseWheel.axis="y";
        },
        onOverflowX:function(){
          var opt=$(this).data("mCS").opt;
          if(opt.mouseWheel.axis!=="x") opt.mouseWheel.axis="x";
        },
      }
    });

  });
})

Part the program not work on chapter :

google.maps.event.addDomListener(document.getElementById('HHGraha_Family_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);
                newLocation(-7.294699,112.6794475);
        });

google.maps.event.addDomListener(document.getElementById('HHGraha_Natura'),
                'click', function() {           
                newLocation(-7.2807697,112.6588901);
        });

google.maps.event.addDomListener(document.getElementById('HHDemarakesh'),
                'click', function() {   
                filterMap(layer, tableId, map); 
                newLocation(-6.964578,107.6750169);
        });

google.maps.event.addDomListener(document.getElementById('Bandung_City_view'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.8985523,107.6730065);
        });
google.maps.event.addDomListener(document.getElementById('HHCherry_Field'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9705032,107.6377258);
        });


google.maps.event.addDomListener(document.getElementById('HHEmerald_bandung'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9475621,107.550216);
        });


google.maps.event.addDomListener(document.getElementById('HHCandi_Land_Apartment'),
                'click', function() {
                filterMap(layer, tableId, map);         
                newLocation(-6.9475621,107.550216);
        });
 

 function filterMap(layer, tableId, map) {
    var where = generateWhere();

Please Solution




Aucun commentaire:

Enregistrer un commentaire