<?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 getLegendUrl for WebTiledLayer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getlegendurl-for-webtiledlayer/m-p/569940#M53141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, using the JavaScript API Legend dijit, the legend makes a request to the template url, like /level/row/col/legend. Obviously, that won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some people want to turn off that layer in the legend, for example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/85662"&gt;Prevent invalid legend layers (e.g., WebTiledLayer) from being sent to legend widget&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I'd like to provide my own legend data for the layer.&lt;/P&gt;&lt;P&gt;1) Is there an undocumented getLegendUrl method that my class can implemented? &lt;/P&gt;&lt;P&gt;if not:&lt;/P&gt;&lt;P&gt;2) Without having access to the source code, is there some private method I can override as a hack until the dijit supports WebTiled layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Oct 2014 15:58:20 GMT</pubDate>
    <dc:creator>deleted-user-Jie3eyjOl9XM</dc:creator>
    <dc:date>2014-10-09T15:58:20Z</dc:date>
    <item>
      <title>getLegendUrl for WebTiledLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getlegendurl-for-webtiledlayer/m-p/569940#M53141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, using the JavaScript API Legend dijit, the legend makes a request to the template url, like /level/row/col/legend. Obviously, that won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some people want to turn off that layer in the legend, for example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/85662"&gt;Prevent invalid legend layers (e.g., WebTiledLayer) from being sent to legend widget&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I'd like to provide my own legend data for the layer.&lt;/P&gt;&lt;P&gt;1) Is there an undocumented getLegendUrl method that my class can implemented? &lt;/P&gt;&lt;P&gt;if not:&lt;/P&gt;&lt;P&gt;2) Without having access to the source code, is there some private method I can override as a hack until the dijit supports WebTiled layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 15:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getlegendurl-for-webtiledlayer/m-p/569940#M53141</guid>
      <dc:creator>deleted-user-Jie3eyjOl9XM</dc:creator>
      <dc:date>2014-10-09T15:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: getLegendUrl for WebTiledLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getlegendurl-for-webtiledlayer/m-p/569941#M53142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked a dumb question. I forgot that I'm using the Spriggs' widget, which is a wrapper for the esri Legend dijit. This widget is manually making the calls to /legend on all of the layers. All I need to do is filter out the WebTiledLayer, and replace those calls with my own calls. &lt;/P&gt;&lt;P&gt;Duh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 16:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getlegendurl-for-webtiledlayer/m-p/569941#M53142</guid>
      <dc:creator>deleted-user-Jie3eyjOl9XM</dc:creator>
      <dc:date>2014-10-09T16:27:34Z</dc:date>
    </item>
  </channel>
</rss>

