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

map: geom_text vjust="center" is a bit off #132

Closed
alshan opened this issue May 5, 2020 · 2 comments
Closed

map: geom_text vjust="center" is a bit off #132

alshan opened this issue May 5, 2020 · 2 comments
Assignees
Milestone

Comments

@alshan
Copy link
Collaborator

alshan commented May 5, 2020

data = {
    'label': ["==    0 ==>", "==   60 ==>", "==  120 ==>", "==  180 ==>", "== -60 ==>", "== -120 ==>"],
    'angle': [0, 60, 120, 180, -60, -120],
}

p + geom_livemap() + geom_point(x=0, y=0, size=140, color='white', alpha=0.6)\
  + geom_text(aes(label = 'label', angle='angle'), data=data,
              x=0, y=0, 
              hjust = "left", vjust = "center",
              size=10, family='monospace', color='red')

image

Compare to not on the map:
image

@IKupriyanov-HORIS IKupriyanov-HORIS self-assigned this Feb 24, 2021
@alshan alshan added this to the None milestone Dec 28, 2021
@alshan
Copy link
Collaborator Author

alshan commented Feb 7, 2023

geom_text() looks good in this demo : Quickstart with Maps

@alshan alshan modified the milestones: Backlog, 2023Q1 Feb 7, 2023
@IKupriyanov-HORIS
Copy link
Collaborator

Fixed via dcab039d.

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