| 1 | | = OpenLayers.Layer.WMS class documentation = |
| 2 | | |
| 3 | | Three args to constructor: |
| 4 | | * ''name'' -- used for display purposes |
| 5 | | * ''url'' -- URL of WMS Service |
| 6 | | * ''params'' -- {param:'name'} style list of parameters. Via this setting, you can also override existing settings, such as the format. All params are forced to uppercase. Default parameters are: |
| 7 | | |
| 8 | | {{{ |
| 9 | | DEFAULT_PARAMS: { SERVICE: "WMS", |
| 10 | | VERSION: "1.1.1", |
| 11 | | REQUEST: "GetMap", |
| 12 | | STYLES: "", |
| 13 | | EXCEPTIONS: "application/vnd.ogc.se_inimage", |
| 14 | | FORMAT: "image/jpeg" |
| 15 | | }, |
| 16 | | }}} |
| 17 | | |
| 18 | | Typically, the one people want to edit most is the 'format' attribute. |
| | 1 | See [wiki:WMS] |