Skip to content

Commit 05ca8ac

Browse files
committed
Add projection to sample wmts background layer with resource string
1 parent 200f5d0 commit 05ca8ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/configuration/ThemesConfiguration.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -426,15 +426,17 @@ Some minimal examples of supported background layers:
426426
}
427427
```
428428

429-
Alternatively, WMS and WMTS background layers can also be defined specifiying a resource identifier, which will then be resolved at runtime. For example:
429+
Alternatively, WMS and WMTS background layers can also be defined specifiying a resource identifier. For example:
430430
```json
431431
{
432432
"name":"ch.swisstopo.pixelkarte-grau",
433433
"title":"National map (gray)",
434434
"resource": "wmts:https://wmts10.geo.admin.ch/EPSG/2056/1.0.0/WMTSCapabilities.xml#ch.swisstopo.pixelkarte-grau",
435+
"projection": "EPSG:2056",
435436
"thumbnail":"img/mapthumbs/default.jpg"
436437
}
437438
```
439+
438440
A background layer definition can also be a group of layers, in the format
439441
```json
440442
{

0 commit comments

Comments
 (0)