ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
90 stars 82 forks source link

[FE][Pin map] Tweet pop-up where the mouse is not at the exact location of a point #614

Closed ruig2 closed 4 years ago

ruig2 commented 5 years ago

The twitter message box is popped-up where the cursor is rather than where the blue point is. That means if you move your mouse quickly, then it would pop-up somewhere else.

We can fix the above issue by showing the pop-up message where the blue pinned point is rather than where the mouse cursor is.

ruig2 commented 5 years ago

Related video showing the bug is uploaded to Slack: https://cloudberry-uci.slack.com/files/UAB75AP6K/FE34PT7C7/cloudberry_twitter_shift.mov

ruig2 commented 5 years ago

It seems that I cannot reproduce that on prod environment: http://cloudberry.ics.uci.edu/apps/twittermap

Maybe the latency in dev env is longer than that on prod env?

baiqiushi commented 5 years ago

This issue is still unsolved. It's related to the way of how webgl-points-layer.js library checks whether there's a point at the location of the mouse cursor. I tried to resolve it by re-call the getting pointID function right before creating the popup window. However it does resolve the issue. So we need some deeper look into the problem.

chenlica commented 5 years ago

Let's discuss it F2F.

baiqiushi commented 4 years ago

Low priority.