<?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: I need to navigate through stacked elements on a click event. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411327#M37893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use another type of popup when there are many features at the same point in this &lt;A href="http://maps.coastalscience.noaa.gov/dataviewer/dataviewer.html?id=LIS"&gt;application&lt;/A&gt;. I'm returning all the features for the visible layers found in an IdentifyTask and put them into a dGrid. The features are grouped by layer on separate tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 20:14:05 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2015-05-05T20:14:05Z</dc:date>
    <item>
      <title>I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411324#M37890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have sign supports and street sign layers. Sometimes the layers will be stacked and the elements will be too. What do I need to do to navigate through the layers and the elements of the layer that are located at the exact same location?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have to evaluate an individual element from the street supports layer:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var supportId, type, address;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.supportLayer.on("click", function (evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; supportId = evt.graphic.attributes.SUPPORTID;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = evt.graphic.attributes.TYPE;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address = evt.graphic.attributes.ADDRESS;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.attributesModal.modal("show");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("address").value = address;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(supportId);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(type);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(address);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an editor widget that does the same thing. I had to make a larger form for mobile devices:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="signForm1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/94843_signForm1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="signForm2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/94853_signForm2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411324#M37890</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2021-12-11T18:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411325#M37891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would an identify task work for you?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/find_drilldown.html" title="https://developers.arcgis.com/javascript/jssamples/find_drilldown.html"&gt;Identify features on a map | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a parameter "layerOption" that you can specify (&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; background-color: #fafafa;"&gt;LAYER_OPTION_ALL, &lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; background-color: #ededed;"&gt;LAYER_OPTION_TOP, &lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; background-color: #fafafa;"&gt;LAYER_OPTION_VISIBLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/identifyparameters.html#layeroption" title="https://developers.arcgis.com/javascript/jsapi/identifyparameters.html#layeroption"&gt;IdentifyParameters | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411325#M37891</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-05-05T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411326#M37892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to do the same with graphics, there's a method to do this, too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2010/02/08/find-graphics-under-a-mouse-click-with-the-arcgis-api-for-javascript/" title="http://blogs.esri.com/esri/arcgis/2010/02/08/find-graphics-under-a-mouse-click-with-the-arcgis-api-for-javascript/"&gt;Find graphics under a mouse click with the ArcGIS API for JavaScript | ArcGIS Blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 19:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411326#M37892</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-05-05T19:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411327#M37893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use another type of popup when there are many features at the same point in this &lt;A href="http://maps.coastalscience.noaa.gov/dataviewer/dataviewer.html?id=LIS"&gt;application&lt;/A&gt;. I'm returning all the features for the visible layers found in an IdentifyTask and put them into a dGrid. The features are grouped by layer on separate tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411327#M37893</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-05-05T20:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411328#M37894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had something like that for another app, but I need to populate a form for field use and data entry on a mobile device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411328#M37894</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-05T20:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: I need to navigate through stacked elements on a click event.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411329#M37895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could possibly hide the grid and then get the value of the element of the grid. It looks some identifies place multiple rows as the identified location. Still need to navigate between layers or in that case tabs. Are you able to get values from an individual cell?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 20:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/i-need-to-navigate-through-stacked-elements-on-a/m-p/411329#M37895</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-05T20:49:23Z</dc:date>
    </item>
  </channel>
</rss>

