-
Notifications
You must be signed in to change notification settings - Fork 55
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
Allow changing the vector tile style #85
Comments
First I'd like to get one working map style (see: #47), but this is a good idea. :) We're actually using a fork of OSM Liberty though, it's just named like OSM Bright because I forgot to rename it when I changed the style. |
This will be trickier than I thought so I'm adding a help wanted tag. If someone wants to tackle please PR it back :) |
If this were possible, I would like to help create for example a config that would show railroads in heavy dark lines, trams and metros a contrasting color, and all roads in light grey. |
In that vein, it would be very cool to allow headway to switch styles at runtime too. The way I see it this will require a change to the tileserver init code to pull in style templates from a pre-generated artifact tarball, then run envsubst on each one, and save them to the correct location. After that, it will generate a tileserver configuration json file that will point tileserver-gl-light at each style. Once that's done, something will have to be done to point the frontend at the correct style. I don't really have ideas for that at the moment. |
Currently Headway uses
bright
style but it would be nice to allow the style to be changed from thedocker-compose.yml
file, as an environment entry.The text was updated successfully, but these errors were encountered: