Difference between revisions of "User:Korrosa"

From Navit's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
=OSM Layout=
 
=OSM Layout=
 
[http://wiki.navit-project.org/index.php/Layouts/mapnik Mapnik-style rendering]
 
[http://wiki.navit-project.org/index.php/Layouts/mapnik Mapnik-style rendering]
 +
 +
=Configuration=
 +
 +
{| style="border-style:solid;border-width:1px;border-color:#aaa;background: #FFFFFF;border-collapse: collapse;font-size: 95%;" border="1" cellpadding="4"
 +
|+ Navit configuration options
 +
|-
 +
! scope="col" | Tag
 +
! scope="col" | Attribute
 +
! scope="col" | Required
 +
! scope="col" | Value Type
 +
! scope="col" | Values
 +
! scope="col" | Notes
 +
! scope="col" | Example
 +
|-
 +
! scope="row" rowspan="3"| navit
 +
| center
 +
| align="center" | Y
 +
| coords
 +
| Either:<br /><tt>[D]DMM.SS[s][s] N/S [D][D]DMM.SS[s][s] E/W</tt> <br /> <tt>[-][D]D.d[d]... [-][D][D]D.d[d]...</tt>
 +
| Map will be centred at these coordinates on startup.
 +
| <tt><navit center="4808 N 1134 E"></tt>
 +
|-
 +
| tracking
 +
| Y
 +
| boolean
 +
| 0/1
 +
| When enabled (tracking="1"), the vehicle cursor will lock to the roads on the map. This is equivalent to selecting <tt>Settings -> Rules -> Lock on road</tt> in the internal gui.
 +
| <tt><navit tracking="1"></tt>
 +
|-
 +
| zoom
 +
| Y
 +
| integer
 +
| 1 to &infin;
 +
| Map will be zoomed in at this level on startup. 1 is zoomed in.
 +
| <tt><navit zoom="256"></tt>
 +
|}

Revision as of 13:02, 3 November 2010

OSM Layout

Mapnik-style rendering

Configuration

Navit configuration options
Tag Attribute Required Value Type Values Notes Example
navit center Y coords Either:
[D]DMM.SS[s][s] N/S [D][D]DMM.SS[s][s] E/W
[-][D]D.d[d]... [-][D][D]D.d[d]...
Map will be centred at these coordinates on startup. <navit center="4808 N 1134 E">
tracking Y boolean 0/1 When enabled (tracking="1"), the vehicle cursor will lock to the roads on the map. This is equivalent to selecting Settings -> Rules -> Lock on road in the internal gui. <navit tracking="1">
zoom Y integer 1 to ∞ Map will be zoomed in at this level on startup. 1 is zoomed in. <navit zoom="256">