Attached is the Waymark-V2a theme in two forms:
- Waymark-V4.xml is converted using the attached version of the v3_to_v4_Waymark.vbs script.
- Waymark-V4a.xml is after some manual tweaks, read on...
the V4 of the theme is straight out of the script from V2a, with just one customisation to correct a syntax error:
line = replace_text(line, "case="+Chr(34), "cat="+Chr(34) )
In the screenshots you can see that V4 has a rendering problem with service|raceway roads. I fixed this manually in V4a.
The script pseudo-converts the v3 extensions for rectangle captions using a thick outlined caption, as these are not supported in v4 mapsforge rendering engine.
The other thing you'll notice is when you switch to a v4 map the zoom level is out by 1, and you can see that some items that render at Z16, do not render at Z15, hence screenshot 4 shows them appearing as you zoom in to Z16.
Note that I have not checked if everything else in the theme works or not. But it probably is a good starting point now for getting a v4 map version of the Waymark-V2a theme working, if required.
- Waymark-V4.xml is converted using the attached version of the v3_to_v4_Waymark.vbs script.
- Waymark-V4a.xml is after some manual tweaks, read on...
the V4 of the theme is straight out of the script from V2a, with just one customisation to correct a syntax error:
line = replace_text(line, "case="+Chr(34), "cat="+Chr(34) )
In the screenshots you can see that V4 has a rendering problem with service|raceway roads. I fixed this manually in V4a.
The script pseudo-converts the v3 extensions for rectangle captions using a thick outlined caption, as these are not supported in v4 mapsforge rendering engine.
The other thing you'll notice is when you switch to a v4 map the zoom level is out by 1, and you can see that some items that render at Z16, do not render at Z15, hence screenshot 4 shows them appearing as you zoom in to Z16.
Note that I have not checked if everything else in the theme works or not. But it probably is a good starting point now for getting a v4 map version of the Waymark-V2a theme working, if required.