Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding Cluster HoverData #7297

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

Open
BSd3v wants to merge 1 commit into plotly:master
base: master
Choose a base branch
Loading
from BSd3v:adding-cluster-hoverdata

Conversation

Copy link

@BSd3v BSd3v commented Dec 3, 2024

Adding hover and click data to clusters for maps.

It currently only emits the plotly_hover and plotly_click events, instead of providing the hoverData directly on screen, automatically.

Looking for feedback and assistance with how to get the hoverData to show.

@alexcjohnson

AnnMarieW, archmoj, and ndrezn reacted with heart emoji pip-install-python reacted with rocket emoji
@gvwilson gvwilson added feature something new community community contribution P2 considered for next cycle labels Dec 4, 2024
Copy link
Contributor

archmoj commented Jan 2, 2025

Thanks very much for the PR.
Please add draftlogs/7297_fix.md for this PR as described here.

Please add a jasmine test in test/jasmine/tests/map_test.js for this feature as well.

Wondering if this fix may also be applied to mapbox?

Copy link
Author

BSd3v commented Jan 2, 2025

@archmoj,

I believe that this can be applied to mapbox as well. From my understanding, it seems that map is an offshoot of mapbox.

Copy link
Contributor

archmoj commented Jan 6, 2025

@archmoj,

I believe that this can be applied to mapbox as well. From my understanding, it seems that map is an offshoot of mapbox.

That's true.
Although the mapbox traces would be removed in plotly.js v4, having this change for mapbox would be nice IMHO. cc: @gvwilson @ndrezn

BTW Let's start by adding the tests to map first.
Thank you @BSd3v

Copy link
Contributor

archmoj commented Jul 25, 2025

Update: There is no need to add this feature to mapbox which is deprecated.
@BSd3v Would you please fetch upstream master and merge it to this branch.
Then please add a jasmine test to test the hover.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Labels
community community contribution feature something new P2 considered for next cycle
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /