mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
make footway arrival clickable
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@131 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1ab51c23f5
commit
d9499a3329
7 changed files with 35 additions and 23 deletions
|
@ -458,11 +458,12 @@ public final class VbbProvider implements NetworkProvider
|
|||
if (parts.size() > 0 && parts.get(parts.size() - 1) instanceof Connection.Footway)
|
||||
{
|
||||
final Connection.Footway lastFootway = (Connection.Footway) parts.remove(parts.size() - 1);
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), lastFootway.departure, arrival));
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), lastFootway.departureId, lastFootway.departure,
|
||||
arrivalId, arrival));
|
||||
}
|
||||
else
|
||||
{
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), departure, arrival));
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), departureId, departure, arrivalId, arrival));
|
||||
}
|
||||
|
||||
lastArrival = arrival;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue