This example demonstrates a map with various types of layers, and below are checkboxes for each of them. Checking and Unchecking the checkboxes will toggle the visibility of corresponding layer.