OpenTracksApp / OSMDashboard

OpenStreetMaps Dashboard for OpenTracks
https://f-droid.org/de/packages/de.storchp.opentracks.osmplugin/
Apache License 2.0
82 stars 10 forks source link

Themes not loading from specified directory #381

Closed dipyamanroy closed 2 months ago

dipyamanroy commented 2 months ago

Downloaded the Dark Matter theme style from as found here, https://github.com/openmaptiles/dark-matter-gl-style. Placed it in a themes folder, however OSMDashboard did not recognize. I could not find an appropriate tutorial on how to add and change map themes. Any help would be appreciated.

pstorch commented 2 months ago

Unfortunately OSMDasboard only supports xml render themes as described here: https://github.com/mapsforge/vtm/blob/master/docs/Rendertheme.md

dipyamanroy commented 2 months ago

Thanks for responding so promptly. Is there a way to convert a respository with a theme (https://github.com/openmaptiles/dark-matter-gl-style) as I shared previously to the required format automatically?

Being a layman, I may not have the necessary skills to make my own theme with the permissible format.

pstorch commented 2 months ago

I don't know any way to convert it. Maybe you can also ask in this repo, if they can provide the theme in other formats.

dipyamanroy commented 2 months ago

Alright. Do you know any themes (other than the default) that work on OSMDashboard that I can try out?

pstorch commented 2 months ago

I know that these two map sources offer their own themes:

Sometimes a theme only works properly with a specific type of map and vice versa. That's why these two offer their own themes.

dipyamanroy commented 2 months ago

Much appreciated, will look into these. I'll close the issue. Thanks for all the help.