This class is the Layer Toolbar on the left of the viewer screen.
The constructor
Add a layer list to the list of available layers
Name | Type | Description |
---|---|---|
jsonLayers | JsonObject | The layer list to add |
Creates the user interface
Set a layer as background map. If the layer is not found, the 'OSM - Color' layer is set
Name | Type | Description |
---|---|---|
layerName | String | The name of the layer to set or the index of theMapLayer in the #mapLayers |
The toolbar