Hi,<br><br>I need to "switch on" a layer when another layer is switch with a wms request from an user.<br><br>Actually mapserver allow the "requires" element.<br>This is complementary to my need.<br>Infact "requires" don't allow the switch on of a layer if the request thereisn't another layer (as declared from the requires clause).<br>
Instead I need an action that force the switch-on of a specific layer when another layer is requested in a wms-request.<br><br>An example:<br><br>In the Map there is two layer: Layer-A and Layer-B<br>and the Layer-A and Layer-B are related with the "requires" tag.<br>
<br>On a wms-request as this:<br><br>..&Layers=Layer-A"<br><br>will produce an empty map.<br><br>Instead a request like<br>..&Layers=Layer-A,Layer-B"<br>
<br>will produce a map with LayerA+Layer-B.<br><br>Instead I guess this new element should be relate Layer-A and Layer-B<br>so that when the user will do a request like this:<br><br>..&Layers=Layer-A"<br>
<br>The map produced will be:<br><br>Layer-A+Layer-B<br><br><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty אטלעש<br>-----------------<br><br>