[gnome-maps/wip/routing2: 11/18] fixup route



commit 2b1bf3506dc1c87b8cf2ee3ba3d797bc1c9e2e3b
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sat May 3 00:31:42 2014 +0200

    fixup route

 src/route.js |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/route.js b/src/route.js
index 80038b4..898a295 100644
--- a/src/route.js
+++ b/src/route.js
@@ -124,7 +124,7 @@ const Route = new Lang.Class({
         this.distance = distance;
         this.time = time;
         this.bbox = bbox || this._createBBox(path);
-        // TODO: check that the data passed actually means we have a new route
+
         this.emit('update');
     },
 
@@ -161,10 +161,5 @@ const TurnPoint = new Lang.Class({
         return this._type === TurnPointType.START
             || this._type === TurnPointType.VIA
             || this._type === TurnPointType.STOP;
-    },
-
-    getMarker: function() {
-        // TODO: implement (should depend on isDestination above)
-        return undefined;
     }
 });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]