Skip to content

Implement lat/lon data-referenced annotations on geo and mapbox subplots #3834

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
RichardNeill opened this issue May 5, 2019 · 2 comments
Labels
feature something new P3 backlog

Comments

@RichardNeill
Copy link

If annotating a point in a scattergeo plot, we should be able to refer to the co-ordinate of the point we must refer to in terms of "lat,lon". In fact, the annotation is required to be "x,y".
This is quite problematic: even when using a conversion factor as below, because when the map is zoomed, the annotations don't remain attached to the plot. We should be able to annotate "the lat-lon point that is associated with the marker", rather than "the x-y point on the screen".

annotation = {
text: "my_annotation",
x: (data.points[i].lon + 180)/360,
y: (data.points[i].lat/200) + 0.5 //yes, 200 not 180.
}

@etpinard etpinard changed the title Scattergeo annotations don't use lat/lon Implement lat/lon data-referenced annotations on geo and mapbox subplots May 6, 2019
@etpinard etpinard added the feature something new label May 6, 2019
@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

@RichardNeill
Copy link
Author

Hello. Yes, this issue is still relevant. Please re-open.

@gvwilson gvwilson reopened this Jun 17, 2024
@gvwilson gvwilson self-assigned this Jun 17, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants