Viewing styles in ComposerΒΆ
Styles can be viewed and edited in GeoServer Composer. Styles viewed in Composer will always display in YSLD. This means that if a style was originally created in SLD, it will be converted to YSLD.
To view a layer’s style in Composer:
Log in to Composer.
Note
Read more about the configuration pages in Composer.
In the navigation panel, click the name of the project workspace of the layer to expand its tree. If the project workspace isn’t shown, click More to bring up a list of all project workspaces.
Expanded tree for a project workspace
Click the Layers link in the tree, or click the Layers tab in the main window. This will bring up the list of layers.
All layers in the project workspace
Find the layer in the list and click the Style button associated with the layer.
Note
If the list of layers is large, it can be sorted by name or by last modification, and can also filtered via string.
Link to open the Style Editor
This will bring up the Style Editor page for this layer. The left panel will show the current view of the layer, while the right panel will show the current style. The style can be edited and the view refreshed all from this interface.
![../../_images/layerstylepage.png](../../_images/layerstylepage.png)
A layer viewed in Composer
Note
Read more about Viewing and styling maps and layers.