diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-16 18:32:25 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-06-16 18:32:25 +0000 |
commit | 3d3443e7ede0896d97da0e703c2a209ad2d2961b (patch) | |
tree | 144c070b23b8fd54e19e8b20c368dc389a8da8e9 /navit/xslt | |
parent | d1310f1ab7098287e2afe015037ae5508ce624df (diff) | |
download | navit-3d3443e7ede0896d97da0e703c2a209ad2d2961b.tar.gz |
Add a Button to bring the map view back to current position
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5147 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/xslt')
-rw-r--r-- | navit/xslt/android.xslt | 1 | ||||
-rw-r--r-- | navit/xslt/osd_minimum.xslt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/navit/xslt/android.xslt b/navit/xslt/android.xslt index 9ccd15ac4..e13734aa7 100644 --- a/navit/xslt/android.xslt +++ b/navit/xslt/android.xslt @@ -39,6 +39,7 @@ <xsl:copy> <xsl:copy-of select="@*"/> <xsl:attribute name="zoom">32</xsl:attribute> + <xsl:attribute name="timeout">86400</xsl:attribute> <xsl:apply-templates/> </xsl:copy> </xsl:template> diff --git a/navit/xslt/osd_minimum.xslt b/navit/xslt/osd_minimum.xslt index d8ffac760..8d39255c5 100644 --- a/navit/xslt/osd_minimum.xslt +++ b/navit/xslt/osd_minimum.xslt @@ -16,6 +16,8 @@ <xsl:text>
 </xsl:text> <osd type="button" src="gui_zoom_out_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="zoom_out()" x="0" y="{round(number($ICON_BIG)+8*number($OSD_SIZE))}" osd_configuration="1"/> <xsl:text>
 </xsl:text> + <osd type="button" src="cursor_{number($ICON_BIG)}_{number($ICON_BIG)}.png" command="follow=0;set_center_cursor()" x="{round(-60*number($OSD_SIZE))}" y="{round(40*number($OSD_SIZE))}" enable_expression="follow>1"/> + <xsl:text>
 </xsl:text> <xsl:copy><xsl:copy-of select="@*|node()"/></xsl:copy> </xsl:template> </xsl:transform> |