summaryrefslogtreecommitdiff
path: root/navit
diff options
context:
space:
mode:
Diffstat (limited to 'navit')
-rw-r--r--navit/navit_shipped.xml3
-rw-r--r--navit/xslt/android.xslt3
2 files changed, 6 insertions, 0 deletions
diff --git a/navit/navit_shipped.xml b/navit/navit_shipped.xml
index 9e87d2fba..409b149e8 100644
--- a/navit/navit_shipped.xml
+++ b/navit/navit_shipped.xml
@@ -185,6 +185,9 @@ Waypoint</text></img>
<osd enabled="no" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.png"/>
<osd enabled="no" type="button" x="0" y="-96" command="zoom_out()" src="zoom_out.png"/>
+ <!-- Traffic -->
+ <traffic type="null"/>
+
<!-- Vehicle with GPS enabled for gpsd on unix -->
<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj">
<!-- Vehicle with GPS enabled for direct communication on windows. Remove the line above if you use this. -->
diff --git a/navit/xslt/android.xslt b/navit/xslt/android.xslt
index 412735273..3a1fdaf02 100644
--- a/navit/xslt/android.xslt
+++ b/navit/xslt/android.xslt
@@ -44,6 +44,9 @@
&lt;img src=''gui_rules'' onclick=''navit.graphics.set_map_location();''>&lt;text>Set map location&lt;/text>&lt;/img>
&lt;img src=''gui_rules'' onclick=''navit.graphics.backup_restore_dialog();''>&lt;text>Backup / Restore&lt;/text>&lt;/img>')"/>
</xsl:template>
+ <xsl:template match="/config/navit/traffic">
+ <traffic type="traff_android"/>
+ </xsl:template>
<xsl:template match="/config/navit[1]">
<xsl:copy>