[gnome-maps/wip/mlundblad/transit-routing: 3/23] application: Add initialization of the OpenTripPlanner instance
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/transit-routing: 3/23] application: Add initialization of the OpenTripPlanner instance
- Date: Thu, 15 Dec 2016 21:54:56 +0000 (UTC)
commit bc32911c7eb5060c52e031c95398d894dc0c39b0
Author: Marcus Lundblad <ml update uu se>
Date: Thu Mar 17 21:32:56 2016 +0100
application: Add initialization of the OpenTripPlanner instance
https://bugzilla.gnome.org/show_bug.cgi?id=755808
src/application.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 46c5f87..3fc8550 100644
--- a/src/application.js
+++ b/src/application.js
@@ -36,6 +36,7 @@ const GeocodeService = imports.geocodeService;
const MainWindow = imports.mainWindow;
const Maps = imports.gi.GnomeMaps;
const NotificationManager = imports.notificationManager;
+const OpenTripPlanner = imports.openTripPlanner;
const OSMEdit = imports.osmEdit;
const OSMTypeSearchEntry = imports.osmTypeSearchEntry;
const PlaceStore = imports.placeStore;
@@ -55,6 +56,7 @@ let geocodeService = null;
let networkMonitor = null;
let checkInManager = null;
let contactStore = null;
+let openTripPlanner = null;
let osmEdit = null;
let normalStartup = true;
let routeQuery = null;
@@ -257,6 +259,9 @@ const Application = new Lang.Class({
contactStore = new Maps.ContactStore();
contactStore.load();
osmEdit = new OSMEdit.OSMEdit();
+ openTripPlanner = new OpenTripPlanner.OpenTripPlanner();
+ /* by default the GraphHopper service would be connected */
+ routeService.connect();
},
_createWindow: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]