Working demo using the overlay-template to bootstrap a simple map with togglable layers.
Sample code for legend and map content can be found in the legendConfig, mapSources, mapLayers and secondaryMapLayers files.
Sample code for form controls can be found in the overlay component on this page.
lorem ipsum...
lorem ipsum...