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

styling labels #1996

Closed
drzraf opened this issue Jul 12, 2024 · 1 comment
Closed

styling labels #1996

drzraf opened this issue Jul 12, 2024 · 1 comment

Comments

@drzraf
Copy link

drzraf commented Jul 12, 2024

Is your feature request related to a problem? Please describe.
Some layers' labels are very important. Some other aren't. I'd like to tweak color, font-size, background-color and background-opacity for the labels belonging to one specific layer

Describe the solution you'd like
UI ? Or a textarea to input free-form CSS.

Additional context
Currently, all labels are leaflet tooltips, as a flat list of <div> with no information about the layer they belong to. Having a data-layer attribute would be nice for per-layer label styling.

@yohanboniface
Copy link
Member

Closing in favor of #1884

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants