OSD Layouts

From Navit's Wiki
Revision as of 13:25, 26 January 2011 by Korrosa (talk | contribs) (Palm Pre Layout: Re-direct for cursor xml)
Jump to: navigation, search

This page is intended for users to display the OSD layouts that they have designed and provide a way to share those layouts to other users. Feel free to add your own completed layout to this page. As the number of layouts expands this page will be broken into several sub sections for each device.

Note: For an explanation of how to modify the OSD layouts reference OSD section. Many of the layouts on this page were borrowed from the examples on that page.

Notes

  • If you would like instructions on how to modify OSD layouts you can refer to the OSD page .
  • If you would like to share your own layout please contact us on the IRC Freenode Channel #navit and let us know. You can also try the web-based chat

Tip

To make configuring Navit simpler it is recommended that you copy the navit.xml from "/usr/share/navit" to your home directory "/home/user/.navit" where "user" is the username you log into your computer with. Then to make changing OSD layouts, you can replace the OSD entries in navit.xml with:

<xi:include href="/home/user/.navit/navitOSD.xml"/>

Then create a new file navitOSD.xml in which you place all the OSD items. This means you can create and share layouts by providing just the navitOSD.xml file and people can drop them into place without having to hand edit their navit.xml files. The same trick will work for any subset part of the navit.xml file. Remember to begin your file with <xml> and end it with </xml>, otherwise Navit won't be able to parse it properly.

This trick was contributed by Daniel Would on the NSeries wiki page.

Layout scaler for different screen sizes

This is a small perl script scale.pl that makes use of imagemagick (convert) to quickly convert any OSD layout for a different screen resolution. It is tested for nibbler01 and Mineque003 and assumes to be run against a specific skin and not against the navit.xml (might work too...)

Known issues:

  • svg images are displayed in fixed size by navit (might be fixed soon)
  • some elements don't scale that nicely, you might want to edit the resulting xml for one or two fontsizes.
  • no proper xml parsing, just regexp stuff

Features:

  • converts xml and png in one go
  • does not touch original files

Usage: Create scaled layout with:

./scale.pl <desired scale in percent> <path>
./scale.pl 50 ~/.navit/nibbler01/

then include the -scaled-XX xml file instead of the original.

get it here


Nokia NSeries Tablets

For tips and advice on Nokia layouts please reference the NSeries specific page.

NSeries Layout 1

Screenshot-2009-02-06-21-59-28.png

<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="5" y="46" font_size="800"
   w="200" h="55" align="4" background_color="#1b0877cc"/>
<osd enabled="yes" type="text" label="ETA: ${navigation.item.destination_time[arrival]}" x="-220"
   y="46" font_size="500" w="215" h="40" align="4" background_color="#1b0877cc"/> 
<osd enabled="yes" type="text" label="Left to Go" x="-175" y="87" font_size="400" w="170" h="40"
   align="4" background_color="#1b0877cc"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_length[named]}" x="-200" y="128"
   font_size="550" w="195" h="40" align="4" background_color="#1b0877cc"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_time[remaining]}" x="-200"
   y="169" font_size="550" w="195" h="40" align="4" background_color="#1b0877cc"/>
<osd enabled="yes" type="text" label="In ${navigation.item[1].length[named]} " x="-320" y="-86"
   font_size="650" w="235" h="45" align="4" background_color="#1b0877cc"/> 
<osd enabled="yes" type="navigation_next_turn" x="-85" y="-106" font_size="500" w="80" h="65"
   background_color="#1b0877cc"/>  
<osd enabled="yes" type="text" label="onto ${navigation.item[1].street_name}" x="-555" y="-40"
   font_size="550" w="550" h="35" align="4" background_color="#1b0877cc"/>
<osd enabled="yes" type="text" label="${navigation.item.street_name} Max:${tracking.item.route_speed}" 
 x="5" y="5" align="0" background_color="#1b0877cc" font_size="550" w="790" h="40"/> 	
<osd enabled="yes" type="gps_status" x="5" y="101" w="50" h="40" background_color="#1b0877cc"/>
<osd enabled="yes"  type="button" x="5" y="-120" command="zoom_in()" src="gui_zoom_in.png"/>
<osd enabled="yes"  type="button" x="60" y="-60" command="zoom_out()" src="gui_zoom_out.png"/> 
<osd enabled="yes"  type="button" x="5" y="-60" command="gui.fullscreen=1" src="gui_fullscreen.png"/>
<osd enabled="no" type="speed_warner" x="-60" y="180" w="60" h="60"/> 
<osd enabled="no" type="button" x="0" y="0" command="gui_internal_menu" src="menu.xpm"/>

NSeries Layout 2

Osd2.png

<osd enabled="yes" type="compass" x="5" y="5" font_size="250" w="60" h="62" background_color="#48852faf"/>
<osd enabled="yes" type="gps_status" x="70" y="5" w="50" h="40" background_color="#48852faf"/>
<osd enabled="yes" type="text" label="${vehicle.position_sats_signal}/${vehicle.position_qual}" x="70"
   y="45" font_size="300" w="50" h="22" align="0" background_color="#48852faf"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="5" y="72" font_size="400" w="115"
   h="35" align="4" background_color="#48852faf"/>
<osd enabled="yes" type="text" label="ETA: ${navigation.item.destination_time[arrival]}" x="5" y="-220"
   font_size="400" w="170" h="30" align="4" background_color="#1a6ad780"/>
<osd enabled="yes" type="text" label="Left to Go" x="5" y="-185" font_size="400" w="170" h="30" align="4"
background_color="#1a6ad780"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_length[named]}" x="5" y="-150" 
   font_size="400" w="170" h="30" align="4" background_color="#1a6ad780"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_time[remaining]}" x="5" y="-115" 
   font_size="400" w="170" h="30" align="4" background_color="#1a6ad780"/>
<osd enabled="yes" type="text" label="In ${navigation.item[1].length[named]} " x="5" y="-40" 
   font_size="500" w="235" h="35" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="navigation_next_turn" x="245" y="-45" font_size="500" w="60" h="40"
   background_color="#000000c8"/>
<osd enabled="yes" type="text" label="onto ${navigation.item[1].street_name}" x="310" y="-40"
   font_size="500" w="485" h="35" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.street_name}" x="150" y="5"  font_size="500"
   w="500" h="35" align="0" background_color="#ff71004b"/> 
<osd enabled="yes" type="button" x="-60" y="0" command="zoom_in()" src="gui_zoom_in.png"/>
<osd enabled="yes" type="toggle_announcer" x="-65" y="95" w="60" h="60" background_color="#1a6ad700"/>
<osd enabled="yes" type="button" x="-60" y="200" command="gui.fullscreen=1" src="gui_fullscreen.png"/>
<osd enabled="yes" type="button" x="-60" y="-105" command="zoom_out()" src="gui_zoom_out.png"/> 

NSeries Layout 3

OSDSimple.png

<osd enabled="yes" type="compass" x="-110" y="-60" font_size="250" w="60" h="60" background_color="#000000c8"/>
<osd enabled="yes" type="gps_status" x="-50" y="-60" w="50" h="40" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${vehicle.position_sats_signal}/${vehicle.position_qual}" x="-50" y="-20" 
   font_size="250" w="50" h="20" align="0" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="0" y="-60" font_size="400" w="110" h="60" 
   align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="ETA: ${navigation.item.destination_time[arrival]}" x="110" y="-30" 
   font_size="300" w="170" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_length[named]}" x="280" y="-30" 
   font_size="300" w="170" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_time[remaining]}" x="450" y="-30" 
   font_size="300" w="240" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="In ${navigation.item[1].length[named]} " x="0" y="0" font_size="500" 
   w="245" h="40" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="navigation_next_turn" x="245" y="0" font_size="500" w="60" h="40" background_color="#000000c8" 
   icon_src="$NAVIT_SHAREDIR/xpm/%s_wh_48_48.png" />
<osd enabled="yes" type="text" label="Onto ${navigation.item[1].street_name}" x="305" y="0" font_size="500" 
   w="495" h="40" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.street_name}" x="110" y="-60"  font_size="500" 
   w="580" h="30" align="0" background_color="#000000c8"/>
<osd enabled="yes" type="button" x="-60" y="50" command="zoom_in()" src="gui_zoom_in.png"/>
<osd enabled="yes" type="toggle_announcer" x="-65" y="130" w="60" h="60" background_color="#1a6ad700"/>
<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen=1" src="gui_fullscreen.png"/>
<osd enabled="yes" type="button" x="-60" y="-120" command="zoom_out()" src="gui_zoom_out.png"/>


Neo FreeRunner

FreeRunner Layout 1

FR-3D-OSD2.png

<gui type="internal" font_size="350" icon_xs="60" icon_s="70" icon_l="70"/>                                                                 
<osd enabled="yes" type="text" label="${navigation.item.street_name} ${navigation.item[1].street_name_systematic}"
 x="0" y="0" w="425" h="30" align="0" background_color="#000000cc" font_size="300" /> 
<osd enabled="yes" type="gps_status"                                                   
 x="425" y="0" w="65" h="30" align="0" background_color="#000000cc" font_size="300" /> 
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}"  
 x="0" y="-25" w="160" h="25" align="4" background_color="#000000cc" font_size="350" /> 
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}"  
 x="160" y="-25" w="160" h="25"align="4" background_color="#000000cc" font_size="350" /> 
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}"       
 x="320" y="-25" w="160" h="25" align="4" background_color="#000000cc" font_size="350" />     
<osd enabled="yes" type="text" label="${vehicle.position_speed} / ${tracking.item.route_speed}"
 x="0" y="30" w="180" h="25" align="4" background_color="#000000cc" font_size="280"/>
<osd enabled="yes" type="navigation_next_turn"                                         
 x="320" y="30"  w="160" h="60"  background_color="#000000cc" />                      
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}"             
 x="320" y="90" w="160" h="40" align="" background_color="#000000cc" font_size="450"/>  
<osd enabled="yes" type="button" x="-96" y="-106" command="zoom_in()" src="zoom_in.xpm"/>                         
<osd enabled="yes" type="button" x="0" y="-106" command="zoom_out()" src="zoom_out.xpm"/>

FreeRunner Layout 2

Navit-FR-OSD-POI-Firenze.png

<osd enabled="yes" type="text" label="${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" 
 x="0" y="0" w="480" h="30" align="0" background_color="#000000cc" font_size="300" />
<osd enabled="yes" type="gps_status" x="430" y="0" w="65" h="30" align="0" background_color="#000000cc" font_size="300" />
<osd enabled="yes" type="navigation_next_turn"         x="165" y="30" w="150" h="60"  background_color="#000000cc" />
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="165" y="90" w="150" h="40" align="" 
 background_color="#000000cc" font_size="450"/>
<osd enabled="yes" type="button" x="-55" y="-90" command="zoom_in()" src="gui_zoom_in.svg"/>
<osd enabled="yes" type="button" x="5" y="-90" command="zoom_out()" src="gui_zoom_out.svg"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="120" y="-50" w="240" h="25" align="0" 
 background_color="#000000cc" font_size="280"/>
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}" x="0" y="-25" w="160" h="25"
 align="4" background_color="#000000cc" font_size="350" />
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}" x="160" y="-25" w="160" 
 h="25" align="4" background_color="#000000cc" font_size="350" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}" x="320" y="-25" w="160" 
 h="25" align="4" background_color="#000000cc" font_size="350" />

FreeRunner Layout 3

Navit-FR-OSD-POI-Firenze2.png

<osd enabled="yes" type="text" label="${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" 
 x="0" y="0" w="480" h="30" align="0" background_color="#000000cc" font_size="300" />
<osd enabled="yes" type="gps_status" x="430" y="0" w="65" h="30" align="0" background_color="#000000cc" font_size="300" />
<osd enabled="yes" type="compass" align="0" font_size="350" x="0" y="30" w="150" h="100"  background_color="#000000cc" />
<osd enabled="yes" type="navigation_next_turn" x="-150" y="30" w="150" h="60"  background_color="#000000cc" />
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="-150" y="90" w="150" h="40" align="0" 
 background_color="#000000cc" font_size="450"/>
<osd enabled="yes" type="button" x="-55" y="-90" command="zoom_in()" src="gui_zoom_in.svg"/>
<osd enabled="yes" type="button" x="5" y="-90" command="zoom_out()" src="gui_zoom_out.svg"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="120" y="-50" w="240" h="25" align="0" 
 background_color="#000000cc" font_size="280"/>
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}"
 x="0" y="-25" w="160" h="25" align="4" background_color="#000000cc" font_size="350" />
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}"
 x="160" y="-25" w="160" h="25" align="4" background_color="#000000cc" font_size="350" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}"
 x="320" y="-25" w="160" h="25" align="4" background_color="#000000cc" font_size="350" />


FreeRunner Layout 4

<osd enabled="yes" type="text" label="Currently On ${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" x="0" y="0" w="590" h="30" align="4" />
<osd enabled="yes" type="gps_status" x="-50" y="0" w="50" h="30" align="8" font_size="300" />
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}" x="0" y="-25" w="160" h="25" align="4" font_size="350" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}" x="160" y="-25" w="160" h="25" align="4" font_size="350"/>
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="-160" y="-30" w="160" h="30" font_size="500"/>
<osd enabled="yes" type="navigation_next_turn" x="-160" y="-126" w="160" h="96"  icon_src="$NAVIT_SHAREDIR/xpm/%s_wh_96_96.png"/>
<osd enabled="yes" type="button" x="-96" y="30" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.xpm"/>
<osd enabled="yes" type="button" x="-96" y="126" command="zoom_in()" src="zoom_in.xpm"/>
<osd enabled="yes" type="button" x="-96" y="222" command="zoom_out()" src="zoom_out.xpm"/>
<osd enabled="yes" type="toggle_announcer" x="0" y="30" w="96" h="96" icon_src="$NAVIT_SHAREDIR/xpm/%s_96_96.png" />

PC Layouts

Mineque's PC layouts

Thoose skins fits only screens with 800px width.

Create dir ".navit/skins/" in your home dir and unpack there skin.
For enabling it you have to edit xml file from the archive in two places:

      <osd enabled="yes" type="button" x="0" y="-120" w="800" h="120" command="" 
src="/home/mineque/.navit/skins/Mineque_003/M_003_01.png" />
      <osd enabled="yes" type="button" x="0" y="0" w="800" h="35" command="" 
src="/home/mineque/.navit/skins/Mineque_003/M_003_02.png" />  

You have to change path after src="..." to one will fits your user dirname.
And last thing edit navit.xml. You have to comment everything between:

   <gui type="internal" />

and

   <vehicle ...

After that paste:

   <xi:include href="/home/mineque/.navit/skins/Mineque_001/Mineque_001.xml" />

under

   <gui type="internal" />

with corrected path of your user dirname and choosen skin.


Mineque's First Wip Layout

Mineque OSD Layout 01.jpg

<osd enabled="yes" type="text" label="Currently On ${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" 
 x="0" y="0" w="735" h="30" align="0" background_color="#a60c0fee" font_size="300" />
<osd enabled="yes" type="gps_status" x="735" y="0" w="65" h="30" align="0" background_color="#a60c0fee" font_size="300" />
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}" x="0"
 y="-25" w="160" h="25" align="4" background_color="#a60c0fee" font_size="350" />
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}" x="160"
 y="-25" w="160" h="25"align="4" background_color="#a60c0fee" font_size="350" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}" x="320"
 y="-25" w="170" h="25" align="4" background_color="#a60c0fee" font_size="350" />
<osd enabled="yes" type="text" label="${vehicle.position_speed} / ${tracking.item.route_speed}"
 x="490" y="-25" w="150" h="25" align="4" background_color="#a60c0fee" font_size="280"/>
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="640" y="-30" w="160" 
 h="30" background_color="#a60c0fee" font_size="500"/>
<osd enabled="yes" type="navigation_next_turn" x="640" y="-80"  w="160" h="50" background_color="#a60c0fee" /> 
<osd enabled="yes"  type="button" x="5" y="30" command="gui.fullscreen=1" src="gui_fullscreen.svg"/> 
<osd enabled="no"  type="button" x="300" y="100" command="gui.menu()" src="menu.xpm"/>
<osd enabled="yes"  type="button" x="5" y="475" command="zoom_in()" src="gui_zoom_in.svg"/>
<osd enabled="yes"  type="button" x="590" y="475" command="zoom_out()" src="gui_zoom_out.svg"/>

Mineque's OSD 001 Layout

Mineque OSD Layout 02.jpg

Note! The following package contains two images required for this layout:

<osd enabled="yes" type="text" label="Currently On ${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" 
 x="0" y="0" w="735" h="30" align="1" background_color="#a60c0f00]" font_size="300" src="gui_fullscreen.svg" />
<osd enabled="yes" type="gps_status" x="735" y="0" w="65" h="30" align="0" background_color="#a60c0f00" font_size="300" />
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}" x="0" y="-25" w="160" h="25" align="4" 
 background_color="#a60c0f01" font_size="350" />
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}" x="160" y="-25" w="160" h="25"align="4" 
 background_color="#a60c0f00" font_size="350" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}" x="320" y="-25" w="170" h="25" align="4" 
 background_color="#a60c0f00" font_size="350" />
<osd enabled="yes" type="text" label="${vehicle.position_speed} / ${tracking.item.route_speed}" x="490" y="-25" w="150" h="25" align="4" 
 background_color="#a60c0f00" font_size="280"/>
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="640" y="-30" w="160" h="30" background_color="#a60c0f00" 
 font_size="500"/>
<osd enabled="yes" type="navigation_next_turn" x="640" y="-80"  w="160" h="50" background_color="#a60c0f00" /> 
<osd enabled="yes" type="button" x="0" y="-85" w="800" h="85" command="" src="/home/mineque/.navit/skins/Mineque_001/M_001_01.png" />
<osd enabled="yes" type="button" x="0" y="0" w="800" h="35" command="" src="/home/mineque/.navit/skins/Mineque_001/M_001_02.png" />              
<osd enabled="yes"  type="button" x="5" y="30" command="gui.fullscreen=1" src="gui_fullscreen.svg"/> 
<osd enabled="yes"  type="button" x="5" y="475" command="zoom_in()" src="gui_zoom_in.svg"/>
<osd enabled="yes"  type="button" x="590" y="475" command="zoom_out()" src="gui_zoom_out.svg"/> 

Mineque's OSD 003 Layout

Mineque 003.jpg

Note! The following package contains two images required for this layout:

<osd enabled="yes" type="text" label="Currently On ${navigation.item.street_name} ${navigation.item[1].street_name_systematic}" 
 x="0" y="0" w="735" h="35" align="16" background_color="#a60c0f00" font_size="430" src="gui_fullscreen.svg" />
<osd enabled="yes" type="gps_status" x="735" y="0" w="65" h="30" align="0" background_color="#a60c0f00" font_size="300" />
<osd enabled="yes" type="text" label="ETA:${navigation.item.destination_time[arrival]}" x="50" y="-100" w="275" h="70" align="4" 
 background_color="#a60c0f01" font_size="500" />
<osd enabled="yes" type="text" label="TL:${navigation.item.destination_time[remaining]}" x="475" y="-100" w="275" h="70"align="4" 
 background_color="#a60c0f00" font_size="500" />
<osd enabled="yes" type="text" label="Dist:${navigation.item.destination_length[named]}" x="50" y="-60" w="275" h="70" align="4" 
 background_color="#a60c0f00" font_size="500" />
<osd enabled="yes" type="text" label="${vehicle.position_speed} / ${tracking.item.route_speed}" x="475" y="-60" w="275" h="70" align="4" 
 background_color="#a60c0f00" font_size="500"/>
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="325" y="-40" w="150" h="40" align="0" 
 background_color="#a60c0f00" font_size="500"/>
<osd enabled="yes" type="navigation_next_turn" x="325" y="-135"  w="150" h="100" align="15" background_color="#a60c0f00" /> 
<osd enabled="yes" type="button" x="0" y="-120" w="800" h="120" command="" src="/home/mineque/.navit/skins/Mineque_003/M_003_01.png" />
<osd enabled="yes" type="button" x="0" y="0" w="800" h="35" command="" src="/home/mineque/.navit/skins/Mineque_003/M_003_02.png" />                  
<osd enabled="yes"  type="button" x="5" y="35" command="gui.fullscreen=1" src="gui_fullscreen.svg"/> 
<osd enabled="no"  type="button" x="300" y="100" command="gui.menu()" src="menu.xpm"/>
<osd enabled="yes"  type="button" x="5" y="475" command="zoom_in()" src="gui_zoom_in.svg"/>
<osd enabled="yes"  type="button" x="-53" y="475" command="zoom_out()" src="gui_zoom_out.svg"/>

Nibblers OSD Layouts

All these OSDs are developed for and tested with navit 0.2.0

nibbler01 v0.2 for Netbook & widescreen

This OSD fits well for my netbook @1024x576. It is optimized for widescreen Displays, so putting all Info on the sides, and should scale well with any resolution bigger than 500x500 or something. The screenshot was taken with ubuntu netbook remix which saves a lot of precious screen space. The sound mute/unmute is untested and the fullscreen does not work, at least for me, no clue why. I'm using gtk interface, no idea how this might or might not interfere with OSDs... I, <chr>, had the same experience with the internal gui on an N810 handheld. Changing 'command="gui.fullscreen=()"' to 'command="gui.fullscreen=1"' solved the problem. Actually I do use now 'command="gui.fullscreen=!gui.fullscreen"' which toggles the screen.

Nibbler01-0.2.png

To install just add

<xi:include href="/home/sven/.navit/skins/nibbler01/nibbler01.xml" />

to your navit.xml (just where all the default/deactivated osd elements are) and fix the paths to the pics within nibbler01.xml and your navit.xml.

From version 0.2 on: For the buttons to work, you need to copy the empty.svg to your image directory (/usr/share/navit/xpm/ in my case) or fix the path to them in the nibbler01.xml.

The .cxf files are now included in the download, so feel free to alter them under the terms of CC-SA.


LCARS v0.1 (Startrek TNG)

This OSD does not scale so well, so use the resizer if you need to. It also makes use of empty.svg which it expects in the default image location of navit (included in lcars directory of the tar)

Version 0.2 makes use of the newly introduced <osd type="image">, as the huge transparent button was avoiding users to actually click/drag the map.

Lcars-0.1.png

To install just add

<xi:include href="/home/sven/.navit/skins/lcars/lcars.xml" />

to your navit.xml (just where all the default/deactivated osd elements are) and fix the paths to the pics within lcars.xml and your navit.xml.

For an appropriate vehicle include the cursor:

<xi:include href="/home/sven/.navit/skins/lcars/ussnavit.xml" />

Korrosa's Netbook Layout

The following OSD layout has been optimised for netbooks with screen resolutions of 1024x600 pixels. It uses some features which are only available when using the latest SVN snapshot of Navit. Of course, this skin can still be used without these features. There are specific icons used in this layout which I did not make so I won't upload here for licensing issues - I'm going to presume that you can type the correct words into Google Images to find the icons you want. The extra icons are:

  • Navit icon - guess where you can find that one...!
  • Information icon.
  • 1px x 1px transparent rectangle, used so that a keybinding can be applied to a command without having an icon clutter up the OSD. That rectangle was actually made by me, so here it is: Transparent rectangle.png.

Screenshots

The first screenshot shows Navit in tracking mode - i.e. there is no route defined, so Navit just follows the driver around, displaying current road names, speeds and distances to speed cameras. The second screenshot shows Navit in the more familiar routing or navigating mode, with a destination set, and the current and next road names displayed, and navigations manoeuvres and distances shown. The map is rendered using the OSM Mapnik layout style.

Korrosa osd tracking.png


Korrosa osd navigating.png

Tracking Mode

Tracking mode is the default mode when Navit opens. It has the following features:

  • Top right:
  • Bottom left:
    • Compass OSD, displaying bearing and Northing arrow relative to current direction of travel (OSD#compass)
    • Current altitude of the vehicle, using OSD#text's vehicle.position_height
  • Bottom centre:
    • Current road name and/or reference number (if available) using OSD#text's tracking.item.street_name and tracking.item.street_name_systematic
    • Maximum allowable speed on the road using OSD#speed_warner
  • Bottom right:
    • Current vehicle speed using OSD#text's vehicle.position_speed
  • Right (icons, top to bottom):
    • Fullscreen
    • Zoom in
    • Zoom out
    • View full route
    • Navit icon - toggle between:
      • Bird's eye, north oriented view at 200 zoom
      • 3D view pitched at 20 degrees, zoomed in at level 15 and oriented in the direction of vehicle travel
    • Information icon - toggle between:
      • Tracking mode
      • Navigating mode

Navigating Mode

Navigating mode has all the same OSD elements as tracking mode, plus the following:

  • Top right:
    • Total distance remaining to destination using OSD#text's navigation.item.destination_length[named]
  • Top left:
  • Top centre:
    • Next road name and/or number (if available) to turn onto during the next maneouvre. Uses OSD#text's navigation.item[1].street_name and navigation.item[1].street_name_systematic

Keybindings

This layout uses OSD#Keybindings to bind keys to specific OSD elements. This is currently only available using the latest SVN builds of Navit. The following are defined:

  • Key: =
    • Bound to the zoom in OSD element. Press this key to zoom in.
  • Key: -
    • Bound to the zoom out OSD element. Press this key to zoom out.
  • Key: f
    • Bound to the fullscreen OSD element. Press this key to toggle between fullscreen and windowed mode.
  • Key: SPACEBAR
    • Bound to the Navit icon. Press this key to toggle between birds-eye and 3D view (as explained above)
  • Key: i
    • Bound to the Information icon. Press this key to toggle between tracking and navigating modes.
  • Key: s
    • Bound to an invisible 1px x 1px rectangle. Press this key to toggle speech on/off.

XML

To use, copy and paste the following markup to Navit.xml. Don't forget to disable any other OSD items which may have been there before! NOTE: There are some hard-coded paths in the markup, especially to the 'special icons'. These will obviously have to be changed.

<!-- TOP LEFT -->
<!-- Distance to Next Maneouvre -->
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="0" y="0" font_size="350" w="75" h="30" align="0" background_color="#000000c8" osd_configuration="2" />
<!-- Next Maneouvre Icon -->
<osd enabled="yes" type="navigation_next_turn" x="0" y="30" background_color="#000000c8" w="75" osd_configuration="2" />
<!-- Next Road -->
<osd enabled="yes" type="text" label="${navigation.item[1].street_name} ${navigation.item[1].street_name_systematic}" x="75" y="0" font_size="450" w="400" h="40" align="4" background_color="#000000c8" osd_configuration="2" />

<!-- TOP RIGHT -->
<!--<osd type="image" x="-160" y="0" h="20" w="15" src="/home/netbook/.navit/poi/png/traffic_camera.png" color="#FFFFFFc8"/>-->
<!-- Speed Cameras -->
<osd enabled="yes" type="speed_cam" w="125" h="20" x="-125" y="0" label="${distance}" announce_on="1" font_size="300" background_color="#000000c8" align="8"/>
<!-- Odometer -->
<osd enabled="yes" type="odometer" w="125" h="20"  x="-125" y="20" font_size="300" label="${avg_spd}" background_color="#000000c8" align="8" name="persistent_odometer_1" />
<!-- Route Distance -->
<osd enabled="yes" type="text" label="DTG ${navigation.item.destination_length[named]}" w="125" h="20"  x="-125" y="40"  font_size="300" align="8" background_color="#000000c8" osd_configuration="2" />
<!-- Route Time -->
<!--<osd enabled="yes" type="text" label="TTG ${navigation.item.destination_time[remaining]}" x="-125" y="40"  font_size="300" w="125" h="20" align="8" background_color="#000000c8" osd_configuration="2" />-->
<!-- Arrival Time -->
<!--<osd enabled="yes" type="text" label="ETA ${navigation.item.destination_time[arrival]}" x="-125" y="60"  font_size="300" w="125" h="20" align="8" background_color="#000000c8" osd_configuration="2" />-->

<!-- BOTTOM -->
<!-- Compass -->
<osd enabled="yes" type="compass" x="0" y="-120" w="60" h="80" background_color="#000000c8"/>
<!-- Current Altitude -->
<osd enabled="yes" type="text" label="ALT ${vehicle.position_height}" x="0" y="-20"  font_size="200" w="60" h="20" align="0" background_color="#000000c8"/>
<!-- Current Direction -->
<osd enabled="yes" type="text" label="${vehicle.position_direction}°" x="0" y="-40"  font_size="200" w="60" h="20" align="0" background_color="#000000c8"/>
<!-- Current Street -->
<osd enabled="yes" type="text" label="${tracking.item.street_name} ${tracking.item.street_name_systematic}" x="60" y="-40"  font_size="500" w="764" h="40" align="0" background_color="#000000c8"/>
<!-- Speed Warner -->
<osd enabled="yes" type="speed_warner" w="100" h="40" x="-300" y="-40" font_size="500" speed_exceed_limit_offset="15" speed_exceed_limit_percent="10" announce_on="1" background_color="#00000000" label="text_only" align="8"/>
<!-- Current Speed -->
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="-200" y="-40" font_size="500" w="150" h="40" align="0" background_color="#000000c8"/>
<!-- GPS Status -->
<osd enabled="yes" type="gps_status" x="-50" y="-40" w="50" h="40" background_color="#000000c8"/>

<!-- RIGHT CONTROLS -->
<!-- Fullscreen (shortcut: f)-->
<osd type="button" x="-80" y="100" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.xpm" use_overlay="1" accesskey="f" />
<!-- Zoom In (shortcut: =)-->
<osd type="button" x="-80" y="200" command="zoom_in()" src="zoom_in.xpm" use_overlay="1" accesskey="=" />
<!-- Scale -->
<osd enabled="yes" type="scale" x="-90" y="290" font_size="150" w="100" h="30" align="0"/>
<!-- Zoom Out (shortcut: -)-->
<osd type="button" x="-80" y="300" command="zoom_out()" src="zoom_out.xpm" use_overlay="1" accesskey="-" />
<!-- Zoom Route -->
<osd type="button" x="-80" y="380" command="zoom_to_route()" src="menu.xpm" />
<!-- Enable/Disable Routing Information (shortcut: i)-->
<osd type="button" x="-60" y="-100" command="osd_configuration=osd_configuration==1?2:1" src="/home/netbook/.navit/xpm/information_icon.xpm" use_overlay="1" accesskey="i" />
<!-- Enable/Disable 3D View (shortcut: SPACE) -->
<osd enabled="yes" type="button" command="pitch=pitch==0?20:0;orientation=pitch==0?0:-1;zoom=pitch==0?200:15" x="-140" y="-105" w="60" h="60" src="/home/netbook/.navit/xpm/navit_icon.xpm" use_overlay="1" accesskey=" " />
<!-- Enable/Disable Speech (shortcut: s) -->
<osd enabled="yes" type="button" command="speech.active=!speech.active" x="-200" y="-50" w="1" h="1" src="/home/netbook/.navit/xpm/transparent_rectangle.png" use_overlay="1" accesskey="s" />

Windows Mobile OSD Layouts

All these OSDs are developed for and tested with navit 0.2.0

Windows Mobile VGA 1

This OSD fits well for @480x640. The are still some minor issues beeing corrected soon.

WM VGA1 screen.png

<osd enabled="yes" type="text" label="${navigation.item.street_name} ${navigation.item.street_name_systematic}"    x="3"  y="3"  w="400" h="40" align="6" background_color="#00000000" font_size="250" />
<osd enabled="yes" type="text" label="->" x="3" y="44" w="40" h="40" align="6" background_color="#00000000" font_size="250" />
<osd enabled="yes" type="text" label="${navigation.item[1].street_name} ${navigation.item[1].street_name_systematic}" x="45" y="44" w="400" h="40" align="6" background_color="#00000000" font_size="250" />
<osd enabled="yes" type="navigation_next_turn" x="0" 	y="86"  w="110" h="90" align="12" icon_src="%s_wh_64_64.png" background_color="#00000000" /> 
<osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="0" y="178" w="110" h="40" align="12"  background_color="#00000000" font_size="250"/>
<osd enabled="yes" type="scale" x="0" y="210" w="114" h="30" font_size="150" background_color="#000000c8"/>
<osd enabled="yes" type="gps_status"       x="-50" y="8"   w="50" h="50" align="0" background_color="#00000000" font_size="200" />
<osd enabled="yes" type="button"           x="-50" y="68"  w="50" h="50" command="zoom_out()"      src="skins/WM_VGA1/zoom_out.png" background_color="#00000000"/>
<osd enabled="yes" type="toggle_announcer" x="-50" y="118" w="50" h="50" icon_src="$NAVIT_SHAREDIR/xpm/skins/WM_VGA1/%s.png" background_color="#00000000"/>
<osd enabled="yes" type="button"           x="-50" y="168" w="50" h="50" command="zoom_to_route()" src="skins/WM_VGA1/zoom_route.png" background_color="#00000000"/>
<osd enabled="yes" type="button"           x="-50" y="218" w="50" h="50" command="zoom_in()"       src="skins/WM_VGA1/zoom_in.png" background_color="#00000000"/>
<osd enabled="yes" type="text" label="ETA:"  x="3" y="-32" w="65" h="30" align="6"  background_color="#00000000" font_size="230" />
<osd enabled="yes" type="text" label="${navigation.item.destination_time[arrival]}"   x="72" y="-32" w="120" h="30" align="6"  background_color="#00000000" font_size="200" />
<osd enabled="yes" type="text" label="TL:"   x="3" y="-63" w="65" h="30" align="6"  background_color="#00000000" font_size="230" />
<osd enabled="yes" type="text" label="${navigation.item.destination_time[remaining]}" x="72" y="-63" w="120" h="30" align="6"  background_color="#00000000" font_size="200" />
<osd enabled="yes" type="text" label="Dist:" x="3" y="-94" w="65" h="30" align="6"  background_color="#00000000" font_size="230" />
<osd enabled="yes" type="text" label="${navigation.item.destination_length[named]}"   x="72" y="-94" w="120" h="30" align="6"  background_color="#00000000" font_size="200" />
<osd enabled="yes" type="text" label="${tracking.item.route_speed}" x="-114" y="-43"  align="12" w="112" h="40" background_color="#00000000" font_size="250"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}"    x="-114" y="-90" align="12" w="112" h="40" background_color="#00000000" font_size="250"/>
<osd enabled="yes" type="compass" font_size="0" x="283" y="-90" w="80" h="80" align="15" background_color="#00000000"/>
<osd enabled="yes" type="button" x="0" y="0" align="10" w="394" h="152"  command="" src="skins/WM_VGA1/top-left.png" />
<osd enabled="yes" type="button" x="-56" y="0" align="10" w="56" h="313"  command="" src="skins/WM_VGA1/top-right.png" />
<osd enabled="yes" type="button" x="0" y="-100" align="2"  command="" src="skins/WM_VGA1/bottom-left.png" />
<osd enabled="yes" type="button" x="-200" y="-100" align="2"  command="" src="skins/WM_VGA1/bottom-right.png" />

To install just add include the xml content into your navit.xml (just where all the default/deactivated osd elements are) and fix the paths to the pics. On HTC Touch Pro with WM 6.5 the screen resolution with daily build 3540, the resolution is 240x320. You have to apply the patch mentioned in http://trac.navit-project.org/ticket/554 or can download a svn build (2010-09-05) with patch included to run Navit with 480x640 pixels.


Dirk205's layout for landscape WVGA

This skin looks good on WVGA (800x480) devices (i.e. HTC HD2) in landscape mode. Portrait mode is not supported!


3D Skin Dirk205.png


My settings: 3D and full screen are active. Moreover, I added <vehicle name= ... follow="1"> to fix the car position on the screen. To install just add include the xml fragment into your navit.xml (replace all the default osd elements there) and extract the skin bitmaps with folder into folder $NAVIT_SHAREDIR/xpm/skins .

The shown 3D view has a view angle of 24 degrees, i.e. you need to patch your navit.xml at a appropriate menu position:

<img cond='navit.pitch==0' src='gui_map' onclick='navit.pitch=24; redraw_map();back_to_map()'> <text>3D</text> </img>

<img cond='navit.pitch!=0' src='gui_map' onclick='navit.pitch=0; redraw_map();back_to_map()'> <text>2D</text> </img>


3 remarks:

a) To enable landscape mode on a HTC HD2 you need a tool, can be done with the "BsB Tweaks"!

b) You need to have 64x64 sized navigation bitmaps (*wh_64_64.png) present in your xpm folder.

c) Scaler can work for 2D view only.


       <osd enabled="yes" type="button"     x="0"   y="0" command=""  src="skins/Dirk1/sky3.png" 
        background_color="#808080ff" />
       <osd enabled="yes" type="gps_status" x="750" y="3" w="50"  h="30" align="0"       background_color="#00000000"
        font_size="300" />
       <osd enabled="yes" type="scale"      x="0"   y="2" w="150" h="40" font_size="150" 
        background_color="#000000c8"/>
       <osd enabled="yes" type="text"  label="ETA: ${navigation.item.destination_time[arrival]}"        x="300"
        y="390"  w="180" h="70" align="4"  background_color="#00000000" font_size="250" />
       <osd enabled="yes" type="text"  label="Dist: ${navigation.item.destination_length[named]}"       x="300"
        y="430"  w="180" h="70" align="4"  background_color="#00000000" font_size="250" />
       <osd enabled="yes" type="text"  label="TL: ${navigation.item.destination_time[remaining]}"       x="505"
        y="390"  w="295" h="70" align="4"  background_color="#00000000" font_size="250" />
       <osd enabled="yes" type="text"  label="${vehicle.position_speed} - ${tracking.item.route_speed}" x="505"
        y="430"  w="295" h="70" align="4"  background_color="#00000000" font_size="250"/>
       <osd enabled="yes" type="navigation_next_turn" x="10" y="405" align="5" icon_src="%s_wh_64_64.png"
        background_color="#00000000" /> 
       <osd enabled="yes" type="text" label="${navigation.item[1].length[named]}" x="80" y="410"  w="185" h="85"
        align="4"  background_color="#00000000" font_size="535"/>
       <osd enabled="yes" type="button"  x="-53" y="100" command="zoom_in()"        src="skins/Dirk1/zoom_in.png"/>
       <osd enabled="yes" type="button"  x="-53" y="200" command="zoom_out()"       src="skins/Dirk1/zoom_out.png"/>
       <osd enabled="yes" type="button"  x="-53" y="300" command="zoom_to_route()"  src="skins/Dirk1/zoom_route.png"/>
       <osd enabled="yes" type="toggle_announcer"     x="  3" y="100"               icon_src="$NAVIT_SHAREDIR/xpm/skins/Dirk1/%s.png"  background_color="#00000000" />
       <osd enabled="yes" type="button"  x="0" y="-85" w="800" h="85" command=""    src="skins/Dirk1/bottom2.png" />

Asus Mypal A696 - QVGA 240x320


Windows Mobile 6.0 Classic, Display 3.5 inch QVGA 240x320. Layout is design for Landscape (horizontal) display orientation. This layout working well with 2D and 3D mode.

Navit0.2.0.png Navit0.2.0-2.png

Glossary:

In - distance to next turn, onto - next street name/number of road, eta - estimated time of arrival, tr - time remaining until destination is reached, t - vehicle position time, d - direction angle, on - currently on road name/number of road, alt - altitude, dr - route distance remaining, top left - scaller, bottom right - number of satellites used / number of satellites available,

add this to your navit.xml file:

<osd enabled="yes" type="compass" font_size="150" x="-80" y="-40" w="35" h="40" />
<osd enabled="yes" type="eta" /> 
<osd enabled="yes" type="navigation_distance_to_target" /> 
<osd enabled="yes" type="navigation" /> 
<osd enabled="yes" type="navigation_distance_to_next" /> 
<osd enabled="yes" type="navigation_next_turn" x="124" y="0" w="60" h="37" icon_src="%s_wh_32_32.png" /> 
<osd enabled="yes" type="gps_status" x="-45" y="-40" w="45" h="28"/> 
<osd enabled="yes" type="text" font_size="140" label="${vehicle.position_sats_used}/${vehicle.position_qual}" x="-45" y="-12" w="45" h="14" />
<osd enabled="yes" x="0" y="30" w="240" h="26" font_size="150" type="scale" />n
<osd type="text"  w="90" h="45" x="0" y="-40" label="${vehicle.position_speed[named]}" font_size="350" />
<osd enabled="yes" type="text" label="In  ${navigation.item[1].length[named]}" font_size="300" x="0" y="0"  w="124" h="22"/>
<osd enabled="yes" type="text" label="alt ${vehicle.position_height}m" x="90" y="-15" w="73" h="15"/>
<osd enabled="yes" type="text" label="on ${navigation.item.street_name}/${navigation.item.street_name_systematic}" font_size="248" x="90" y="-33" w="150" h="18"/>
<osd enabled="yes" type="text" label="onto ${navigation.item[1].street_name}/${navigation.item[1].street_name_systematic}" font_size="200" x="184" y="0"  w="136" h="22"/>
<osd enabled="yes" type="text" label="dr ${navigation.item.destination_length[named]}" x="163" y="-15"  w="77" h="15"/>
<osd enabled="yes" type="text" label="da ${vehicle.position_direction}" x="270" y="22" w="50" h="15"/>
<osd enabled="yes" type="text" label="eta ${navigation.item.destination_time[arrival]}" x="0" y="22" w="66" h="15"/>
<osd enabled="yes" type="text" label="tr ${navigation.item.destination_time[remaining]}" x="66" y="22" w="58" h="15"/>
<osd enabled="yes" type="text" label="t ${vehicle.position_time_iso8601[+01:00;%X]}" x="184" y="22" w="86" h="15"/>
<osd enabled="yes" type="text" label="${vehicle.position_coord_geo}" font_size="113" x="90" y="-40" w="150" h="7"/>
<osd enabled="yes" type="speed_warner" w="25" h="12"  x="0" y="-40"   font_size="248" speed_exceed_limit_offset="15" speed_exceed_limit_percent="10" announce_on="1" label="text_only"/>
<osd enabled="no" type="button" x="0" y="0" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.xpm"/> 
<osd enabled="no" type="button" x="-96" y="0" command="gui.menu()" src="menu.xpm"/>
<osd enabled="yes" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.xpm"/>
<osd enabled="yes" type="button" x="0" y="-96" command="zoom_out()" src="zoom_out.xpm"/> 

Palm Pre Layout

This is the current layout as it is used on the Palm Pre

NavitScreenshot.jpg

You can always find the current version of the skin files here: http://git.webos-internals.org/?p=preware/cross-compile.git;a=tree;f=packages/apps/navit/files/PreNav

To get the car cursor you need to replace the existing cursor definition in all layouts in your navit.xml with the 2D car alternate cursor.