Thanks to both for your quickly reply. However, I think it was a stupid question because not looking into the API doc. The answer of Jody is clear and easy for my purposes.
PD: After make some code I try to sign in in the confluence site and put the example. Jody Garnett wrote: > > 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 > > -- View this message in context: http://www.nabble.com/WMS-request-with-style-tf4356240.html#a12417011 Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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
