Migrate Ingolstadt to auto-complete via getstops endpoint.

This commit is contained in:
Andreas Schildbach 2014-07-07 15:05:16 +02:00
parent 6d0ebb8a51
commit 64d243cbcb

View file

@ -59,7 +59,7 @@ public class InvgProvider extends AbstractHafasProvider
public InvgProvider()
{
super(API_BASE + "stboard.exe/dn", null, API_BASE + "query.exe/dn", 10);
super(API_BASE + "stboard.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 10, UTF_8, UTF_8);
setStyles(STYLES);
setExtXmlEndpoint(API_BASE + "extxml.exe");
@ -279,12 +279,6 @@ public class InvgProvider extends AbstractHafasProvider
}
}
@Override
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
{
return xmlMLcReq(constraint);
}
@Override
protected void appendCustomTripsQueryBinaryUri(final StringBuilder uri)
{