<?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: Feature Layer click not fired when clicked on label in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-click-not-fired-when-clicked-on/m-p/162745#M15136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haider,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is by design as the label is a separate graphic with it own event lifecycle. I am not aware of an easy way to get the graphic that the label is associated with.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2017 17:11:31 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-03-02T17:11:31Z</dc:date>
    <item>
      <title>Feature Layer click not fired when clicked on label</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-click-not-fired-when-clicked-on/m-p/162744#M15135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to fire click event of feature layer graphic even when user clicked on its label but layer click event is not firing , it is by design this way or there is some issue, i can get the label graphic on map click from&amp;nbsp;_internal_LabelLayer &amp;nbsp;but i cant get the graphic on which label is placed by simple way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hard way is that i check all the feature layer graphic if label point contain in any polygon by using geometryEngine. Is there any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the fiddle , click on the label of states to see no alert is generated.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsfiddle.net/agha_ali22/wpudv1dp/" title="https://jsfiddle.net/agha_ali22/wpudv1dp/"&gt;Label click - JSFiddle&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-click-not-fired-when-clicked-on/m-p/162744#M15135</guid>
      <dc:creator>Haider_Ali</dc:creator>
      <dc:date>2017-03-02T16:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layer click not fired when clicked on label</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-click-not-fired-when-clicked-on/m-p/162745#M15136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haider,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is by design as the label is a separate graphic with it own event lifecycle. I am not aware of an easy way to get the graphic that the label is associated with.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 17:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-click-not-fired-when-clicked-on/m-p/162745#M15136</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-02T17:11:31Z</dc:date>
    </item>
  </channel>
</rss>

