-
Notifications
You must be signed in to change notification settings - Fork 29
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
Feature Request: Night Mode #239
Comments
Technically yes, but this will be determined by the chart type more than anything. Raster tiles are images and cannot be styled on the client. Vector tiles can be styled and therefore could be displayed in day / night mode. Freeboard-SK supports styled vector charts, the easiest way to do this is use a mapbox style json file. That said there would be an enhancement required to use a different chart source when the environment changes from day to night. This may also require updates to chart provider plugins. If you have vector charts with day / night styles that you could provide that would help with developing a solution. |
I just have what you can download from NOAA and some bootleg Navionics for Baja MX waters. All are standard chart colors. On my phone I just use the classic invert colors for night and that’s proven to be pretty good for working at night. The image I sent for night mode is a NOAA pdf put through an Inkscape filter that appears just to be a transformation matrix for the RGB. It had the option to also invert transparency and it didn’t seem to make a difference either way so I left it checked. I think that’s the pdf didn’t use transparency…Since most charts nowadays are vector couldn’t there be a setting to apply an inversion for night to vector charts. Rather than dealing with 2 separate charts one night mode one day. Seems like if you can just pass the standard RGB values through some sort of transformation matrix on the fly as it’s rendered could get you very close. Some tweaks to some colors in certain ranges and you should be even better. Thanks for looking at this. Chuck Bowers, CTSAudio Associates(619)905-1398 Cell(619)461-9445 OfficeOn Feb 11, 2025, at 2:54 PM, AdrianP ***@***.***> wrote:
Technically yes, but this will be determined by the chart type more than anything.
Raster tiles are images and cannot be styled on the client.
Vector tiles can be styled and therefore could be displayed in day / night mode.
Freeboard-SK supports styled vector charts, the easiest way to do this is use a mapbox style json file.
That said there would be an enhancement required to use a different chart source when the environment changes from day to night.
This may also require updates to chart provider plugins.
If you have vector charts with day / night styles that you could provide that would help with developing a solution.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Especially in Night mode it would be nice if the FB buttons where "dimmed" too. |
Is it possible to invert the chart colors or substitute different colors on the charts to make them less blinding at night?
The attached images are of the same section of chart passed thru a Invert filter in Inkscape. The transformation matrix settings are included.
A simple invert like this would be great.
Thanks, Chuck
The text was updated successfully, but these errors were encountered: