4.2. Command interface
4.2.1. Commands
Commands available in the internal GUI:
Command |
Meaning |
|---|---|
|
Cancels navigation: The route is cleared and Navit switches to tracking mode. |
|
Displays the About screen. |
|
Returns to the previous menu page. |
|
Leaves the menu and returns to map view. |
|
Shows bookmarks. |
|
Shows list of former destinations. |
|
FIXME: description to be completed |
|
Shows locale information. |
|
FIXME: seems to bring up a dialog allowing the user to enter a message which will get written to the debug log; useful to mark a position in the log |
|
Brings up the menu (may be used
as |
|
Sets the attribute of an OSD item. The OSD item must have a name attribute matching the name parameter in the call. attr is the name of the attribute, and value is the new value. |
|
Displays POIs around given point, possibly filtering them by text string as it would be entered in POI filtering dialog. Second and third arguments may be omitted. |
|
Presents possible operations on
a position (set as current
location, set as destination
etc.). |
|
Closes Navit. |
|
Redraws the map view. |
|
Shows a turn-by-turn description of the active route when in navigation mode. |
|
Shows a height profile of the active route when in navigation mode. |
|
Presents a selection of available screen layouts. |
|
Presents a dialog to switch between available mapsets. |
|
Presents a dialog for setting various internal options. |
|
Presents a dialog for selecting the active vehicle. |
|
Launches the external program
specified by command,
passing it the parameters
specified as additional
arguments. This takes place in
a fire-and-forget fashion,
i.e. navit does not wait for
the program to finish or
evaluate its result.
Use as
gui.spawn()
when calling from an OSD item.FIXME: is the number of
parameters fixed or variable?
Limitations?
|
|
Presents a dialog for selecting an address, starting with a town. |
|
Writes an attribute. Used by the
GUI menu in conjunction with
|