Select to view content in your preferred language

How do perform FeatureLayer hover in 4.3, the mouse-over event does not seem to be available

1170
1
Jump to solution
05-24-2017 08:03 AM
SimonGibbs
New Contributor

In 3.x the FeatureLayer had an 

on("mouse-over")   

event for hovering. This does not seem to be available in 4.x, even on the MapView. How would I perform this in 4.3??

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Simon,

   You use view on pointer-move and view hittest:

See this thread for a full sample:

https://community.esri.com/thread/192980-viewhittest-throwing-error-when-triggered-by-views-pointer-... 

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Simon,

   You use view on pointer-move and view hittest:

See this thread for a full sample:

https://community.esri.com/thread/192980-viewhittest-throwing-error-when-triggered-by-views-pointer-...