Here is the description which I coped from geoserver
layers Yes Layers to display on map. Value is a comma-separated list of layer names. styles Yes Styles in which layers are to be rendered. Value is a comma-separated list of style names, or empty if default styling is required. Style names may be empty in the list, to use default layer styling.
However, I have questions:
- Can 1 layer have multiple styles applied on it for just 1 GetMap request? e.g: layers=world_map&styles=style1,style2,style3 (with style1, style2 and style3 belong to world_map layer)
- Can multiple layers have only 1 style (i.e: this style is applied to all input layers or just the layer1)? e.g: layers=layer1,layer2,layer3,...&styles=style1 (with style1 belong to layer1)
- Can the number of layers and the number of styles be different? e.g: layers=layer1,layer2&style=style1,style2,style3,style4,style5? (with style1 and style2 belong to layer1, style3, style4 and style 5 belong to layer2).
I think these 3 cases are valid?