Please see this: http://gisdev.clemson.edu/fireflies
Toward the top right are three checkboxes and I am trying to make them work like radio buttons. Part of the prog
If you want checkboxes to act as radio buttons, attach onClick event listeners to all checkboxes, remove "checked" attributes and place it on the one being clicked.
checkboxes_controls = jQuery(document.querySelectorAll('.leaflet-control-layers-overlays input[type=checkbox]'))
jQuery(checkboxes_controls).click(function(){
jQuery(checkboxes_controls).removeAttr('checked');
jQuery(this).attr('checked', 'checked');
});