-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to change light yellow color of some streets? #27
Comments
Theming support is not yet implemented. The default OSMMakie colours are defined here. How you'd like to do change the colours is up to you. You could either change specific entries of the |
Oh and if you find yourself creating a completely new theme, please consider contributing it here. Maybe that's a nice motivation for me to add basic theming support via a kwarg for |
great thanks, I'll probably make a custom theme yeap, but it is not clear how I'd contribute it. I guess one option would be if there are keywords for p.s.: from all the possible streets, the ones plotted yellow above are which kind? Are they the "secondary"...? |
Well, I cannot tell that because I don't know which map you're using. You can just enable edge inspection and have a look yourself (the tags will tell you which waytype it is). Or you could just look at the theme and change every occurrence of this yellow colour to another colour of your liking (which is probably the easier way to do it). |
Hm, I'd rather have a hybrid solution. My idea would be to just have a |
BTW is there a reason to make the dictionary have colorant as a forced value? Anything that is valid and can be passed to |
Good call, I'll change it accordingly once the work on theming has begun.
|
This is how I do it now: default_colors = InteractiveDynamics.OSMMakie.WAYTYPECOLORS
default_colors["primary"] = colorant"#a1777f"
default_colors["secondary"] = colorant"#a18f78"
default_colors["tertiary"] = colorant"#b3b381" |
This light yellow color is barely visible so I'd like to change it for InteractiveDynamics.jl. I am not sure how to do that though. I had a look at the source code, and I believe I need to provide something to
graphplotkwargs
, but I am not sure what... What kind of street is the one that has this light yellow color...?The text was updated successfully, but these errors were encountered: