AnsweredAssumed Answered

Smooth hover/mouseover tooltips in JSAPI v4

Question asked by csgeosol1 Champion on Jun 16, 2020
Latest reply on Jun 16, 2020 by EPolle_TensingInternational

Hey guys,

 

We've used the JSAPI since the early days of v3, and while we have workable mouseover tooltips (opening the pop-up), one aspect we wish we could change is the smoothness of the hover/tooltip. I do not have a link to our application directly, but to give you an idea, please see the following sample:

 

Feature widget in a side panel | ArcGIS API for JavaScript 4.15 

 

You'll notice that every time the pointer moves, the graphic is removed and re-added to the map (causing flickering), and then the panel is subsequently refreshed. This is what we experience with our pop-up tooltip... flickering tooltips and constant symbol "redraws." It makes sense based on how it's coded, but I haven't found a better way to do this. It distracts somewhat from the user experience - we've always hoped for something more graceful, e.g.:

 

https://www.highcharts.com/maps/demo/color-axis 

 

Has anyone had similar experiences and found success in developing smoother tooltips?

Outcomes