The WMSRequest interface has the following: - addLayer( layer ) - addLayer( layer, style ) - addLayer( layer, styleName ) - addLayer( layerName, stryleName ) - addLayer( layerName, style )
You can figure out the valid style names the same kind of way you figured out valid formats; hunt around in the metadata. If you get some example code can you share it with the list? Cheers, Jody > Hi group, > > I know how to request a map on a server thanks to this link > http://docs.codehaus.org/display/GEOTDOC/WMS > http://docs.codehaus.org/display/GEOTDOC/WMS . > > For each layer I can get its possible styles. My question (or problem) is: > how can I request a layer with an specific style? > > Thanks. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
