[gnome-maps/wip/mlundblad/otp-use-walking-routes: 4/5] route: Add types for elevators and u-turns
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/otp-use-walking-routes: 4/5] route: Add types for elevators and u-turns
- Date: Thu, 26 Sep 2019 21:55:48 +0000 (UTC)
commit d6ee635c2fdc2f933746a7d9204060e6b849a94a
Author: Marcus Lundblad <ml update uu se>
Date: Thu Sep 26 23:53:28 2019 +0200
route: Add types for elevators and u-turns
Add turn point types for taking elevators
and making u-turns.
src/route.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/route.js b/src/route.js
index 1129dec..458ed2b 100644
--- a/src/route.js
+++ b/src/route.js
@@ -38,7 +38,10 @@ var TurnPointType = {
// This one is not in GraphHopper, so choose
// a reasonably unlikely number for this
- START: 10000
+ START: 10000,
+ ELEVATOR: 10001,
+ UTURN_LEFT: 10002,
+ UTURN_RIGHT: 10003
};
/* countries/terrotories driving on the left
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]