summaryrefslogtreecommitdiff
path: root/navit/navit_shipped.xml
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-05-31 19:34:27 +0200
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2017-05-31 10:34:27 -0700
commitd4173e24f4d29988516fc08cb3ccbd7d796005d4 (patch)
treebc0b9a7c7485a29d852b005bb605016147e5326c /navit/navit_shipped.xml
parent73fa9004e7b393aba7c47dfb2ddf8201f0173b4f (diff)
downloadnavit-d4173e24f4d29988516fc08cb3ccbd7d796005d4.tar.gz
Add Zoom to route button to Route section in menu (#264)R7595
* Add Zoom to route button to Route section in menu * Add Zoom to route icon * Apply Zoom to route icon * Update command * Add condition
Diffstat (limited to 'navit/navit_shipped.xml')
-rw-r--r--navit/navit_shipped.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index d3785c645..46abd16da 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -97,6 +97,7 @@ Navigation</text></img>
<img src='gui_tools' onclick='network_info()'><text>Network info</text></img>
</a>
<a name='Route'><text>Route</text>
+ <img cond='navit.route.route_status&amp;1' src='gui_zoom_route' onclick='navit.zoom_to_route();redraw_map();back_to_map()'><text>Zoom to route</text></img>
<img src='gui_actions' onclick='route_description()'><text>Description</text></img>
<img src='gui_heightprofile' onclick='route_height_profile()'><text>Height Profile</text></img>
<img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='cursor_still' onclick='waypoints()'><text>Waypoints</text></img>