You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/configuration/ThemesConfiguration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,16 +339,16 @@ The format of the background layer definitions is as follows:
339
339
|`"name": "<Name>",`| The name of the background layer, used in the theme definitions. |
340
340
|`"title": "<Title>",`| The title of the background layer, as displayed in the background switcher. |
341
341
|`"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`. |
345
342
|`"attribution": "<Attribution>",`| Optional, attribution which will be shown in the bottom right corner of the map. |
346
343
|`"attributionUrl": "<URL>",`| Optional, link associated to the attribution |
347
344
|`"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. |
348
346
|`"minScale": <min_scale>,`| Optional, minimum scale denominator from which to render the layer. |
349
347
|`"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`. |
351
349
|`"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`. |
352
352
|`<Layer params>`| Parameters according to the specified layer type. |
353
353
354
354
Some minimal examples of supported background layers:
0 commit comments