Skip to content

Commit 2729531

Browse files
authored
Map theme improvements, #1183, #1192, #1229 (#1246)
1 parent 19a9691 commit 2729531

File tree

4 files changed

+35
-27
lines changed

4 files changed

+35
-27
lines changed

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

Lines changed: 8 additions & 6 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 33 27th July 2025-->
7+
<!-- Version 34 15th August 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -420,6 +420,7 @@
420420
<style-text caption="true" fill="#000000" id="suburb-caption" k="name" priority="5" size="12" style="italic" stroke="#e8eae1" stroke-width="2.0" />
421421
<style-text caption="true" fill="#000000" id="hamlet-caption" k="name" priority="6" size="12" stroke="#e8eae1" stroke-width="2.0" />
422422
<style-text caption="true" fill="#0000FF" id="island-caption" k="name" priority="6" size="12" style="italic" stroke="#FFFFFF" stroke-width="2.0" />
423+
<style-text fill="#737373" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#FFFFFF" stroke-width="2.0" />
423424

424425
<!-- POI captions/labels -->
425426
<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" />
@@ -1470,19 +1471,20 @@
14701471
<m k="boundary" v="administrative">
14711472
<m k="admin_level">
14721473
<m v="2"> <!-- country border -->
1473-
<m zoom-min="6" zoom-max="11">
1474+
<m zoom-min="6" zoom-max="13">
14741475
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
14751476
</m>
1476-
<m zoom-min="12">
1477-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#dadada" width="2.0" />
1477+
<m zoom-min="14">
1478+
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#dadada" width="1.5" />
1479+
<text use="border-caption" />
14781480
</m>
14791481
</m>
14801482
<m v="4"> <!-- state border -->
14811483
<m zoom-min="6" zoom-max="11">
1482-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1484+
<line fix="true" stipple="6" stipple-stroke="#e6e6e6" stipple-width="2.5" stroke="#737373" width="1.0" />
14831485
</m>
14841486
<m zoom-min="12">
1485-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#dadada" width="2.0" />
1487+
<line fix="true" stipple="6" stipple-stroke="#e6e6e6" stipple-width="1.0" stroke="#737373" width="1.0" />
14861488
</m>
14871489
</m>
14881490
<m v="5" zoom-min="12">

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

Lines changed: 9 additions & 7 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 33 27th July 2025-->
7+
<!-- Version 34 15th August 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -420,6 +420,7 @@
420420
<style-text caption="true" fill="#FFFFFF" id="suburb-caption" k="name" priority="5" size="12" style="italic" stroke="#000000" stroke-width="2.0" />
421421
<style-text caption="true" fill="#FFFFFF" id="hamlet-caption" k="name" priority="6" size="12" stroke="#000000" stroke-width="2.0" />
422422
<style-text caption="true" fill="#FFFFFF" id="island-caption" k="name" priority="6" size="12" style="italic" stroke="#000000" stroke-width="2.0" />
423+
<style-text fill="#b3b3b3" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#000000" stroke-width="2.0" />
423424

424425
<!-- POI captions/labels -->
425426
<style-text priority="3" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi" k="name" size="12" stroke="#b35900" stroke-width="1.0" />
@@ -1470,19 +1471,20 @@
14701471
<m k="boundary" v="administrative">
14711472
<m k="admin_level">
14721473
<m v="2"> <!-- country border -->
1473-
<m zoom-min="6" zoom-max="11">
1474-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1474+
<m zoom-min="6" zoom-max="13">
1475+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="2.5" stroke="#737373" width="1.5" />
14751476
</m>
1476-
<m zoom-min="12">
1477-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="2.0" />
1477+
<m zoom-min="14">
1478+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="1.0" stroke="#737373" width="1.5" />
1479+
<text use="border-caption" />
14781480
</m>
14791481
</m>
14801482
<m v="4"> <!-- state border -->
14811483
<m zoom-min="6" zoom-max="11">
1482-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1484+
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.0" />
14831485
</m>
14841486
<m zoom-min="12">
1485-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="2.0" />
1487+
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="1.0" />
14861488
</m>
14871489
</m>
14881490
<m v="5" zoom-min="12">

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

Lines changed: 9 additions & 7 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 33 27th July 2025-->
7+
<!-- Version 34 15th August 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -420,6 +420,7 @@
420420
<style-text caption="true" fill="#FFFFFF" id="suburb-caption" k="name" priority="5" size="12" style="italic" stroke="#000000" stroke-width="2.0" />
421421
<style-text caption="true" fill="#FFFFFF" id="hamlet-caption" k="name" priority="6" size="12" stroke="#000000" stroke-width="2.0" />
422422
<style-text caption="true" fill="#FFFFFF" id="island-caption" k="name" priority="6" size="12" style="italic" stroke="#000000" stroke-width="2.0" />
423+
<style-text fill="#b3b3b3" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#000000" stroke-width="2.0" />
423424

424425
<!-- POI captions/labels -->
425426
<style-text priority="3" caption="true" dy="-20" fill="#FFFFFF" font-family="medium" id="poi" k="name" size="12" stroke="#b35900" stroke-width="1.0" />
@@ -1470,19 +1471,20 @@
14701471
<m k="boundary" v="administrative">
14711472
<m k="admin_level">
14721473
<m v="2"> <!-- country border -->
1473-
<m zoom-min="6" zoom-max="11">
1474-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1474+
<m zoom-min="6" zoom-max="13">
1475+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="2.5" stroke="#737373" width="1.5" />
14751476
</m>
1476-
<m zoom-min="12">
1477-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="2.0" />
1477+
<m zoom-min="14">
1478+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="1.0" stroke="#737373" width="1.5" />
1479+
<text use="border-caption" />
14781480
</m>
14791481
</m>
14801482
<m v="4"> <!-- state border -->
14811483
<m zoom-min="6" zoom-max="11">
1482-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1484+
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.0" />
14831485
</m>
14841486
<m zoom-min="12">
1485-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="2.0" />
1487+
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#737373" width="1.0" />
14861488
</m>
14871489
</m>
14881490
<m v="5" zoom-min="12">

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

Lines changed: 9 additions & 7 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 33 27th July 2025-->
7+
<!-- Version 34 15th August 2025-->
88

99
<!-- Defines LAYERS Menu -->
1010
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
@@ -420,6 +420,7 @@
420420
<style-text caption="true" fill="#000000" id="suburb-caption" k="name" priority="5" size="12" style="italic" stroke="#FFFFFF" stroke-width="2.0" />
421421
<style-text caption="true" fill="#000000" id="hamlet-caption" k="name" priority="6" size="12" stroke="#FFFFFF" stroke-width="2.0" />
422422
<style-text caption="true" fill="#0000FF" id="island-caption" k="name" priority="6" size="12" style="italic" stroke="#FFFFFF" stroke-width="2.0" />
423+
<style-text fill="#737373" id="border-caption" k="name" priority="6" size="11" style="bold" stroke="#FFFFFF" stroke-width="2.0" />
423424

424425
<!-- POI captions/labels -->
425426
<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" />
@@ -1470,19 +1471,20 @@
14701471
<m k="boundary" v="administrative">
14711472
<m k="admin_level">
14721473
<m v="2"> <!-- country border -->
1473-
<m zoom-min="6" zoom-max="11">
1474-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1474+
<m zoom-min="6" zoom-max="13">
1475+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="2.5" stroke="#737373" width="1.5" />
14751476
</m>
1476-
<m zoom-min="12">
1477-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#dadada" width="2.0" />
1477+
<m zoom-min="14">
1478+
<line fix="true" stipple="6" stipple-stroke="#CCCCCC" stipple-width="1.0" stroke="#737373" width="1.5" />
1479+
<text use="border-caption" />
14781480
</m>
14791481
</m>
14801482
<m v="4"> <!-- state border -->
14811483
<m zoom-min="6" zoom-max="11">
1482-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="2.5" stroke="#737373" width="1.5" />
1484+
<line fix="true" stipple="6" stipple-stroke="#e6e6e6" stipple-width="2.5" stroke="#737373" width="1.0" />
14831485
</m>
14841486
<m zoom-min="12">
1485-
<line fix="true" stipple="6" stipple-stroke="#647b9c" stipple-width="1.0" stroke="#dadada" width="2.0" />
1487+
<line fix="true" stipple="6" stipple-stroke="#e6e6e6" stipple-width="1.0" stroke="#737373" width="1.0" />
14861488
</m>
14871489
</m>
14881490
<m v="5" zoom-min="12">

0 commit comments

Comments
 (0)