A layer group is a grouping of a number of layers with some associated styles. Layer groups allow clients to request a single layer which is actually composed of multiple layers. This is commonly referred to as a base map. This section covers the task of defining a layer group.
From the Welcome page navigate to Config ‣ WMS ‣ Contents.
Viewing the WMS contents page
Scroll to the bottom of the page and click the Add New Layer-Group button.
Adding a new layer group
In the resulting form:
Enter “bayarea” in the Layer-group Name field.
Enter “topp:bay_area_coastline,topp:bay_area_roads,topp:bay_area_transit_routes,topp:bay_area_bus_stops” in the Base Map Layers field.
Leave the Base Map Styles field blank.
Note
Leaving the styles field blank specifies that the default styles for each layer in the group should be used.
Generate the bounding box by clicking the Generate button.
Definiting a layer group
Submit, Apply, and Save changes.
At this point the layer grouping for the base map has been defined. In the next section the base map will be previewed with the map preview.