Motorider map theme (#1045)
This commit is contained in:
parent
fb0b88e916
commit
1d96dfb7f1
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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="Ορεινές κορυφές" />
|
||||
|
1209
vtm-themes/resources/assets/vtm/motorider-dark.xml
Normal file
1209
vtm-themes/resources/assets/vtm/motorider-dark.xml
Normal file
File diff suppressed because it is too large
Load Diff
1212
vtm-themes/resources/assets/vtm/motorider.xml
Normal file
1212
vtm-themes/resources/assets/vtm/motorider.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user