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

Option to change routes colorscheme #11

Open
kylebarron opened this issue Feb 12, 2020 · 0 comments
Open

Option to change routes colorscheme #11

kylebarron opened this issue Feb 12, 2020 · 0 comments

Comments

@kylebarron
Copy link
Owner

By default, just use colors from data, but also have a choice for a separate color for each transit operator. You can get the list of operators from queryRenderedFeatures, and then on the fly generate new colors for each operator in the viewport. Note that you'll need operator_id present on the routes, but that might be included?

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

No branches or pull requests

1 participant