-
Notifications
You must be signed in to change notification settings - Fork 0
/
navitosd-google.xml
executable file
·32 lines (32 loc) · 2.57 KB
/
navitosd-google.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<xml>
<!-- Try of new OSD like Google Navi -->
<!-- BEGIN Custom navit.xml OSD configuration
INFO
osd_configuration visable:
No Route (3): 1,2,3,5,6,7,9 / not vis: 4,8
Route (5): 1,3,4,5,6,7,9 /not vis: 2,8
Info Screen! (9): 1,3,5,7,8,9 /not vis: 2,4,6
-->
<!-- Change osd_configuration depending on route_status -->
<osd name="ifroute" update_period="2" type="cmd_interface" h="1" w="1" x="-1" y="-1" command='osd_configuration=
route.route_status==0 && osd_configuration!=9 ? 3 :
(route.route_status > 0 && osd_configuration!=9 ? 5 : 9
);
set_int_var("old_osd_cfg",
osd_configuration!=9 ? osd_configuration : "old_osd_cfg"
)
' />
<!-- HEAD -->
<osd type="navigation_next_turn" x="0" y="0" w="148" h="128" icon_src="%s_wh_64_64.png" background_color="#006c4a" osd_configuration="4"/>
<osd type="text" label="${navigation.item[1].length[named]}" x="0" y="128" w="148" h="56" font_size="500" align="0" background_color="#006c4a" font="Roboto" osd_configuration="4" />
<osd type="text" label="${navigation.item[1].street_name} ${navigation.item[1].street_name_systematic}" x="148" y="0" w="706" h="105" font_size="600" text_color="#ffffffff" background_color="#006c4a" align="0" font="Roboto" osd_configuration="4" />
<!-- FOOT -->
<osd type="text" label=" " x="0" y="-66" w="35" h="66" align="8" font_size="500" background_color="#ffffff" text_color="#010101" osd_configuration="4" />
<osd type="button" src="osd_graphics/abort_27_66.png" command="gui.abort_navigation()" x="35" y="-66" osd_configuration="4"/>
<osd type="text" label="${navigation.item.destination_time[remaining]}" x="72" y="-66" w="187" h="66" align="8" font_size="500" background_color="#ffffff" text_color="#010101" osd_configuration="4" />
<osd type="text" label="${navigation.item.destination_length[value].value}" x="250" y="-66" w="180" h="66" align="8" font_size="500" background_color="#ffffff" text_color="#010101" font="Roboto" osd_configuration="4"/>
<osd type="text" label="${navigation.item.destination_length[unit]}" x="430" y="-66" w="60" h="66" align="4" font_size="400" background_color="#ffffff" text_color="#010101" osd_configuration="4" />
<osd type="text" label="Ank. ca. " x="490" y="-66" w="100" h="66" align="4" font_size="400" text_color="#010101" background_color="#ffffff" font="Roboto" osd_configuration="4" />
<osd type="text" label="${navigation.item.destination_time[arrival]}" x="590" y="-66" w="257" h="66" align="4" font_size="500" text_color="#010101" background_color="#ffffff" font="Roboto" osd_configuration="4"/>
<!-- end of try -->
</xml>