X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/62525c73007d8cf1a3786887b61c904d379f80c9..0d744b77055336d6608c2d1f3aa9cbc11159ad31:/help/C/viking.xml diff --git a/help/C/viking.xml b/help/C/viking.xml index fda9aad1..3101c77a 100644 --- a/help/C/viking.xml +++ b/help/C/viking.xml @@ -334,8 +334,17 @@ Other function keys control turn on/off visibility of various elements: Standard shortcuts are provided for normal GUI operations: such as creating new files, opening, saving and exitting. -Then there are shortcuts specific to &appname; to switch projection modes, zoom in/out, create layers and switch the active tool mode. -For these combinations see the menu entry themselves. +Then there are shortcuts specific to &appname; to switch projection modes, zoom in/out, create layers,switch the active tool mode and move the map: + +Ctrl+Up Pan the viewport North +Ctrl+Right Pan the viewport East +Ctrl+Down Pan the viewport South +Ctrl+Left Pan the viewport West +Ctrl+Keypad+ Zoom In +Ctrl+Keypad- Zoom Out +These work irrespective of the mode selected + +For other combinations see the menu entry themselves. @@ -2781,7 +2790,7 @@ Accept: */* You can find more examples in the documentation part of the distribution.
Map Source - It is possible to add new map's sources. The file is ~/.viking/maps.xml for UNIX like systems and C:\Documents and Settings\username\.viking\maps.xml on Windows XP. + It is possible to add new map's sources. The file is ~/.viking/maps.xml for UNIX like systems, C:\Documents and Settings\username\.viking\maps.xml on Windows XP or C:\Users\username\.viking\maps.xml on Windows 7 onwards. An example of the file is in the distribution doc/examples/maps.xml. Further examples and values are online in the Maps Wiki The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. It supports the following properties: @@ -2790,6 +2799,10 @@ Accept: */* id this is an integer and should be unique as it used to identify the map source + + name + a string (should be unique) that is used for the OSM style cache directory name when the Map Cache directory is the default (~/.viking-maps) + label the text displayed in the map's source selection dialog @@ -2802,6 +2815,17 @@ Accept: */* url the parametrized address of the tile, in the spirit of C printf format, with 3 "%d" fields for Z, X and Y (in that order) (eg. "/%d/%d/%d.png") + + zoom-min (optional) + The minimum zoom value supported by the tile server. The Default is 0 if not specified. + + + zoom-max (optional) + + The maximum zoom value supported by the tile server. The Default is 18 if not specified. + See Zoom Levels + + switch-xy (optional) Swap the X,Y values around in the URL parametrized ordering.