> For the complete documentation index, see [llms.txt](https://docs.jmapcloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jmapcloud.io/en/jmap-ng/jmap-ng-user-guide/data/data-layers/styles.md).

# Styles

Layers can have different styles: the appearance of features varies based on one or more attributes.

When a layer has multiple styles, the number of configured styles is shown on the layer icon. You can display multiple styles simultaneously, and styles can vary depending on the map scale. You can also modify a layer's style to customize it to your preference.

## Displaying a Layer's Styles

1. Click the layer icon or click <img src="/files/UQSNxytLDFikTQ9e2a9R" alt="" data-size="line"> then **Styles**. The **STYLES** panel displays the layer's styles with their legend and the transparency control tool.<br>

   <figure><img src="/files/GJBGkDjq2dSa7rHw75Kv" alt=""><figcaption></figcaption></figure>
2. Use the slider to modify the layer's transparency level. The [Transparency](#transparency) section provides details on this function.
3. Use the toggle to enable or disable each style. The appearance of features changes according to your selection.
4. Uncheck one or more classes or categories of the style to hide features in those classes.
5. Click the collapse/expand icon <img src="/files/IlAn3U4nTJZj0E2B6b7d" alt="" data-size="line"><img src="/files/Y997JmhzvmLIrjdRFUCx" alt="" data-size="line"> to close or open the style card.
6. Click **Back** to return to the **Layers** panel.

## Transparency

You can modify the layer's transparency using the slider. This function, available for both vector and raster layers, is useful for quickly viewing information displayed beneath the layer.

The transparency scale goes from 0 (0% transparency) to 100 (100% transparency).

By default, the slider is positioned to the left of 0 (before 0). In this position, the transparency configured for the layer's styles is displayed. Each style has its own transparency value.

When you drag the slider between 0 and 100, the transparency value changes for all styles in the layer, except for selected features, which remain unchanged.

It overrides all transparency settings that may be defined in any style of the layer (except the selection style).

{% hint style="info" %}
Changes to a layer's transparency are lost when you close the JMap NG session. You can save them in a [custom map](/en/jmap-ng/jmap-ng-user-guide/fonctions/creating-and-managing-custom-maps.md).
{% endhint %}

## Modifying a Layer's Style

You can modify the styles of a vector layer. You can modify each class or category of styles independently.

{% hint style="info" %}
Modifications are not permanent and are lost when you close your JMap NG working session. You can save the map with the custom styles by creating a [custom map](/en/jmap-ng/jmap-ng-user-guide/fonctions/creating-and-managing-custom-maps.md).
{% endhint %}

Depending on the feature geometry you can modify:

**Lines**: You can modify the following parameters:

* Color
* Pattern
* Dash
* Opacity
* Thickness

**Polygons**: You can modify the following parameters:

* Fill
  * Color
  * Pattern
  * Transparency
* Border
  * Color
  * Dash
  * Opacity
  * Thickness

Text cannot be modified.

**To modify a style:**

1. Click the layer icon or click <img src="/files/UQSNxytLDFikTQ9e2a9R" alt="" data-size="line"> then **Styles**. The **STYLES** panel displays the layer's styles with their legend.
2. Click the style you want to modify. The style parameter editing window opens.
3. Modify the style parameters.
4. Click **Modify** to save the changes.
5. Click **Back** to return to the Layers panel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.jmapcloud.io/en/jmap-ng/jmap-ng-user-guide/data/data-layers/styles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
