Skip to content

Commit 9b5bd27

Browse files
committed
Document $ external url placeholder
1 parent d5785e6 commit 9b5bd27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configuration/ViewerConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ As a special case, entries for opening external URLs can be defined in the `menu
207207
|`⁣  "key": "<key>",` | An arbitrary key (not used by existing plugins), used to lookup the label for the entry from the translations (as `appmenu.items.<key>`). |
208208
|`⁣  "title": "<key>",` | Optional: Title to use insead of `appmenu.items.<key>`. |
209209
|`⁣  "icon": "<icon>",` | As above. |
210-
|`⁣  "url": "<url>",` | The URL to open. Can contain as placeholders the keys listed in [URL Parameters](../topics/Interfacing.md#url-parameters), encolsed in `$` (i.e. `$e$` for the extent). In addition, the placeholders `$x$` and `$y$` for the individual map center coordinates are also supported. |
210+
|`⁣  "url": "<url>",` | The URL to open. Can contain as placeholders the keys listed in [URL Parameters](../topics/Interfacing.md#url-parameters), enclosed in `$` (i.e. `$e$` for the extent). In addition, the placeholders `$x$` and `$y$` for the individual map center coordinates as well as `$lang$` for the viewer language are also supported. |
211211
|`⁣  "target": "<target>"`| The target where to open the URL, if empty, `_blank` is assumed. Can be `iframe` or `:iframedialog:<windowname>:<options>` (see below) to open the link in a iframe window inside QWC. |
212212
|`}` | |
213213

0 commit comments

Comments
 (0)