<?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 Will the hitTest tolerance be configurable? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1340102#M82525</link>
    <description>&lt;P&gt;hi! is there any chance in the 4.28 release next week that the hitTest tolerance is configurable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per this thread, (&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-on-4-23-hittest-return-value/m-p/1157844" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-on-4-23-hittest-return-value/m-p/1157844&lt;/A&gt;),&amp;nbsp; &amp;nbsp;someone mentioned that the tolerance is hardcoded at 6 pixels and that they would raise with the development team about making it configurable.&amp;nbsp; 6 pixels is enormous for non-mobile applications. We have custom shape markers on our map like stars and our hover feedback/tooltip appears when we're still relatively far away from the border of the star marker!!&lt;/P&gt;&lt;P&gt;Here's a screenshot of our app....where the tooltip bottom left corner is where the hitTest thinks we "hit" the marker (Trader's Joe).&amp;nbsp; It's way off from the actual marker.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanTiu_0-1697818338904.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83607i9FBD58A3C68453AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanTiu_0-1697818338904.png" alt="JonathanTiu_0-1697818338904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 16:13:26 GMT</pubDate>
    <dc:creator>JonathanTiu</dc:creator>
    <dc:date>2023-10-20T16:13:26Z</dc:date>
    <item>
      <title>Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1340102#M82525</link>
      <description>&lt;P&gt;hi! is there any chance in the 4.28 release next week that the hitTest tolerance is configurable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per this thread, (&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-on-4-23-hittest-return-value/m-p/1157844" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clarification-on-4-23-hittest-return-value/m-p/1157844&lt;/A&gt;),&amp;nbsp; &amp;nbsp;someone mentioned that the tolerance is hardcoded at 6 pixels and that they would raise with the development team about making it configurable.&amp;nbsp; 6 pixels is enormous for non-mobile applications. We have custom shape markers on our map like stars and our hover feedback/tooltip appears when we're still relatively far away from the border of the star marker!!&lt;/P&gt;&lt;P&gt;Here's a screenshot of our app....where the tooltip bottom left corner is where the hitTest thinks we "hit" the marker (Trader's Joe).&amp;nbsp; It's way off from the actual marker.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanTiu_0-1697818338904.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83607i9FBD58A3C68453AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanTiu_0-1697818338904.png" alt="JonathanTiu_0-1697818338904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 16:13:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1340102#M82525</guid>
      <dc:creator>JonathanTiu</dc:creator>
      <dc:date>2023-10-20T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1341444#M82552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/697272"&gt;@JonathanTiu&lt;/a&gt;. Thanks for posting your question here. This issue did not get addressed for 4.28, but is still being actively considered for a future release.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 15:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1341444#M82552</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2023-10-25T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1377828#M83541</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/697272"&gt;@JonathanTiu&lt;/a&gt;&amp;nbsp;good news! We have updated the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest" target="_self"&gt;MapView.hitTest()&lt;/A&gt; method's tolerance for desktop (activity with a mouse) to a 1px radius for most symbols at version 4.29. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 21:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1377828#M83541</guid>
      <dc:creator>LaurenBoyd</dc:creator>
      <dc:date>2024-02-02T21:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1404943#M84202</link>
      <description>&lt;P&gt;Wonderful!&amp;nbsp; thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 22:54:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1404943#M84202</guid>
      <dc:creator>JonathanTiu</dc:creator>
      <dc:date>2024-04-02T22:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1404968#M84204</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400217"&gt;@LaurenBoyd&lt;/a&gt;&amp;nbsp; !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just tried 4.29.&amp;nbsp; it seems it's still showing a larger radius than 1px... the upper left corner of our tooltip is where it thinks the hitTest said we hit something and we are clearly still far from the border of the star symbol.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanTiu_0-1712104284525.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99854i595D7C9C209DF91A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanTiu_0-1712104284525.png" alt="JonathanTiu_0-1712104284525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you said most symbols, what about symbols specified with a custom svgPath?&lt;/P&gt;&lt;P&gt;In my screenshot, the star shaped marker symbol is defined by an svg path.&amp;nbsp; like this:&lt;/P&gt;&lt;P&gt;const symbol = new esri.SimpleMarkerSymbol();&lt;BR /&gt;symbol.path = 'M63.029,34.451l21.416,32.005c0.204,0.305,0.511,0.528,0.864,0.628l37.061,10.478 c1.059,0.3,1.475,1.579,0.794,2.444l-23.823,30.253c-0.227,0.289-0.344,0.649-0.33,1.016l1.494,38.482 c0.043,1.1-1.046,1.891-2.079,1.511l-36.148-13.307c-0.345-0.127-0.723-0.127-1.068,0l-36.141,13.307 c-1.033,0.38-2.121-0.41-2.079-1.51l1.487-38.482c0.014-0.367-0.103-0.727-0.33-1.016L0.332,80.006 c-0.681-0.865-0.265-2.144,0.794-2.444l37.06-10.479c0.354-0.1,0.66-0.323,0.864-0.628l21.409-32.004 C61.071,33.536,62.417,33.536,63.029,34.451z';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 01:03:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1404968#M84204</guid>
      <dc:creator>JonathanTiu</dc:creator>
      <dc:date>2024-04-03T01:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Will the hitTest tolerance be configurable?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1526213#M85467</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We opened an enhancement request for this issue.&amp;nbsp; It is not an acceptable solution for us to switch to FeatureLayer.&amp;nbsp; We are using GraphicLayer and can't change&lt;/P&gt;&lt;P&gt;&lt;A href="https://my.esri.com/#/support/bugs/bugs?bugNumber=ENH-000163796" target="_blank"&gt;https://my.esri.com/#/support/bugs/bugs?bugNumber=ENH-000163796&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 22:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-the-hittest-tolerance-be-configurable/m-p/1526213#M85467</guid>
      <dc:creator>JonathanTiu</dc:creator>
      <dc:date>2024-08-22T22:29:08Z</dc:date>
    </item>
  </channel>
</rss>

