Motorider map theme (#1045)

This commit is contained in:
Emux 2023-05-25 16:04:54 +03:00 committed by GitHub
parent fb0b88e916
commit 1d96dfb7f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2440 additions and 6 deletions

View File

@ -2,6 +2,7 @@
## New since 0.19.0
- Motorider map theme [#1045](https://github.com/mapsforge/vtm/pull/1045)
- Minor improvements and bug fixes
- [Solved issues](https://github.com/mapsforge/vtm/issues?q=is%3Aclosed+milestone%3A0.20.0)

View File

@ -131,16 +131,26 @@ public class InputHandler implements InputProcessor {
break;
case Input.Keys.NUM_4:
mMap.setTheme(VtmThemes.OSMAGRAY);
mMap.setTheme(VtmThemes.MOTORIDER);
mMap.updateMap(false);
break;
case Input.Keys.NUM_5:
mMap.setTheme(VtmThemes.TRONRENDER);
mMap.setTheme(VtmThemes.MOTORIDER_DARK);
mMap.updateMap(false);
break;
case Input.Keys.NUM_6:
mMap.setTheme(VtmThemes.OSMAGRAY);
mMap.updateMap(false);
break;
case Input.Keys.NUM_7:
mMap.setTheme(VtmThemes.TRONRENDER);
mMap.updateMap(false);
break;
case Input.Keys.NUM_8:
mMap.setTheme(VtmThemes.NEWTRON);
mMap.updateMap(false);
break;

View File

@ -5,7 +5,7 @@
<!-- Styles -->
<stylemenu defaultlang="en" defaultvalue="normal" id="menu">
<layer enabled="true" id="accommodation">
<layer id="accommodation">
<name lang="ar" value="أماكن إقامة" />
<name lang="de" value="Unterkunft" />
<name lang="el" value="Διαμονή" />
@ -16,7 +16,7 @@
<name lang="nl" value="Onderkomen" />
<cat id="accommodation" />
</layer>
<layer enabled="true" id="food">
<layer id="food">
<name lang="ar" value="طعام" />
<name lang="de" value="Lebensmittel" />
<name lang="el" value="Φαγητό" />
@ -71,7 +71,7 @@
<name lang="nl" value="Parkeerplaatsen" />
<cat id="parking" />
</layer>
<layer enabled="true" id="mountain_pass">
<layer id="mountain_pass">
<name lang="ar" value="معابر جبلية" />
<name lang="de" value="Bergpässe" />
<name lang="el" value="Ορεινά περάσματα" />
@ -82,7 +82,7 @@
<name lang="nl" value="Bergpassen" />
<cat id="mountain_pass" />
</layer>
<layer enabled="true" id="mountain_peak">
<layer id="mountain_peak">
<name lang="ar" value="قمم الجبال" />
<name lang="de" value="Bergspitzen" />
<name lang="el" value="Ορεινές κορυφές" />

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,8 @@ public enum VtmThemes implements ThemeFile {
DEFAULT("vtm/default.xml"),
BIKER("vtm/biker.xml"),
MAPZEN("vtm/mapzen.xml"),
MOTORIDER("vtm/motorider.xml"),
MOTORIDER_DARK("vtm/motorider-dark.xml"),
NEWTRON("vtm/newtron.xml"),
OPENMAPTILES("vtm/openmaptiles.xml"),
OSMAGRAY("vtm/osmagray.xml"),