| 83 | | The "wms" remote control command instructs JOSM to open a WMS layer in the same way as with the "rectified image" menu command. |
| 84 | | |
| 85 | | GET /wms?title=foobar&urldecode=false&url=... |
| 86 | | |
| 87 | | where |
| 88 | | |
| 89 | | ||=parameter=||=required/optional=||=meaning=|| |
| 90 | | ||url||R||WMS URL in the usual format. This must be the last parameter.|| |
| 91 | | ||title||O||Title (name) of WMS layer. If not specified the title will be "remote WMS".|| |
| 92 | | ||urldecode||O||Disable URL-decoding of URL value if true. All other values will be URL-decoded anyway.|| |
| 93 | | ||cookies||O||Can be used to specify cookies for the WMS request.|| |
| 94 | | |
| 95 | | Note: The "url" parameter must be the last one. Everything after url= will be used as the WMS URL. It is not mandatory to URL-encode the value, but the WMSPlugin will try to URL-decode it unless urldecode=false is specified. If you notice that the decoding modifies the URL in an unwanted way, add "urldecode=false" before the "url" parameter. |
| 96 | | |
| 97 | | This remote control function can be disabled by setting preferences value |
| 98 | | |
| 99 | | wmsplugin.remotecontrol=false |
| 100 | | |
| 101 | | or by using the checkbox "Allow remote control" in the preferences editor. |
| | 83 | * [[Help/Preferences/RemoteControl#imagery]] - {{{imagery}}} command |