<?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: Dynamically detecting map layer service type in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701552#M65332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Derek,&lt;BR /&gt;&lt;BR /&gt;Could you please help provide some link to the documentation that states the information for declaredClass or if there are any more methods available. I tried to search through the API documentation but was not able to find anything related to layer.declaredClass &lt;BR /&gt;&lt;BR /&gt;Although it works as a great solution to my issue I am just curious to know how does this work and what other methods or properties are available.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!!!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Manish&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Found the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://livedocs.dojotoolkit.org/dijit/info#common-attributes-of-dijits"&gt;http://livedocs.dojotoolkit.org/dijit/info#common-attributes-of-dijits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;declaredClass - this is actually a relic of &lt;A href="http://livedocs.dojotoolkit.org/dojo/declare"&gt;dojo.declare&lt;/A&gt;, which is how widgets are defined. The declaredClass is a string equal to the fully qualified name of the widget class.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;require(["dijit/Dialog"], function(Dialog){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myDialog = new Dialog({ title:"foo" }, "bar");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myDialog.declaredClass == "dijit/Dialog" // true }); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 06:03:00 GMT</pubDate>
    <dc:creator>ManishkumarPatel</dc:creator>
    <dc:date>2013-11-15T06:03:00Z</dc:date>
    <item>
      <title>Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701547#M65327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looping through map layers.&amp;nbsp; How do I determine which services are dynamic vs. tiled vs. image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The layer object in the Javascript API doesn't seem to have a TYPE property.&amp;nbsp; Am I wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 18:08:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701547#M65327</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-01-19T18:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701548#M65328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use a layer's has a declaredClass property to figure out what kind of layer it is. For instance, declaredClass for a tiled layer is "esri.layers.ArcGISTiledMapServiceLayer".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 18:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701548#M65328</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-01-19T18:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701549#M65329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was the ticket.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 20:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701549#M65329</guid>
      <dc:creator>AndyStewart1</dc:creator>
      <dc:date>2012-01-19T20:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701550#M65330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My pleasure! Can you mark my previous post as the answer to the thread?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701550#M65330</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-01-19T23:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701551#M65331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Use a layer's has a declaredClass property to figure out what kind of layer it is. For instance, declaredClass for a tiled layer is "esri.layers.ArcGISTiledMapServiceLayer".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help provide some link to the documentation that states the information for declaredClass or if there are any more methods available. I tried to search through the API documentation but was not able to find anything related to layer.declaredClass &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although it works as a great solution to my issue I am just curious to know how does this work and what other methods or properties are available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 05:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701551#M65331</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2013-11-15T05:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically detecting map layer service type</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701552#M65332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Derek,&lt;BR /&gt;&lt;BR /&gt;Could you please help provide some link to the documentation that states the information for declaredClass or if there are any more methods available. I tried to search through the API documentation but was not able to find anything related to layer.declaredClass &lt;BR /&gt;&lt;BR /&gt;Although it works as a great solution to my issue I am just curious to know how does this work and what other methods or properties are available.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!!!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Manish&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Found the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://livedocs.dojotoolkit.org/dijit/info#common-attributes-of-dijits"&gt;http://livedocs.dojotoolkit.org/dijit/info#common-attributes-of-dijits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;declaredClass - this is actually a relic of &lt;A href="http://livedocs.dojotoolkit.org/dojo/declare"&gt;dojo.declare&lt;/A&gt;, which is how widgets are defined. The declaredClass is a string equal to the fully qualified name of the widget class.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;require(["dijit/Dialog"], function(Dialog){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myDialog = new Dialog({ title:"foo" }, "bar");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myDialog.declaredClass == "dijit/Dialog" // true }); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 06:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-detecting-map-layer-service-type/m-p/701552#M65332</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2013-11-15T06:03:00Z</dc:date>
    </item>
  </channel>
</rss>

