<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WMS with SLD, how to implement? (What does the styleName attribute do?) in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wms-with-sld-how-to-implement-what-does-the/m-p/7408#M159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To send the STYLES parameter in the GetMap request, add it to the url of your service like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:WMSLayer url="http://wms.jpl.nasa.gov/wms.cgi?STYLES=Mar"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example not working but this is the way you have to take.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 19:21:55 GMT</pubDate>
    <dc:creator>YannCabon</dc:creator>
    <dc:date>2013-02-26T19:21:55Z</dc:date>
    <item>
      <title>WMS with SLD, how to implement? (What does the styleName attribute do?)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wms-with-sld-how-to-implement-what-does-the/m-p/7407#M158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm currently trying to get a WMSLayer to display a map layer with a style applied to it, but I'm having trouble figuring out how to properly implement it. I've defined the SLD within the source URL for the WMSLayer component, but I can't seem to figure out how to define the name of the style (the "STYLES=" portion of the WMS url). Using Firebug, I can see that the WMSLayer component adds "STYLES=" to the generated URL but I can't seem to find a way to populate that attribute. I see that there is a "styleName" attribute of the WMSLayer component, but assigning something to that attribute doesn't seem to actually set the STYLES parameter within the generated map URL. If "styleName" doesn't set the STYLES parameter, then what does it do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 12:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wms-with-sld-how-to-implement-what-does-the/m-p/7407#M158</guid>
      <dc:creator>JasonCantrell</dc:creator>
      <dc:date>2013-02-26T12:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: WMS with SLD, how to implement? (What does the styleName attribute do?)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/wms-with-sld-how-to-implement-what-does-the/m-p/7408#M159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To send the STYLES parameter in the GetMap request, add it to the url of your service like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:WMSLayer url="http://wms.jpl.nasa.gov/wms.cgi?STYLES=Mar"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example not working but this is the way you have to take.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 19:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/wms-with-sld-how-to-implement-what-does-the/m-p/7408#M159</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2013-02-26T19:21:55Z</dc:date>
    </item>
  </channel>
</rss>

