Skip to content

Commit b716828

Browse files
committed
Document wmsOnly theme config setting
1 parent 4a1291b commit b716828

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/configuration/ThemesConfiguration.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ The format of the theme definitions is as follows:
134134
|-------------------------------------------------|-----------------------------------------------------------------------------------|
135135
| `"id": "<id>",` | Theme identificator. Autogenerated if not specified. |
136136
| `"url": "<WMS URL>",` | The address of desired WMS served by QGIS Server. |
137-
| `"mapCrs: "<EPSG code>",` | Optional, map projection, defaults to `defaultMapCrs`. |
137+
| `"mapCrs": "<EPSG code>",` | Optional, map projection, defaults to `defaultMapCrs`. |
138+
| `"wmsOnly": <true|false>` | Optional, whether the entry should only be configured as a WMS, and not as a theme. |
138139
| `"title": "<Custom title>",` | Optional, override WMS title. |
139140
| `"description": "<Description>",` | Optional, an additional description to show below the theme title. |
140141
| `"thumbnail": "<Filename>",` | Optional, image file in `assets/img/mapthumbs` (see [Viewer assets](ViewerConfiguration.md#viewer-asset)). If omitted, `<project_basename>.png` will be used if it exists below `assets/img/mapthumbs`, otherwise it is autogenerated via WMS GetMap. |

0 commit comments

Comments
 (0)