[gnome-maps/wip/routing2: 8/8] WIP
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/routing2: 8/8] WIP
- Date: Sun, 6 Apr 2014 23:27:04 +0000 (UTC)
commit 0e792edbe804550f2f3e0f46519be57e7415f7cf
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Sun Apr 6 23:02:57 2014 +0100
WIP
This commit should make the routeService a global service and add a
query object that when changed automatically runs a new query.
src/application.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index ae00dda..a78fc78 100644
--- a/src/application.js
+++ b/src/application.js
@@ -40,12 +40,14 @@ const Utils = imports.utils;
const Path = imports.path;
const Settings = imports.settings;
const PlaceStore = imports.placeStore;
+const RouteService = imports.routeService;
// used globally
let application = null;
let settings = null;
let placeStore = null;
let notificationManager = null;
+let routeService = null;
const Application = new Lang.Class({
Name: 'Application',
@@ -93,6 +95,7 @@ const Application = new Lang.Class({
application = this;
settings = new Settings.Settings('org.gnome.maps');
+ routeService = new RouteService.GraphHopper();
Utils.initActions(this, [{
properties: { name: 'quit' },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]