Navitia: Allow custom API base.

This is especially useful if you want to run a Navitia instance on your
own server.
This commit is contained in:
Torsten Grote 2015-12-21 19:32:51 -02:00 committed by Andreas Schildbach
parent 51d92a61e1
commit 5be14b0134
4 changed files with 32 additions and 3 deletions

View file

@ -28,6 +28,13 @@ public class ParisProvider extends AbstractNavitiaProvider
{
private static String API_REGION = "fr-idf";
public ParisProvider(final String apiBase, final String authorization)
{
super(NetworkId.PARIS, apiBase, authorization);
setTimeZone("Europe/Paris");
}
public ParisProvider(final String authorization)
{
super(NetworkId.PARIS, authorization);