-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
allow custom formatter when using the hover tool #7647
Comments
@scaine1 I think my immediate preference would be to :
|
sounds ideal to me! |
@scaine1 Are you interested in working up this feature as a contribution? (Just asking, I could not tell if that's what you meant above by willing to consider) |
Unfortunately at this point I think it is beyond my abilities. |
@scaine1 no worries I just wanted to clarify. I think this is useful enough that I will probably try to get to it sooner rather than later, but if you are looking to get involved with a project don't let that stop you, there's plenty of other issues :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Background
The python library geoviews (http://geoviews.org/) uses bokeh as a backend when interactive plotting geographical data is required.
Typically data on a latitude/longitude grid is converted to a Web Mercator projection and displayed using bokeh.
The Issue
When using the hover tool on data transformed in to Web Mercator format, the user is shown the transformed values for latitude/longitude rather than the original latitude/longitude values.
Attached is an image that shows this issue
There have some discussions on how to solve this issue at holoviz/geoviews#100 and it seems the consensus would be that the nicest way to solve the problem would be if a custom formatter could be applied to the hover tool.
This would allow the Web Mercator transformed data could be transformed back to latitude/longitude values when displayed by the hover tool.
As this feature does not already exist I expect that it may be a niche issue relating to geoviews, however would adding a custom formatter to the hover tool be something you would be willing to consider?
The text was updated successfully, but these errors were encountered: