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

Can we change constellation line color with some function? #110

Open
kgoyal000 opened this issue Jan 26, 2021 · 1 comment
Open

Can we change constellation line color with some function? #110

kgoyal000 opened this issue Jan 26, 2021 · 1 comment

Comments

@kgoyal000
Copy link

Thanks again for reading this query

Hope you are doing great :)

I was wondering is there any callback available with which we can change styles that are not present in the advance form?
Like I want to change constellation lines color but without calling celestial.display() it doesn't seem possible and this method creates another copy without replacing the old canvas

@ofrohn
Copy link
Owner

ofrohn commented Feb 14, 2021

celestial.display() is only for the initial display of the map, to update the styles use
Celestial.apply({config}) with any parameters documented in the readme

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

2 participants