Skip to content

Commit 3129fd7

Browse files
committed
More config sorting
1 parent d57a00a commit 3129fd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/configuration/ThemesConfiguration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,16 +339,16 @@ The format of the background layer definitions is as follows:
339339
| `"name": "<Name>",` | The name of the background layer, used in the theme definitions. |
340340
| `"title": "<Title>",` | The title of the background layer, as displayed in the background switcher. |
341341
| `"titleMsgId": "<Title msgID>",` | Alternative to `title`, a message ID, translated through the translation files. |
342-
| `"thumbnail": "<Filename>",` | Optional, image file in `assets/img/mapthumbs` (see [Viewer assets](ViewerConfiguration.md#viewer-asset)). Defaults to `img/mapthumbs/default.jpg`. |
343-
| `"type": "<Type>",` | The background layer type, i.e. `wms` or `wmts`. |
344-
| `"opacity": <opacity>,` | Optional, the layer opacity (between `0` and `255`). Default: `255`. |
345342
| `"attribution": "<Attribution>",`| Optional, attribution which will be shown in the bottom right corner of the map. |
346343
| `"attributionUrl": "<URL>",` | Optional, link associated to the attribution |
347344
| `"group": "<GroupId>",` | Optional, a group ID string. Background layers with the same group ID will be grouped together in the background switcher. |
345+
| `"layerConfig": {...},` | Optional, extra OpenLayers layer configuration, according to the [API](https://openlayers.org/en/latest/apidoc) of the specific layer type. |
348346
| `"minScale": <min_scale>,` | Optional, minimum scale denominator from which to render the layer. |
349347
| `"maxScale": <max_scale>,` | Optional, maximum scale denominator from which to render the layer. |
350-
| `"layerConfig": {...},` | Optional, extra OpenLayers layer configuration, according to the [API](https://openlayers.org/en/latest/apidoc) of the specific layer type. |
348+
| `"opacity": <opacity>,` | Optional, the layer opacity (between `0` and `255`). Default: `255`. |
351349
| `"sourceConfig": {...},` | Optional, extra OpenLayers source configuration, according to the [API](https://openlayers.org/en/latest/apidoc) of the specific source type. |
350+
| `"thumbnail": "<Filename>",` | Optional, image file in `assets/img/mapthumbs` (see [Viewer assets](ViewerConfiguration.md#viewer-asset)). Defaults to `img/mapthumbs/default.jpg`. |
351+
| `"type": "<Type>",` | The background layer type, i.e. `wms` or `wmts`. |
352352
| `<Layer params>` | Parameters according to the specified layer type. |
353353

354354
Some minimal examples of supported background layers:

0 commit comments

Comments
 (0)