-
Notifications
You must be signed in to change notification settings - Fork 0
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
style: Improve legibility of dot labels #507
Conversation
✅ Deploy Preview for oslmap ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi ! I think this looks great for drawMany
cases when labels are visible - but can we please confirm this is still the intended style for:
- drawing a single point
drawMany
withhideDrawLabels
as recently introduced in feat: showLabel prop added #508
I think I'd still expect to still see a solid colored point in these cases rather than the stroke only?
13ae4b1
to
e28c6c8
Compare
Good point @jessicamcinchak , however we still want to show two contrasting colours to safeguard against any contrast issues with the background map (green on green < green+white on green). I've updated the stroke to be thicker in the absence of labels: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect thanks for update!
What does this PR do?
Improves visibility of point labels by removing character stroke and keeping background/text colour constant (not dependent on custom colour selection).
Preview (before vs after):