BaseSourceSwitcher is a button group to change the map’s background sources. The BaseSourceSwitcher allows you to switch over between the predefined source sets.
The configuration occurs in 2 steps:
YAML-Definition:
title: 'BaseSourceSwitcher' # title
tooltip: 'BaseSourceSwitcher' # text to use as tooltip
target: map # Id of Map element
sourcesets: # List of sourcesets
- { title: sourcesetname, sources: [sourceId]} # sourceset: title, sources list of sources
None.
None.
None.