Paris, French South West: Add missing regional (TER) and long-distance (Intercités) trains support.

This commit is contained in:
Nicolas Derive 2016-02-02 20:19:08 +01:00 committed by Andreas Schildbach
parent 5704ebc42c
commit 0230a1af85
2 changed files with 10 additions and 0 deletions

View file

@ -53,6 +53,11 @@ public class FrenchSouthWestProvider extends AbstractNavitiaProvider
{ {
switch (product) switch (product)
{ {
case REGIONAL_TRAIN:
{
// TER + Intercités
return new Style(Style.parseColor(color), computeForegroundColor(color));
}
case TRAM: case TRAM:
{ {
// Tram // Tram

View file

@ -66,6 +66,11 @@ public class ParisProvider extends AbstractNavitiaProvider
return new Style(Shape.ROUNDED, Style.TRANSPARENT, Style.parseColor(color), Style.parseColor(color)); return new Style(Shape.ROUNDED, Style.TRANSPARENT, Style.parseColor(color), Style.parseColor(color));
} }
} }
case REGIONAL_TRAIN:
{
// TER + Intercités
return new Style(Style.parseColor(color), computeForegroundColor(color));
}
case SUBWAY: case SUBWAY:
{ {
// Metro // Metro