Overlays checkboxes unchecked when clicked from the plugin
I am selecting overlays from the plugin trying out the following functions:
$(this).click();
$(this).trigger("click");
It works well. However, especially when clicking multiple overlays at once, their checkbox is checked, they will be loaded correctly but after finishing loading they are set back to unchecked (but the overlay is still shown correctly). When refreshing they are correctly checked again.
It's not a problem regarding functionality wise but rather usability.