Changes between Version 5 and Version 6 of OpenLayers.Layer.WMS

Show
Ignore:
Timestamp:
10/22/06 20:13:29 (7 years ago)
Author:
euzuro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenLayers.Layer.WMS

    v5 v6  
    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. 
     1See [wiki:WMS]