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

UI: Grayscaled maps for readability #605

Open
TomCools opened this issue Oct 15, 2024 · 0 comments
Open

UI: Grayscaled maps for readability #605

TomCools opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TomCools
Copy link
Contributor

TomCools commented Oct 15, 2024

In a few of the quickstarts maps are rendered. The readability of the calculated routes on these maps could be improved by making them grayscale.

Context

Example:

image

With Grayscale:

image

Solution

Since it is rendered by Leaflet, the following will make the maps grayscale. Either make them grayscale by default or introduce a toggle.

.leaflet-tile-pane {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.5;
}
@TomCools TomCools added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant