<?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: How to trigger multiple GraphicsLayer OnClick() with overlapping images? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430568#M39624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the approach I would take:&amp;nbsp; when your map is clicked, use the method outlined in a &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/02/08/Find-graphics-under-a-mouse-click-with-the-ArcGIS-API-for-JavaScript.aspx"&gt;previous server blog post&lt;/A&gt;&lt;SPAN&gt; to filter graphics. That means building an extent around your click point and then checking if graphics intersect it. This is applicable to one or many graphics layers�?? it's up to you. For one graphics layer, one dojo.filter statement will get the job done. For more than one, you would use a dojo.filter for each graphics layer and then combine the results.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 16:53:07 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-02-07T16:53:07Z</dc:date>
    <item>
      <title>How to trigger multiple GraphicsLayer OnClick() with overlapping images?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430567#M39623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI newbie here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have map images that overlap sometimes. These overlapping images could be on the same graphics layer and/or different graphic layers. On the click event, I only get the top image graphic. I need a list of all the graphics behind a click event, same graphic layer or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I do that?&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;Marcus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430567#M39623</guid>
      <dc:creator>MarcusC</dc:creator>
      <dc:date>2012-02-07T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple GraphicsLayer OnClick() with overlapping images?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430568#M39624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the approach I would take:&amp;nbsp; when your map is clicked, use the method outlined in a &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2010/02/08/Find-graphics-under-a-mouse-click-with-the-ArcGIS-API-for-JavaScript.aspx"&gt;previous server blog post&lt;/A&gt;&lt;SPAN&gt; to filter graphics. That means building an extent around your click point and then checking if graphics intersect it. This is applicable to one or many graphics layers�?? it's up to you. For one graphics layer, one dojo.filter statement will get the job done. For more than one, you would use a dojo.filter for each graphics layer and then combine the results.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 16:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430568#M39624</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-07T16:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple GraphicsLayer OnClick() with overlapping images?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430569#M39625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm on it. Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 18:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-trigger-multiple-graphicslayer-onclick-with/m-p/430569#M39625</guid>
      <dc:creator>MarcusC</dc:creator>
      <dc:date>2012-02-07T18:58:38Z</dc:date>
    </item>
  </channel>
</rss>

