<?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 Identify search results in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-search-results/m-p/263412#M24402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I was wondering, has anybody ever been asked to automatically return search result data to a calling web page&amp;nbsp;based on a mouse click alone (i.e. without the user first selecting anything from any results pop ups that may appear following the search)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an identify task that queries multiple layers, including line, point and polygon features. I know how to return result data to a calling page, it is working out if it is possible to select the correct data to return automatically that is making me think. E.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A user clicks a point on the map.&lt;/P&gt;&lt;P&gt;A search (I'm using an identify search currently) queries&amp;nbsp;layers A, B, C, D E.&lt;/P&gt;&lt;P&gt;Without any further user interaction , the map automatically returns layer A feature x, layer B feature y, layer C feature z … etc. which correspond to the point click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One or two of the underlying layers are relatable by common attributes, but generally speaking they are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature layers are displayed on the map, so this gives the illusion to a user that they are clicking&amp;nbsp;'on a feature'.&lt;/P&gt;&lt;P&gt;But due to identify searches being based on a map point click&amp;nbsp;(that is, for an identify search, a user&amp;nbsp;clicks a point on the map, not&amp;nbsp;&amp;nbsp;'on a feature'), and identify search tolerances etc. it seems to me that it is a standard for users to select the features they are interested in following a search, rather than for things to happen automatically (I should add that&amp;nbsp;I would know&amp;nbsp;which feature to return if there were only 1 search result for a particular layer etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the way features appear&amp;nbsp;on a map may change depending on&amp;nbsp; the scale the map is viewed at.&amp;nbsp;&amp;nbsp;E.g. a point click on the outer edge of, say, &amp;nbsp;a circular point symbol may appear to be in a different underlying polygon layer feature, depending on the scale the map is viewed at and how close the point feature is to the polygon boundary. Another way of putting it -&amp;nbsp;a point feature's x,y value will always be in the same polygon feature, regardless of scale, but the x,y value of a point click on the outer edge of a point feature's symbol (still a 'click on the feature', from the user's point of view) Is not the same as the x,y value of the&amp;nbsp;feature, so may actually fall within a different polygon feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be other issues. All of the samples I have seen are based on users selecting search result features that they are interested in, and this makes sense to me. I was just wondering if anybody else had ever come across&amp;nbsp;a request to select things automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 14:07:39 GMT</pubDate>
    <dc:creator>GISTeam2</dc:creator>
    <dc:date>2020-01-14T14:07:39Z</dc:date>
    <item>
      <title>Identify search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-search-results/m-p/263412#M24402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I was wondering, has anybody ever been asked to automatically return search result data to a calling web page&amp;nbsp;based on a mouse click alone (i.e. without the user first selecting anything from any results pop ups that may appear following the search)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an identify task that queries multiple layers, including line, point and polygon features. I know how to return result data to a calling page, it is working out if it is possible to select the correct data to return automatically that is making me think. E.g.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A user clicks a point on the map.&lt;/P&gt;&lt;P&gt;A search (I'm using an identify search currently) queries&amp;nbsp;layers A, B, C, D E.&lt;/P&gt;&lt;P&gt;Without any further user interaction , the map automatically returns layer A feature x, layer B feature y, layer C feature z … etc. which correspond to the point click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One or two of the underlying layers are relatable by common attributes, but generally speaking they are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The feature layers are displayed on the map, so this gives the illusion to a user that they are clicking&amp;nbsp;'on a feature'.&lt;/P&gt;&lt;P&gt;But due to identify searches being based on a map point click&amp;nbsp;(that is, for an identify search, a user&amp;nbsp;clicks a point on the map, not&amp;nbsp;&amp;nbsp;'on a feature'), and identify search tolerances etc. it seems to me that it is a standard for users to select the features they are interested in following a search, rather than for things to happen automatically (I should add that&amp;nbsp;I would know&amp;nbsp;which feature to return if there were only 1 search result for a particular layer etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the way features appear&amp;nbsp;on a map may change depending on&amp;nbsp; the scale the map is viewed at.&amp;nbsp;&amp;nbsp;E.g. a point click on the outer edge of, say, &amp;nbsp;a circular point symbol may appear to be in a different underlying polygon layer feature, depending on the scale the map is viewed at and how close the point feature is to the polygon boundary. Another way of putting it -&amp;nbsp;a point feature's x,y value will always be in the same polygon feature, regardless of scale, but the x,y value of a point click on the outer edge of a point feature's symbol (still a 'click on the feature', from the user's point of view) Is not the same as the x,y value of the&amp;nbsp;feature, so may actually fall within a different polygon feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be other issues. All of the samples I have seen are based on users selecting search result features that they are interested in, and this makes sense to me. I was just wondering if anybody else had ever come across&amp;nbsp;a request to select things automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-search-results/m-p/263412#M24402</guid>
      <dc:creator>GISTeam2</dc:creator>
      <dc:date>2020-01-14T14:07:39Z</dc:date>
    </item>
  </channel>
</rss>

