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

[Enhancement] add font weight option for Text Labels #2675

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alex-polic
Copy link

  • work based on issue [Question] Label Font Bold #1468
  • add font weight in list of settings for Text Labels
  • integrate with localization
  • hook with deck.gl fontWeight options for TextLabel

⚠️ FUTURE INTEGRATION NOTES:

  • Currently, there is an option through deck.gl to change Font Family and Font Weight per layer, this PR only works with Font Weight
  • The default font used for Text Labels in deck.gl is Monaco monospaced. This font does not provide full variety of weight options (only 2), which creates a problem visually (text doesn't seem bolded when weight is increased)
  • It would be beneficial to either change the default font or allow users to use multiple fonts. Design and business input required before making adjustments

* add font weight in list of settings for Text Labels
* integrate with localization
* hook with deck.gl fontWeight options for TextLabel
Copy link

netlify bot commented Oct 7, 2024

Deploy Preview for keplergl2 failed. Why did it fail? →

Name Link
🔨 Latest commit 9a8097f
🔍 Latest deploy log https://app.netlify.com/sites/keplergl2/deploys/6703ff15185d4500088548ee

@heshan0131 heshan0131 self-requested a review October 7, 2024 15:47
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

Successfully merging this pull request may close these issues.

1 participant