Incorrect work ArcGIS js api 4.10 hitTest

412
1
Jump to solution
02-12-2019 05:17 AM

Sometimes in my project with live data method hitTest of MapView work incorrect.
I created example with incorrect work https://jsfiddle.net/catcherholms/4f69qck8/32/

But after patching hitTest method in views/2d/layers/graphics/GraphicStore.js it work correct.
Example with patching https://jsfiddle.net/catcherholms/x705em2L/17/

In examples after clicking on marker should be JavaScript alert.
In first example it isn`t working.

Question: Is correct way of my solution for resolving this issue?

About patch. In this example https://jsfiddle.net/catcherholms/x705em2L/17/ I pass bound property of element instead of aaBoundingRect. (98 line)

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

It is a known issue at 4.10. This is fixed in 4.11 which will be released in late March.

-Undral

View solution in original post

1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

It is a known issue at 4.10. This is fixed in 4.11 which will be released in late March.

-Undral