[gnome-maps/wip/mlundblad/transit-routing: 15/26] mapBubble: Ensure non-transit when routing
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/transit-routing: 15/26] mapBubble: Ensure non-transit when routing
- Date: Wed, 8 Feb 2017 22:34:30 +0000 (UTC)
commit 4b16859500f419f330a9a15c52b105dd59f38737
Author: Marcus Lundblad <ml update uu se>
Date: Thu Nov 17 22:31:35 2016 +0100
mapBubble: Ensure non-transit when routing
When using the route button, the mode will default to car,
so make sure the GraphHopper service is listening to route
query events.
https://bugzilla.gnome.org/show_bug.cgi?id=755808
src/mapBubble.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mapBubble.js b/src/mapBubble.js
index 6aa587d..6dc6d0b 100644
--- a/src/mapBubble.js
+++ b/src/mapBubble.js
@@ -158,6 +158,7 @@ const MapBubble = new Lang.Class({
button.visible = true;
button.connect('clicked', (function() {
+ Application.routingDelegator.useTransit = false;
query.freeze_notify();
query.reset();
route.reset();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]