<?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 Equipment search across the layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281884#M26038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I perform search across the layers? I need to search provided equipment across the layers and other equipment too which are falling in the given radius. e.g. Search all equipment across 5 layers based on the selected equipment (or it's geometry) and provided radius. Radius can be different for each layer.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use following logic but I am thinking may be if there is any better way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Find out equipment's geometry by using QueryTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Create instance of Circle based on the geometry I get from point # 1 for all layers and query again for all layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 17:04:11 GMT</pubDate>
    <dc:creator>BhavinSanghani</dc:creator>
    <dc:date>2014-06-19T17:04:11Z</dc:date>
    <item>
      <title>Equipment search across the layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281884#M26038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I perform search across the layers? I need to search provided equipment across the layers and other equipment too which are falling in the given radius. e.g. Search all equipment across 5 layers based on the selected equipment (or it's geometry) and provided radius. Radius can be different for each layer.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use following logic but I am thinking may be if there is any better way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Find out equipment's geometry by using QueryTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Create instance of Circle based on the geometry I get from point # 1 for all layers and query again for all layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 17:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281884#M26038</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2014-06-19T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Equipment search across the layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281885#M26039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something like this example? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/query_buffer.html"&gt;https://developers.arcgis.com/javascript/jssamples/query_buffer.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you just need a buffer query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 19:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281885#M26039</guid>
      <dc:creator>VernWolfley</dc:creator>
      <dc:date>2014-06-19T19:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Equipment search across the layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281886#M26040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This example query only 1 layer. I need to query multiple layers and also with different radius/uom on each layer. I want to avoid looping through all layers and search the equipment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 20:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281886#M26040</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2014-06-19T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Equipment search across the layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281887#M26041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know if you still need help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In generally, you can pass an array of layers to a function.&lt;/P&gt;&lt;P&gt;Each time you loop through the array, you execute an querytask.&lt;/P&gt;&lt;P&gt;Last, use an instance of "dojo/promise/all" to wait until all results are received and do something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 20:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/equipment-search-across-the-layers/m-p/281887#M26041</guid>
      <dc:creator>YungKaiChin</dc:creator>
      <dc:date>2014-07-18T20:34:30Z</dc:date>
    </item>
  </channel>
</rss>

