Skip to content

Commit 2cfa74d

Browse files
authored
Map theme improvements, #1183, #1192, #1229 (#1276)
1 parent 3a15669 commit 2cfa74d

4 files changed

Lines changed: 26 additions & 10 deletions

File tree

vtm-themes/resources/assets/vtm/biker.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
55

66
<!-- This is the 2nd generation OpenGL/VTM "Biker" theme -->
7-
<!-- Version 38 17th December 2025-->
7+
<!-- Version 39 23rd December 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -549,12 +549,13 @@
549549
<style-text fill="#737373" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#FFFFFF" stroke-width="2.0" />
550550

551551
<!-- POI captions/labels -->
552-
<style-text priority="3" caption="true" dy="-20" fill="#b35900" font-family="medium" id="poi" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
552+
<style-text priority="3" caption="true" dy="-20" fill="#734A08" font-family="medium" id="poi" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
553553
<style-text priority="4" caption="true" dy="-20" fill="#ff0066" font-family="medium" id="poi-accommodation" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
554554
<style-text priority="1" caption="true" dy="-20" fill="#ff0000" font-family="medium" id="poi-emergency" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
555555
<style-text priority="2" caption="true" dy="-20" fill="#ac39ac" font-family="medium" id="poi-fuel" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
556556
<style-text priority="5" caption="true" dy="-20" fill="#006633" font-family="medium" id="poi-misc" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
557557
<style-text priority="5" caption="true" dy="-20" fill="#0066cc" font-family="medium" id="poi-parking" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
558+
<style-text priority="2" caption="true" dy="-20" fill="#ac39ac" font-family="medium" id="poi-shop" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
558559
<style-text priority="5" caption="true" dy="-20" fill="#af3a3a" font-family="medium" id="poi-transport" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
559560
<style-text style="bold" caption="true" dy="-12" fill="#4D2F08" id="peak-name-caption" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
560561
<style-text style="bold" caption="true" dy="12" fill="#4D2F08" id="peak-ele-caption" k="ele" size="12" stroke="#FFFFFF" stroke-width="2.0" />
@@ -1255,6 +1256,9 @@
12551256
<line outline="road-major-outline" use="road-highway-toll" />
12561257
</m>
12571258
</m>
1259+
<m e="way" k="access" v="private" zoom-min="14">
1260+
<line stroke="#ff4d4d" dasharray="3,6" cap="butt" width="0.3" />
1261+
</m>
12581262
</m> <!-- end area=~|no|false -->
12591263
</m><!-- end tunnel|bridge=~|no|false -->
12601264

@@ -1934,7 +1938,7 @@
19341938
</m>
19351939
</m>
19361940
<m select="when-matched" >
1937-
<text use="poi-fuel" />
1941+
<text use="poi-shop" />
19381942
</m>
19391943
</m>
19401944

vtm-themes/resources/assets/vtm/dark.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
55

66
<!-- This is the 2nd generation OpenGL/VTM "dark" theme based on the Biker map theme -->
7-
<!-- Version 38 17th December 2025-->
7+
<!-- Version 39 23rd December 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -555,6 +555,7 @@
555555
<style-text priority="2" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-fuel" k="name" size="12" stroke="#ac39ac" stroke-width="1.0" />
556556
<style-text priority="5" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-misc" k="name" size="12" stroke="#006633" stroke-width="1.0" />
557557
<style-text priority="3" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-parking" k="name" size="12" stroke="#004d99" stroke-width="1.0" />
558+
<style-text priority="2" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-shop" k="name" size="12" stroke="#000000" stroke-width="1.0" />
558559
<style-text priority="5" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-transport" k="name" size="12" stroke="#af3a3a" stroke-width="1.0" />
559560
<style-text style="bold" caption="true" dy="-12" fill="#FFFFFF" id="peak-name-caption" k="name" size="12" stroke="#4D2F08" stroke-width="1.0" />
560561
<style-text style="bold" caption="true" dy="12" fill="#FFFFFF" id="peak-ele-caption" k="ele" size="12" stroke="#4D2F08" stroke-width="1.0" />
@@ -1255,6 +1256,9 @@
12551256
<line outline="road-major-outline" use="road-highway-toll" />
12561257
</m>
12571258
</m>
1259+
<m e="way" k="access" v="private" zoom-min="14">
1260+
<line stroke="#ff4d4d" dasharray="3,6" cap="butt" width="0.3" />
1261+
</m>
12581262
</m> <!-- end area=~|no|false -->
12591263
</m><!-- end tunnel|bridge=~|no|false -->
12601264

@@ -1934,7 +1938,7 @@
19341938
</m>
19351939
</m>
19361940
<m select="when-matched" >
1937-
<text use="poi-fuel" />
1941+
<text use="poi-shop" />
19381942
</m>
19391943
</m>
19401944

vtm-themes/resources/assets/vtm/indigo.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
55

66
<!-- This is the OpenGL/VTM "Indigo" theme based on the Biker map theme -->
7-
<!-- Version 38 17th December 2025-->
7+
<!-- Version 39 23rd December 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -555,6 +555,7 @@
555555
<style-text priority="2" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-fuel" k="name" size="12" stroke="#ac39ac" stroke-width="1.0" />
556556
<style-text priority="5" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-misc" k="name" size="12" stroke="#006633" stroke-width="1.0" />
557557
<style-text priority="3" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-parking" k="name" size="12" stroke="#004d99" stroke-width="1.0" />
558+
<style-text priority="2" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-shop" k="name" size="12" stroke="#000000" stroke-width="1.0" />
558559
<style-text priority="5" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi-transport" k="name" size="12" stroke="#af3a3a" stroke-width="1.0" />
559560
<style-text style="bold" caption="true" dy="-12" fill="#FFFFFF" id="peak-name-caption" k="name" size="12" stroke="#4D2F08" stroke-width="1.0" />
560561
<style-text style="bold" caption="true" dy="12" fill="#FFFFFF" id="peak-ele-caption" k="ele" size="12" stroke="#4D2F08" stroke-width="1.0" />
@@ -1255,6 +1256,9 @@
12551256
<line outline="road-major-outline" use="road-highway-toll" />
12561257
</m>
12571258
</m>
1259+
<m e="way" k="access" v="private" zoom-min="14">
1260+
<line stroke="#ff4d4d" dasharray="3,6" cap="butt" width="0.3" />
1261+
</m>
12581262
</m> <!-- end area=~|no|false -->
12591263
</m><!-- end tunnel|bridge=~|no|false -->
12601264

@@ -1934,7 +1938,7 @@
19341938
</m>
19351939
</m>
19361940
<m select="when-matched" >
1937-
<text use="poi-fuel" />
1941+
<text use="poi-shop" />
19381942
</m>
19391943
</m>
19401944

vtm-themes/resources/assets/vtm/motorider.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://opensciencemap.org/rendertheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
55

66
<!-- This is the 2nd generation OpenGL/VTM "light" theme based on the Biker map theme-->
7-
<!-- Version 38 17th December 2025-->
7+
<!-- Version 39 23rd December 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -549,12 +549,13 @@
549549
<style-text fill="#737373" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#FFFFFF" stroke-width="2.0" />
550550

551551
<!-- POI captions/labels -->
552-
<style-text priority="3" caption="true" dy="-20" fill="#b35900" font-family="medium" id="poi" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
552+
<style-text priority="3" caption="true" dy="-20" fill="#734A08" font-family="medium" id="poi" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
553553
<style-text priority="4" caption="true" dy="-20" fill="#ff0066" font-family="medium" id="poi-accommodation" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
554554
<style-text priority="1" caption="true" dy="-20" fill="#ff0000" font-family="medium" id="poi-emergency" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
555555
<style-text priority="2" caption="true" dy="-20" fill="#ac39ac" font-family="medium" id="poi-fuel" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
556556
<style-text priority="5" caption="true" dy="-20" fill="#006633" font-family="medium" id="poi-misc" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
557557
<style-text priority="5" caption="true" dy="-20" fill="#0066cc" font-family="medium" id="poi-parking" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
558+
<style-text priority="2" caption="true" dy="-20" fill="#ac39ac" font-family="medium" id="poi-shop" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
558559
<style-text priority="5" caption="true" dy="-20" fill="#af3a3a" font-family="medium" id="poi-transport" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
559560
<style-text style="bold" caption="true" dy="-12" fill="#4D2F08" id="peak-name-caption" k="name" size="12" stroke="#FFFFFF" stroke-width="2.0" />
560561
<style-text style="bold" caption="true" dy="12" fill="#4D2F08" id="peak-ele-caption" k="ele" size="12" stroke="#FFFFFF" stroke-width="2.0" />
@@ -1255,6 +1256,9 @@
12551256
<line outline="road-major-outline" use="road-highway-toll" />
12561257
</m>
12571258
</m>
1259+
<m e="way" k="access" v="private" zoom-min="14">
1260+
<line stroke="#ff4d4d" dasharray="3,6" cap="butt" width="0.3" />
1261+
</m>
12581262
</m> <!-- end area=~|no|false -->
12591263
</m><!-- end tunnel|bridge=~|no|false -->
12601264

@@ -1934,7 +1938,7 @@
19341938
</m>
19351939
</m>
19361940
<m select="when-matched" >
1937-
<text use="poi-fuel" />
1941+
<text use="poi-shop" />
19381942
</m>
19391943
</m>
19401944

0 commit comments

Comments
 (0)