Skip to content Skip to sidebar Skip to footer

Check/uncheck All Button To Show/hide All Markers Google Maps Api

Who can help me out with the following: from several sources I combined some javascript to make a google map with a dropdown-menu. From this menu I'm able to place/hide markers on

Solution 1:

plz check this http://jsfiddle.net/n86zxopp/2/

I have updated your click functions like

functioncheck() {
  $('input[type="checkbox"]').prop("checked", true).change();
}

functionuncheck() {
  $('input[type="checkbox"]').prop("checked", false).change();
}

Post a Comment for "Check/uncheck All Button To Show/hide All Markers Google Maps Api"