Skip to content

Commit 68be225

Browse files
committed
Document background layer opacity config
1 parent d8164ef commit 68be225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/configuration/ThemesConfiguration.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,9 @@ The format of the background layer definitions is as follows:
335335
| `"name": "<Name>",` | The name of the background layer, used in the theme definitions. |
336336
| `"title": "<Title>",` | The title of the background layer, as displayed in the background switcher. |
337337
| `"titleMsgId": "<Title msgID>",` | Alternative to `title`, a message ID, translated through the translation files. |
338-
| `"thumbnail": "<Filename>",` | Optional, image file in `assets/img/mapthumbs` (see [Viewer assets](ViewerConfiguration.md#viewer-asset)). Defaults to `img/mapthumbs/default.jpg`. |
338+
| `"thumbnail": "<Filename>",` | Optional, image file in `assets/img/mapthumbs` (see [Viewer assets](ViewerConfiguration.md#viewer-asset)). Defaults to `img/mapthumbs/default.jpg`. |
339339
| `"type": "<Type>",` | The background layer type, i.e. `wms` or `wmts`. |
340+
| `"opacity": <opacity>,` | Optional, the layer opacity (between `0` and `255`). Default: `255`. |
340341
| `"attribution": "<Attribution>",`| Optional, attribution which will be shown in the bottom right corner of the map. |
341342
| `"attributionUrl": "<URL>",` | Optional, link associated to the attribution |
342343
| `"group": "<GroupId>",` | Optional, a group ID string. Background layers with the same group ID will be grouped together in the background switcher. |

0 commit comments

Comments
 (0)