Use common method for querying for nearby stations (Hafas).

This commit is contained in:
Andreas Schildbach 2014-08-06 23:00:31 +02:00
parent fc91b8c7cb
commit 31b89f7ef8
26 changed files with 34 additions and 336 deletions

View file

@ -101,6 +101,7 @@ public class InvgProvider extends AbstractHafasProvider
return super.splitPlaceAndName(name);
}
@Override
public NearbyStationsResult queryNearbyStations(final Location location, final int maxDistance, final int maxStations) throws IOException
{
if (location.type == LocationType.STATION && location.hasId())