Skip to content

Commit 24d33b0

Browse files
committed
Document lockedVisibilityPreset
1 parent d143abc commit 24d33b0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/configuration/ThemesConfiguration.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,13 @@ The format of the theme definitions is as follows:
214214
| `⁣  ...` | |
215215
| `},` | |
216216
| `"wmsBasicAuth": "{` | Optional, allows to authenticate to QGIS Server during themes.json generation. NOTE: these credentials will solely be used by `yarn run themesConfig` and won't be stored in `themes.json`.|
217-
| `⁣  "username": <username>` | Optional: http basic authentication username. |
217+
| `⁣  "username": <username>,` | Optional: http basic authentication username. |
218218
| `⁣  "password": <password>` | Optional: http basic authentication password. |
219219
| `},` | |
220-
| `"layerTreeHiddenSublayers": ["<layername>", ...]`, | Optional: list of sublayer names to omit in layertree (but still displayed in map). |
221-
| `"predefinedFilters": [{<filter_config>}, ...]`, | Optional: predefined filter configuration, see [MapFilter](../references/qwc2_plugins.md#mapfilter). |
222-
| `"visibilityPresetsBlacklist": ["<name>", ...]`, | Optional: list of visibility presets (QGIS layer themes) to exclude. You can use`*` as a wildcard character. |
220+
| `"layerTreeHiddenSublayers": ["<layername>", ...],` | Optional: list of sublayer names to omit in layertree (but still displayed in map). |
221+
| `"predefinedFilters": [{<filter_config>}, ...],` | Optional: predefined filter configuration, see [MapFilter](../references/qwc2_plugins.md#mapfilter). |
222+
| `"visibilityPresetsBlacklist": ["<name>", ...],` | Optional: list of visibility presets (QGIS layer themes) to exclude. You can use`*` as a wildcard character. |
223+
| `"lockedVisibilityPreset":  "<name>",` | Optional: lock styles of theme layers to those set in the specified visibility preset. |
223224

224225

225226
A bare minimum theme entry might look as follows:

0 commit comments

Comments
 (0)