summaryrefslogtreecommitdiff
path: root/navit/navit_shipped.xml
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-05 14:04:41 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-05 14:04:41 +0000
commit2f51acf7cf0c3e1ee54cb7ed3f29b6afc7e47fc8 (patch)
treec00c59236587e6a23fed29a9528ebc127982d81e /navit/navit_shipped.xml
parenta644bb1f3ec01b8c4e2c66144f8deaa97ee341c5 (diff)
downloadnavit-svn-2f51acf7cf0c3e1ee54cb7ed3f29b6afc7e47fc8.tar.gz
Fix:Core:Revert to older behaviour of showing map on map click, made previous method configurable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5077 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit_shipped.xml')
-rw-r--r--navit/navit_shipped.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index 5764360e..8d28d830 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -43,11 +43,12 @@
In case of the internal GUI, you can even influence the size of the text and of the icons in the toolbar and the viewport.
Here's an example for a freerunner: -->
<!-- <gui type="internal" font_size="350" icon_xs="32" icon_s="96" icon_l="96"/> -->
-
+ <!-- The action that appears on map click is configurable with the attribute "on_map_click".
+ To get the prvious behaviour of showing the map point menu use on_map_click='menu("#Map Point")'
+ -->
<gui type="internal" enabled="yes"><![CDATA[
<html>
<a name='Main Menu'><text>Main menu</text>
- <img cond='button' src='gui_map'><script>position(click_coord_geo,_("Map Point"),8|16|32|64|256)</script></img>
<a href='#Actions'><img src='gui_actions'>Actions</img></a>
<img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'><text>Show
Map</text></img>
@@ -91,6 +92,9 @@ Waypoint</text></img>
<img cond='navit.route.route_status&amp;1' src='gui_stop' onclick='navit.route_remove_next_waypoint()'><text>Drop next
Waypoint</text></img>
</a>
+ <a name='Map Point'><text>Map Point</text>
+ <script>position(click_coord_geo,_("Map Point"),8|16|32|64|256)</script>
+ </a>
</html>
]]></gui>
<!-- for a debug log -->