This example shows how to create a custom Map Settings UI Control to switch between different layers. For more details see the H.ui.MapSettingsControl API reference page.