<?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 legendURL property in class WMSLayerInfo in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legendurl-property-in-class-wmslayerinfo/m-p/495154#M11356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I'm working on a custom widget that deals with WMS-services among other things. I want the legendURL for all layers in a WMS-service, and when I'm debugging my application I can see that there is a legendURL property in the class WMSLayerInfo (in the WMSLayer.layerInfos array). But the API reference doesn't mention anything about it, the only properties is abstract, extent, name, subLayers and title.&lt;BR /&gt;The variable view shows these properties as green circles and the legendURL as a yellow diamond as the image below shows. &lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/83445_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;When trying to get the value from legendURL with WMSLayerInfo.legendURL in my code I'm getting the error &lt;BR /&gt;&lt;STRONG&gt;1178: Attempted access of inaccessible property legendURL through a reference with static type com.esri.ags.layers.supportClasses:WMSLayerInfo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can get that legendURL value? or do I have to make my own call to the GetCapabilities XML for the service and extract the legend URLs from there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Mattias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 12:18:08 GMT</pubDate>
    <dc:creator>MattiasEkström</dc:creator>
    <dc:date>2015-04-09T12:18:08Z</dc:date>
    <item>
      <title>legendURL property in class WMSLayerInfo</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/legendurl-property-in-class-wmslayerinfo/m-p/495154#M11356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I'm working on a custom widget that deals with WMS-services among other things. I want the legendURL for all layers in a WMS-service, and when I'm debugging my application I can see that there is a legendURL property in the class WMSLayerInfo (in the WMSLayer.layerInfos array). But the API reference doesn't mention anything about it, the only properties is abstract, extent, name, subLayers and title.&lt;BR /&gt;The variable view shows these properties as green circles and the legendURL as a yellow diamond as the image below shows. &lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/83445_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;When trying to get the value from legendURL with WMSLayerInfo.legendURL in my code I'm getting the error &lt;BR /&gt;&lt;STRONG&gt;1178: Attempted access of inaccessible property legendURL through a reference with static type com.esri.ags.layers.supportClasses:WMSLayerInfo.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can get that legendURL value? or do I have to make my own call to the GetCapabilities XML for the service and extract the legend URLs from there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Mattias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 12:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/legendurl-property-in-class-wmslayerinfo/m-p/495154#M11356</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2015-04-09T12:18:08Z</dc:date>
    </item>
  </channel>
</rss>

