<?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 4.29 - HitTest not CORRECT in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1376930#M83509</link>
    <description>&lt;P&gt;I have a FeatureLayer with 2 Graphics and rendering them with CIM symbols: '0'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_0-1706711232064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93283i1BF2A18065AB9000/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_0-1706711232064.png" alt="michaelkdev_0-1706711232064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My HitTest function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; view.on("click", (event) =&amp;gt; {
        view.hitTest(event).then((result) =&amp;gt; {
          ... 
        }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When clicking next to the graphic. hitTest is still returning these graphics sometimes. It looks like the click area is sometimes larger than it should.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_1-1706711540918.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93285iDC8C2B46D6D5016C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_1-1706711540918.png" alt="michaelkdev_1-1706711540918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The green marker is the position of the mouse click event.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_2-1706711604970.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93286i0732DE3B829FA517/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_2-1706711604970.png" alt="michaelkdev_2-1706711604970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When clicking at the red spot, no graphics in hitResults.&lt;BR /&gt;&lt;BR /&gt;Sometimes it even triggers the wrong graphic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 08:50:21 GMT</pubDate>
    <dc:creator>michaelpoa</dc:creator>
    <dc:date>2024-02-01T08:50:21Z</dc:date>
    <item>
      <title>4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1376930#M83509</link>
      <description>&lt;P&gt;I have a FeatureLayer with 2 Graphics and rendering them with CIM symbols: '0'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_0-1706711232064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93283i1BF2A18065AB9000/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_0-1706711232064.png" alt="michaelkdev_0-1706711232064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My HitTest function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; view.on("click", (event) =&amp;gt; {
        view.hitTest(event).then((result) =&amp;gt; {
          ... 
        }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When clicking next to the graphic. hitTest is still returning these graphics sometimes. It looks like the click area is sometimes larger than it should.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_1-1706711540918.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93285iDC8C2B46D6D5016C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_1-1706711540918.png" alt="michaelkdev_1-1706711540918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The green marker is the position of the mouse click event.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_2-1706711604970.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93286i0732DE3B829FA517/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_2-1706711604970.png" alt="michaelkdev_2-1706711604970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When clicking at the red spot, no graphics in hitResults.&lt;BR /&gt;&lt;BR /&gt;Sometimes it even triggers the wrong graphic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 08:50:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1376930#M83509</guid>
      <dc:creator>michaelpoa</dc:creator>
      <dc:date>2024-02-01T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377047#M83516</link>
      <description>&lt;P&gt;Hi Michael,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not fixed. &amp;nbsp;I will update you when we have a fix.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 15:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377047#M83516</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-02-01T15:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377387#M83526</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Nice to see you here. I noticed that the MapView.hitTest method in version 4.29 can retrieve features from the vectorTileLayer, which is a great feature. However, in my testing, I found that the SceneView.hitTest method does not currently support this functionality. I would like to inquire if there are any plans to make the SceneView.hitTest method also support retrieving features from the vectorTileLayer? Additionally, Do you happen to know the approximate release date for version 4.29? Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 01:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377387#M83526</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-02-02T01:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377399#M83527</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;VectorTIleLayer hitTest will only be supported in 2D MapView at version 4.29. We will definitely add support it in 3D SceneView. Hopefully sooner than later.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 02:03:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377399#M83527</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-02-02T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377402#M83529</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/53756"&gt;@UndralBatsukh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You're very welcome! Looking forward to it! Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 02:11:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1377402#M83529</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2024-02-02T02:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: 4.29 - HitTest not CORRECT</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1378372#M83567</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we just fixed this issue and you will be able to test it out on our next version. Here is your app pointing to next version: &lt;A href="https://codepen.io/U_B_U/pen/ExOWVgr?editors=1000" target="_blank"&gt;https://codepen.io/U_B_U/pen/ExOWVgr?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 20:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-29-hittest-not-correct/m-p/1378372#M83567</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2024-02-05T20:19:09Z</dc:date>
    </item>
  </channel>
</rss>

