Open tiptoptom opened 3 days ago
The idea itself could be made an official theme. There are some technical issues though (e.g. the "english"-translation is actually german) and some other work that has to be done (writing down the license info), but nothing we cannot handle.
So, it would be nice to get a pull request. However, I'd rather have one pull request per layer (thus: one for the scouts and then maybe one for every layer that will be changed)
assets/themes
and create a new directory named yourtheme
yourtheme.json
, paste the theme configuration in there. You can find your theme configuration in
the customThemeBuilder (the tab with the Floppy disk icon)yourtheme.json
are updated. You can use a relative link like ./assets/themes/yourtheme/yourimage.svg
instead of an HTML linklicense_info.json
in the theme directory, which contains metadata on every artwork sourceassets/themes
and make sure all the images are there too. Running ts-node scripts/fixTheme <path to your theme>
will help downloading the images and attempts to get the licenses if
on Wikimedia.
- Add your theme to the code base: add it into
assets/themes
and make sure all the images are there too. Runningts-node scripts/fixTheme <path to your theme>
will help downloading the images and attempts to get the licenses if on Wikimedia.
I can't get this script to work for me. What exactly does it do? And can you run it for me maybe?
Would this scouting map be accepted as official theme? https://mapcomplete.org/theme.html?userlayout=https://studio.mapcomplete.org/8770388/themes/scouting/scouting.json&