Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hover position of map panel doesn't follow position of mouse #1422

Closed
xingwx opened this issue Aug 11, 2014 · 1 comment
Closed

hover position of map panel doesn't follow position of mouse #1422

xingwx opened this issue Aug 11, 2014 · 1 comment

Comments

@xingwx
Copy link

xingwx commented Aug 11, 2014

It is not a major issue, but I think it is nice to improve.

Original jvector library provides a hover which can follows the position of mouse like this:
1

However, the hover in kibana map panel doesn't. It always display at the left top corner, no matter where your mouse is pointing
2

The reason of it is that kibana is using its own fix-positioned 'map-legend' instead of the original 'jvectormap-label'. However, both of them are defined in https://github.com/elasticsearch/kibana/blob/master/src/app/panels/map/module.html
though jvectormap-label is not being used. ( I understand the reason to use map-legend rather than 'jvectormap-label' is because 'jvectormap-label' doesn't support multipanel.)

Maybe we can improve it or at least clean up the unused code?

@spalger
Copy link
Contributor

spalger commented Oct 7, 2014

Hey @xingwx, while Kibana 4 doesn't include a map yet, we will make sure this issue doesn't exist in the map that is coming. If you experience any further issues please feel free to file an issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants