mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
place in connections
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@446 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0d0d51725a
commit
612111edef
8 changed files with 87 additions and 53 deletions
|
@ -110,15 +110,15 @@ public class OebbProvider extends AbstractHafasProvider
|
|||
|
||||
if (type == 1) // station
|
||||
{
|
||||
results.add(new Location(LocationType.STATION, localId, lat, lon, value));
|
||||
results.add(new Location(LocationType.STATION, localId, lat, lon, null, value));
|
||||
}
|
||||
else if (type == 2) // address
|
||||
{
|
||||
results.add(new Location(LocationType.ADDRESS, 0, lat, lon, value));
|
||||
results.add(new Location(LocationType.ADDRESS, 0, lat, lon, null, value));
|
||||
}
|
||||
else if (type == 4) // poi
|
||||
{
|
||||
results.add(new Location(LocationType.POI, localId, lat, lon, value));
|
||||
results.add(new Location(LocationType.POI, localId, lat, lon, null, value));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue