Donixon - Hi everyone, were using signal-k with...
Hi everyone, were using signal-k with the freeboard app. Everything works wonderfull, but were having an issue that the default OSM chart is very bright. I have been looking for 'mapstyles (?)' so I can make it a bit darker, but i really cant figure out how to do this. Im trying to use the chart-plugin. What settings do i need to make this work?
6 Replies
You can provide upload a map styles.json file in Freeboard via the charts screen, select JSON Map Source and enter the uri for the map style file.
Before uploading, you will need to ensure the
resources-provider
plugin has chart sources
enabled.
Ahh oke cool, i figured it out finaly. The probleem is that all those map-syles need an API key from MapTiler. I made it work by downloading a style, setting the api-keys, uploading it somewhere and then import the URL. I got one issue only;
I put the style.json url in the chars menu and it works. But when i reload the page, it isnt set anymore. If i go to charts to select it again its gone. Then I upload the URL again, and it works, but the last uploaded URL is shown also again, so now its double in the menu.

after refresh:

Ah, when I click the 'Reload charts' button on the top, they apear again!
The list not being refreshed looks like a bug.
With regards API keys / access tokens they can sometimes be added to the url as a query parameter.