<?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: what is a better way to get all graphicsLayer (not feature layer) only? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/what-is-a-better-way-to-get-all-graphicslayer-not/m-p/589984#M15677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;if ( map.getLayer(map.graphicsLayerIds&lt;J&gt;).declaredClass === "esri.layers.GraphicsLayer")&lt;/J&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 03:04:27 GMT</pubDate>
    <dc:creator>XiaodongWang</dc:creator>
    <dc:date>2016-06-30T03:04:27Z</dc:date>
    <item>
      <title>what is a better way to get all graphicsLayer (not feature layer) only?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/what-is-a-better-way-to-get-all-graphicslayer-not/m-p/589983#M15676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which one is better? or are there any better ways of doing this? thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( map.getLayer(map.graphicsLayerIds&lt;J&gt;).type != "Feature Layer")&lt;/J&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;if ( !map.getLayer(map.graphicsLayerIds&lt;J&gt;).hasOwnProperty("type"))&lt;/J&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/what-is-a-better-way-to-get-all-graphicslayer-not/m-p/589983#M15676</guid>
      <dc:creator>Alexwang</dc:creator>
      <dc:date>2016-06-28T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: what is a better way to get all graphicsLayer (not feature layer) only?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/what-is-a-better-way-to-get-all-graphicslayer-not/m-p/589984#M15677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;if ( map.getLayer(map.graphicsLayerIds&lt;J&gt;).declaredClass === "esri.layers.GraphicsLayer")&lt;/J&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 03:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/what-is-a-better-way-to-get-all-graphicslayer-not/m-p/589984#M15677</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2016-06-30T03:04:27Z</dc:date>
    </item>
  </channel>
</rss>

