mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
Paris, French South West: Add missing regional (TER) and long-distance (Intercités) trains support.
This commit is contained in:
parent
5704ebc42c
commit
0230a1af85
2 changed files with 10 additions and 0 deletions
|
@ -53,6 +53,11 @@ public class FrenchSouthWestProvider extends AbstractNavitiaProvider
|
|||
{
|
||||
switch (product)
|
||||
{
|
||||
case REGIONAL_TRAIN:
|
||||
{
|
||||
// TER + Intercités
|
||||
return new Style(Style.parseColor(color), computeForegroundColor(color));
|
||||
}
|
||||
case TRAM:
|
||||
{
|
||||
// Tram
|
||||
|
|
|
@ -66,6 +66,11 @@ public class ParisProvider extends AbstractNavitiaProvider
|
|||
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:
|
||||
{
|
||||
// Metro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue