mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Migrate Kiel, Lübeck & Schleswig-Holstein to auto-complete via getstops endpoint.
This commit is contained in:
parent
7ddac5813d
commit
76312cb70a
1 changed files with 1 additions and 7 deletions
|
@ -51,7 +51,7 @@ public class ShProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
public ShProvider()
|
public ShProvider()
|
||||||
{
|
{
|
||||||
super(API_BASE + "stboard.exe/dn", null, API_BASE + "query.exe/dn", 10, null, UTF_8);
|
super(API_BASE + "stboard.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 10, UTF_8, UTF_8);
|
||||||
}
|
}
|
||||||
|
|
||||||
public NetworkId id()
|
public NetworkId id()
|
||||||
|
@ -278,12 +278,6 @@ public class ShProvider extends AbstractHafasProvider
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
|
|
||||||
{
|
|
||||||
return xmlMLcReq(constraint);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected char normalizeType(final String type)
|
protected char normalizeType(final String type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue