Hi there,
last days I was inspired by an idea so I wonder how cool it would be to have a WYSIWYG Theme Editor...
This is a work in progress, but I think the current state is already interesting.
Currently compiled the complete code in webassembly so there is no need to install anything and this will be able to run on Windows / Linux / MacOS, so no limitations on your system. This tool is not optimized for mobile phones.
The main features:
- load map, osm, xml data as maps (f.e. you can export maps from openstreetmaps to osm map). Note be aware to load larger files > 500MB. I've tested this tool only with small map data sizes.
- load any current map theme and customize it as you want:
- click on any element and change color, icons, border, pattern etc...
- import V3 maps and save as V4 maps
- rename theme
- export (download) theme
- when loading the link, everything you do will be complete executed on your PC, not data will be sent to any 3rd party or something, so your data is save! If you don't believe me, open link, disconnect your ethernet and enjoy "offline" working.
So if you like my work you can buy me a coffee:
https://www.paypal.com/donate/?hosted_button_id=GF3AC85A7MQB4
Here's a short video on how to extract osm file from OSM and load it into my tool:
https://savedly.net/f/8xhnc95g
Finally here you can play and have fun creating, modifying themes:
open theme editor (https://locuseditor.4lima.de)
(https://locuseditor.4lima.de/preview/theme_editor_preview.png)
If you are missing any features, or found bugs, let me know.
Kind regards
aikon96
Changelog 10-10-2026:
- added option to add / remove rules
- add option to view non ruled items
Changelog 16-10-2026:
- added support for importing snazzy map JSON string
note: snazzy maps is for google maps designed, so symbols, POI stuff etc.. are not supported
snazzymap demo (https://savedly.net/f/kgk6uyjq)
note:
If you don't see the latest version of the web app -> press [CTRL] + [F5] to force your browser a refresh!
Thank you for your work. I like the editor.
When I load the OpenAndroMaps map and the Elevate theme, the coloured lines for the LWN,
RWN and OWN route relationships do not appear.
Best regards
@Agus: Thanks for feedback. If I understand you correctly you mean:
network=lwn | own
network=rwn
I just downloaded openandromap (Germany -> Badenwuerttemberg) downloaded also Elevate Theme (both the locus and "non" locus version) and loaded it in my editor.
When I jump into "rules" and select one of these, the editor highlights the depending tracks. Perhaps you had the wrong zoom level when you looked?
I've attached a video, I think this is as it should look like:
https://savedly.net/f/szeszkav
Otherwise, please upload a video or some pics.
Hello. I think I've found the problem. As the OpenAndroMaps Spain-Portugal map takes up a lot of space – 2.15 GB – I loaded the LoMaps map of Spain instead, but this one doesn't display the colours for connections with Elevate or other map styles.
Could you make it so that your programme can load larger maps?
Thank you very much for your work.
Ok so I've updated the editor now you can do following:
Load the giant 2,15GB map from openAndroMap, then select the area you want to extract (to reduce the map size) then export the smaller map. Now load the smaller exported map:
https://savedly.net/f/57unew37
Again, press [CTRL] + [F5] to force a browser refresh if you see old version of editor.
Thanks for the brilliant editor!
What I've never managed to do so far is to display informal tracks/paths (trampel paths, informal=yes) separately, so that they stand out better from other tracks/paths.
I'd hoped to sort this out using your WYSIWYG Theme Editor, but I'm not getting anywhere with that either. Do you perhaps have any tips?
Many thanks!
@Graf Geo: I've added an option to add further rules. Also I made a video of proof that informal=yes is working with this.
https://savedly.net/f/eqk4v2wg
So please press [CTRL] + [F5] to refresh browser when opening editor to get latest version
@aikon96: Thanks. Unfortunately, it's not working. I followed your instructions, and in your editor, informal paths are displayed correctly (as yellow dotted lines). I downloaded the XML, added it to my theme and selected it in Locus.
However, in the Locus app, I can't see any difference compared to the other paths. :-(
I used the Elevate_Locus.zip theme with OAM maps and created the rule within it.
The rule is definitely included in the selected XML file:
...
<rule e="way" k="informal" v="yes">
<line stroke="#FFFF00" stroke-width="0.5" stroke-dasharray="8,40" stroke-linecap="square" />
</rule>
</rendertheme>
When you are using elevate theme, does this mean you are also using the vector map from openandromap?
I am not 100% sure, but I think that openandromap doesn't include the informal tag in their map.I had the same issue when I first used openandromap instead osm...
Try the map file you can download directly from osm (not openandromap).
@aikon96: Yes, that does seem to be the case. As I prefer to use OAM, I suppose I'll just have to put up with it.
I'll ask OAM about that.
How does this work? Do you only upload the map to the tool to see an example of the design, or is the map also modified? I tried it earlier with a 1 GB map and the Elevate theme, and it's very slow. If the map is only important for displaying the desired design, would it be sufficient to upload a small section?
@tobser:
This is a theme editor, it will only edit your theme file, nothing else. The map upload is only there to show the preview of the (edited) theme, so uploading 1GB will work but this isn't the intended way...
As shown in video, you can extract a small OSM area (<50MB map file) for this and upload it to the editor and have fun
Here's again the video how to get a small map file for preview:
https://savedly.net/f/8xhnc95g
Hallo aikon96.
Vielen dank für dieses wunderbare Werkzeug. :)