summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-06-20 19:17:58 +0200
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2017-06-20 10:17:58 -0700
commit40384b718871c13bb107939de86e03d16826ceb1 (patch)
tree3186f192220501b74b1725e9004e5c0d5a566226
parentccdd4346a5ce0de8d7699f429549748175099d4c (diff)
downloadnavit-40384b718871c13bb107939de86e03d16826ceb1.tar.gz
[Android] Enable autozoom by default (#225)R7630
Enable autozoom by default so that car navigation automatically zooms in on the vehicle based on current speed. Very useful when navigating.
-rw-r--r--navit/xslt/android.xslt1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/xslt/android.xslt b/navit/xslt/android.xslt
index 19b0855f8..1831e098f 100644
--- a/navit/xslt/android.xslt
+++ b/navit/xslt/android.xslt
@@ -49,6 +49,7 @@
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:attribute name="zoom">32</xsl:attribute>
+ <xsl:attribute name="autozoom_active">1</xsl:attribute>
<xsl:attribute name="timeout">86400</xsl:attribute>
<xsl:attribute name="drag_bitmap">1</xsl:attribute>
<xsl:apply-templates/>