<?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: Accessing two layers from different services in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-two-layers-from-different-services/m-p/700131#M65209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand your question correctly, you should be able to do this with a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm"&gt;graphics layer&lt;/A&gt;&lt;SPAN&gt;. You can &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;query&lt;/A&gt;&lt;SPAN&gt; your layers to get your features and then add them to a single graphics layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2011 17:39:05 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2011-12-05T17:39:05Z</dc:date>
    <item>
      <title>Accessing two layers from different services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-two-layers-from-different-services/m-p/700130#M65208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pretty new to AGS JS api, and we are stuck at a simple problem. Our search is based on extents and sql query and need to fetch the search results as layers from different services. As we have already designed and established our data infrastructure and have many services serving all the layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to get 2 layers from 2 different services. Each service may have more than one layers and we are interested in getting selected ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to do this using JS api? We have seen similar examples, but they are for getting selected layers from a single service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips would be really helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sajid&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 15:16:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-two-layers-from-different-services/m-p/700130#M65208</guid>
      <dc:creator>SajidPareeth</dc:creator>
      <dc:date>2011-12-05T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing two layers from different services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-two-layers-from-different-services/m-p/700131#M65209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand your question correctly, you should be able to do this with a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/graphicslayer.htm"&gt;graphics layer&lt;/A&gt;&lt;SPAN&gt;. You can &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm"&gt;query&lt;/A&gt;&lt;SPAN&gt; your layers to get your features and then add them to a single graphics layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 17:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-two-layers-from-different-services/m-p/700131#M65209</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-12-05T17:39:05Z</dc:date>
    </item>
  </channel>
</rss>

