Tolerance Issue for a Feature Layer in 4.x

481
1
02-02-2021 11:40 AM
VenkataSrikanth_Dasari
Occasional Contributor

Hi @RobertScheitlin and everyone,

Upgrading 3.x to 4.x framework:

I am using mapView.hitTest() event to capture the feature layer and feature information and showing the popup window. As you can see in the screenshot mouse is not on the feature and still it is showing info window.  Kindly suggest some resolution in 4.x framework similar to tolerance property in IdentifyTask.

VenkataSrikanth_Dasari_1-1612294196048.png

 

Thanks

Srikanth

 

0 Kudos
1 Reply
LaurenBoyd
Esri Contributor

@VenkataSrikanth_Dasari - good news! We have updated the MapView.hitTest() method's tolerance for desktop (activity with a mouse) to a 1px radius for most symbols at version 4.29. Hope this helps!

Lauren
0 Kudos