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:

  1. Log in to Composer.

    Note

    Read more about the configuration pages in Composer.

  2. 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.

    ../../_images/tabsinpanel.png

    Expanded tree for a project workspace

  3. Click the Layers link in the tree, or click the Layers tab in the main window. This will bring up the list of layers.

    ../../_images/layerstab.png

    All layers in the project workspace

  4. 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.

    ../../_images/layerstylelink.png

    Link to open the Style Editor

  5. 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

A layer viewed in Composer

Note

Read more about Viewing and styling maps and layers.