diff options
author | mvglasow <michael -at- vonglasow.com> | 2015-11-09 15:01:26 +0100 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2015-11-09 15:01:26 +0100 |
commit | c9da5977aa50a4bbcf33ed90ef1c42d2b6070681 (patch) | |
tree | 97e4c1ab153b589bed711f58f4d1095a44489bc8 /navit/xslt | |
parent | d57fd565f86e41a8f96245ac4e3062f61e178e70 (diff) | |
download | navit-c9da5977aa50a4bbcf33ed90ef1c42d2b6070681.tar.gz |
Add:osd_core:Show compass only when we have a valid position
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/xslt')
-rw-r--r-- | navit/xslt/osd_minimum.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/xslt/osd_minimum.xslt b/navit/xslt/osd_minimum.xslt index 688158d8d..cda88dc88 100644 --- a/navit/xslt/osd_minimum.xslt +++ b/navit/xslt/osd_minimum.xslt @@ -4,7 +4,7 @@ <xsl:param name="NEXT_TURN_SIZE"><xsl:value-of select="round(12*number($OSD_SIZE)+number($ICON_BIG))"/></xsl:param> <xsl:param name="NEXT_TURN_TEXT_HIGHT"><xsl:value-of select="round(20*number($OSD_SIZE))"/></xsl:param> - <osd type="compass" enabled="yes" x="{round(-60*number($OSD_SIZE))}" y="{round(-80*number($OSD_SIZE))}" w="{round(60*number($OSD_SIZE))}" h="{round(80*number($OSD_SIZE))}" font_size="{round(200*number($OSD_SIZE))}" osd_configuration="1"/> + <osd type="compass" enabled="yes" x="{round(-60*number($OSD_SIZE))}" y="{round(-80*number($OSD_SIZE))}" w="{round(60*number($OSD_SIZE))}" h="{round(80*number($OSD_SIZE))}" font_size="{round(200*number($OSD_SIZE))}" enable_expression="vehicle.position_valid"/> <xsl:text>
 </xsl:text> <osd type="text" label="${{navigation.item.destination_length[named]}}\n${{navigation.item.destination_time[arrival]}}" x="{round(-60*number($OSD_SIZE))}" y="0" w="{round(60*number($OSD_SIZE))}" h="{round(40*number($OSD_SIZE))}" font_size="{round(200*number($OSD_SIZE))}" enable_expression="navigation.nav_status>=3"/> <xsl:text>
 </xsl:text> |